-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (99 loc) · 2.18 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap");
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
padding: 15px;
min-height: 100vh;
background-color: hsl(0, 0%, 95%);
}
body main {
display: grid;
border-radius: 10px;
overflow: hidden;
}
body main section {
position: relative;
padding: 60px 60px 110px 60px;
}
body main section h3 {
font-family: "Big Shoulders Display", cursive;
font-size: 40px;
text-transform: uppercase;
color: hsl(0, 0%, 95%);
}
body main section p {
line-height: 26px;
font-size: 15px;
color: hsla(0, 0%, 100%, 0.75);
}
body main section button {
position: absolute;
bottom: 50px;
background-color: hsl(0, 0%, 95%);
border: 2px solid hsl(0, 0%, 95%);
width: 140px;
height: 50px;
border-radius: 50px;
cursor: pointer;
transition-duration: 0.2s;
}
body main section p, body main section button {
font-family: "Lexend Deca", sans-serif;
}
body main section button:hover {
background-color: hsla(0, 0%, 0%, 0);
color: hsl(0, 0%, 95%) !important;
}
body main section.sectionSedans {
background-color: hsl(31, 77%, 52%);
}
body main section.sectionSedans button {
color: hsl(31, 77%, 52%);
}
body main section.sectionSuvs {
background-color: hsl(184, 100%, 22%);
}
body main section.sectionSuvs button {
color: hsl(184, 100%, 22%);
}
body main section.sectionLuxury {
background-color: hsl(179, 100%, 13%);
}
body main section.sectionLuxury button {
color: hsl(179, 100%, 13%);
}
@media screen and (min-width: 600px) {
body main {
grid-template-columns: auto auto;
}
body main section.sectionLuxury {
grid-column: 1/3;
}
}
@media screen and (min-width: 900px) {
body main {
grid-template-columns: auto auto auto;
}
body main section {
max-width: 300px;
height: 550px;
}
body main section.sectionLuxury {
grid-column: auto;
}
}
body .attribution {
position: fixed;
bottom: 0;
font-size: 11px;
text-align: center;
}
body .attribution a {
color: hsl(228, 45%, 44%);
}
/*# sourceMappingURL=style.css.map */