-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (63 loc) · 1.09 KB
/
style.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
69
70
71
72
73
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
background-color: #ffffff;
font-family: "Mukta Mahee", sans-serif;
}
header {
display: flex;
flex-direction: column;
align-items: center;
margin: 2rem;
}
h1 {
font-size: 6rem;
color: #ff4ab3;
}
header p {
font-size: 3rem;
margin-bottom: 2rem;
}
nav li {
list-style: none;
display: inline;
margin: 2rem;
}
nav a {
text-decoration: none;
color: black;
}
img {
max-width: 1060px;
max-height: 400px;
object-fit: contain;
}
.container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 2fr));
justify-content: space-between;
grid-gap: 10px;
}
.model {
display: flex;
flex-direction: column-reverse;
object-fit: contain;
border: 1px solid black;
padding: 0.5rem;
}
.model-name {
font-size: 3rem;
text-transform: uppercase;
color: #ff4ab3;
order: 1;
text-align: center;
border-bottom: 1px solid black;
}
.model-description {
font-size: 2rem;
line-height: 1;
text-align: center;
}