forked from OpenClassrooms-Student-Center/7697016-Front-End
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
68 lines (63 loc) · 1 KB
/
styles.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
58
59
60
61
62
63
64
65
66
67
68
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
body {
max-width: 1200px;
margin: auto;
padding: 16px;
font-family: 'Montserrat', sans-serif;
}
header {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 16px;
padding: 8px;
background-color: #7451eb;
text-align: center;
color: white;
}
header img {
height: 60px;
margin-left: 1rem;
}
header h1 {
flex-grow: 1;
}
main {
display: flex;
flex-direction: row;
}
.filtres {
border-radius: 4px;
box-shadow: 0px 0px 4px gray;
margin: 8px;
padding: 8px;
min-width: 300px;
min-height: 400px;
}
.filtres h3 {
text-align: center;
}
.fiches {
flex: 1;
margin: 8px;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
}
.fiches article {
border: 1px solid black;
padding: 4px;
}
.fiches article img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 200px;
}
.fiches article p {
margin-top: 4px;
margin-bottom: 4px;
}
.fiches article h2 {
text-align: center;
}