-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
139 lines (137 loc) · 2.92 KB
/
style.css
File metadata and controls
139 lines (137 loc) · 2.92 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
*{
box-sizing: border-box;
}
:root{
--primary-color: hsl(0, 0%, 95%);
--secondary-color: hsla(0, 0%, 100%, 0.75);
--padding: 20px 29px 0px 39px;
--padding-2: 20px 69px 0px 39px;
}
h1{
font-size: 30px;
font-family: 'Big Shoulders Display', cursive;
color: var(--primary-color);
}
p{
font-family: 'Lexend Deca', sans-serif;
font-size: 15px;
color: var(--secondary-color);
}
button{
font-family: 'Lexend Deca', sans-serif;
text-decoration: none;
}
@media screen and (min-width: 320px), (max-width: 768px) {
main{
display: flex;
flex-direction: column;
}
.item-1{
background-color: hsl(31, 77%, 52%);
padding: var(--padding);
}
.item-1 h2{
margin-bottom: 29px;
}
.item-1 p{
margin-bottom: 29px;
}
.item-1 button{
color: hsl(31, 77%, 52%);
}
.item-1 button:hover{
background-color: hsl(31, 77%, 52%);
border: solid 2px var(--primary-color);
color: var(--primary-color);
}
.item-2{
background-color: hsl(184, 100%, 22%);
padding: var(--padding);
}
.item-2 h2{
margin-bottom: 29px;
}
.item-2 p{
margin-bottom: 29px;
}
.item-2 button{
color: hsl(184, 100%, 22%);
}
.item-2 button:hover{
background-color: hsl(184, 100%, 22%);
border: solid 2px var(--primary-color);
color: var(--primary-color);
}
.item-3{
background-color: hsl(179, 100%, 13%);
padding: var(--padding);
}
.item-3 h2{
margin-bottom: 29px;
}
.item-3 p{
margin-bottom: 29px;
}
.item-3 button{
color: hsl(179, 100%, 13%);
}
.item-3 button:hover{
background-color: hsl(179, 100%, 13%);
border: solid 2px var(--primary-color);
color: var(--primary-color);
}
button{
max-width: 150px;
min-width: 100px;
width: 100%;
height: 40px;
border: none;
border-radius: 20px;
margin-bottom: 40px;
}
}
@media screen and (min-width: 1024px), (min-width: 1440px) {
main{
display: flex;
flex-direction: row;
}
.item-1{
display: flex;
flex-direction: column;
padding: var( --padding-2);
}
.item-1 img{
max-width: 50px;
min-width: 40px;
width: 100%;
}
.item-1 p{
margin-bottom: 79px;
}
.item-2{
display: flex;
flex-direction: column;
padding: var( --padding-2);
}
.item-2 img{
max-width: 50px;
min-width: 40px;
width: 100%;
}
.item-2 p{
margin-bottom: 79px;
}
.item-3{
display: flex;
flex-direction: column;
padding: var( --padding-2);
}
.item-3 img{
max-width: 50px;
min-width: 40px;
width: 100%;
}
.item-3 p{
margin-bottom: 79px;
}
}