-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (101 loc) · 2.12 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
:root {
--first-col-bg: hsl(31, 77%, 52%);
--second-col-bg: hsl(184, 100%, 22%);
--third-col-bg: hsl(179, 100%, 13%);
--paragraph: hsla(0, 0%, 100%, 0.75);
--background-headings-buttons: hsl(0, 0%, 95%);
}
*, *::after, *::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
img {
display: block;
}
body {
font-size: .95rem;
font-family: 'Big Shoulders Display', sans-serif;
font-family: 'Lexend Deca', sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
main {
display: flex;
flex-direction: column;
width: 350px;
border-radius: 10px;
overflow: hidden;
}
.col {
padding: 3rem 1.8rem 3rem 2.6rem;
}
.first-col {
background-color: var(--first-col-bg);
}
.second-col {
background-color: var(--second-col-bg);
}
.third-col {
background-color: var(--third-col-bg);
}
.icon-img {
width: 64px;
height: auto;
margin-bottom: 2rem;
}
.icon-img img {
width: 100%;
height: auto;
}
h2 {
color: var(--background-headings-buttons);
font-size: 2.5rem;
text-transform: uppercase;
font-family: 'Big Shoulders Display', sans-serif;
margin: 1rem 0;
font-weight: 400;
}
p {
color: var(--paragraph);
margin: 1.5rem 3.3rem 1.5rem 0;
line-height: 1.5;
}
button {
background-color: var(--background-headings-buttons);
border: none;
padding: 1rem 2.5rem;
border-radius: 2rem;
color: var(--first-col-bg);
}
.second-col button {
color: var(--second-col-bg);
}
.third-col button {
color: var(--third-col-bg);
}
@media screen and (min-width: 889px) {
main {
/* min-width: 80vw; */
flex-direction: row;
width: 889px;
}
.col {
padding: 3rem 1.8rem 3rem 2.6rem;
}
p {
margin-right: 1rem;
}
button {
margin-top: 4rem;
border: 2px solid var(--background-headings-buttons);
}
button:hover {
border: 2px solid var(--background-headings-buttons);
background-color: inherit;
color: var(--paragraph);
cursor: pointer;
}
}