-
Notifications
You must be signed in to change notification settings - Fork 265
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (82 loc) · 1.55 KB
/
Copy pathstyle.css
File metadata and controls
97 lines (82 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@import url('https://fonts.googleapis.com/css?family=Advent+Pro|Coda');
/* font-family: 'Advent Pro', sans-serif; */
/* font-family: 'Coda', cursive; */
/* https://coolors.co/eae8ff-d8d5db-adacb5-2d3142-b0d7ff */
:root{
--primary:#EAE8FF;
--primaryDark:#2D3142;
--light:#D8D5DB;
--accent:#B0D7FF;
}
body{
margin:0;
background-color:var(--primaryDark);
color:var(--light);
text-align: center;
display:flex;
flex-direction: column;
height:100vh;
}
h1,h2{
font-family: 'Coda', cursive;
}
p{
font-family: 'Advent Pro', sans-serif;
}
header h1{
font-size: 40px;
}
header p{
font-size: 25px;
}
.card-container{
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
.card img{
height:300px;
width:300px;
}
.card{
width:500px;
padding: 25px;
border: solid 3px var(--light);
margin: 15px;
box-sizing: border-box;
transition:
border 500ms,
box-shadow 500ms;
}
.card:hover{
border: solid 3px var(--accent);
box-shadow: 5px 5px 20px -3px var(--accent);
}
footer{
margin-top: 50px;
background-color: var(--primary);
color: var(--primaryDark);
width: 100%;
flex: 1;
display:flex;
justify-content: center;
align-items: center;
}
@media(max-width: 1030px){
.card-container{
flex-direction: column;
align-items: center;
}
footer{
flex: 1 0 auto;
}
}
@media(max-width: 530px){
.card{
width:80%;
}
.card img{
width:80%;
height: initial;
}
}