-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (90 loc) · 1.61 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
p {
color: hsla(0, 0%, 100%, 0.75);
font-family: 'Lexend Deca', sans-serif;
min-width: 100px;
max-width: 100px;
}
h1 {
color: hsl(0, 0%, 95%);
font-family: 'Big Shoulders Display', cursive;
}
body {
background-color: hsl(0, 0%, 95%);
margin: 25%;
}
button {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
background-color: hsl(0, 0%, 95%);
font-family: 'Lexend Deca', sans-serif;
border-radius: 8px;
height: 40px;
max-width: 300px;
}
button:hover {
background-color: hsl(0, 0%, 80%);
color: hsl(0, 0%, 20%);
}
.first-block {
background-color: hsl(31, 77%, 52%);
}
.second-block {
background-color: hsl(184, 100%, 22%);
}
.third-block {
background-color: hsl(179, 100%, 13%);
}
.first-block button {
color: hsl(31, 77%, 52%);
}
.second-block button {
color: hsl(184, 100%, 22%);
}
.third-block button {
color: hsl(179, 100%, 13%);
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
.container {
display: flex;
justify-content: center;
align-items: center;
width: 80%;
}
.first-block,
.second-block,
.third-block {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 30px;
}
@media only screen and (max-width: 699px) {
.container {
flex-direction: column;
}
.first-block,
.second-block,
.third-block {
flex-basis: 100%;
}
}
@media only screen and (min-width: 700px) {
.container {
flex-direction: row;
justify-content: space-around;
}
.first-block,
.second-block,
.third-block {
flex-basis: 30%;
}
}