-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
58 lines (50 loc) · 918 Bytes
/
main.css
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
/* ******* GLOBAL ******* */
* {
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
body{
background-color: whitesmoke;
}
/* ******* HEADER ******* */
nav {
display: flex;
justify-content: center;
margin: 2rem 0 3rem;
}
nav li p{
font-family: 'Montserrat', sans-serif;
font-size: 2rem;
font-weight: 400;
text-align: center;
}
nav li p span{
font-weight: 700;
}
/* ******* MAIN ******* */
main{
display:flex;
flex-flow: row wrap;
justify-content: space-around;
}
.card{
max-width: 325px;
flex: 1;
margin-bottom: 2rem;
border-radius: 8px;
box-shadow: 2px 2px 5px rgb(63, 63, 63);
}
.card a {
text-decoration: none;
color: royalblue;
text-align: center;
}
.card img {
width: 325px;
height: auto;
margin-bottom: 1rem;
border-radius: 8px 8px 0 0;
}
.card span, .card p{
margin: 1rem 1rem;
}