-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
107 lines (89 loc) · 1.71 KB
/
styles.css
File metadata and controls
107 lines (89 loc) · 1.71 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Lexend Deca', sans-serif;
background-color: hsl(0, 0%, 95%);
min-height: 100vh;
display: flex;
align-items: center;
font-size: 15px;
font-weight: 400;
}
.main_container {
max-width: 960px;
margin: 0 auto;
}
.box_container {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
border-radius: 12px;
overflow: hidden;
margin: 2rem;
}
.box1 {
background-color: hsl(31, 77%, 52%);
}
.box2 {
background-color: hsl(184, 100%, 22%);
}
.box3 {
background-color: hsl(179, 100%, 13%);
}
.box {
padding: 40px;
}
.box h2 {
font-family: 'Big Shoulders Display', cursive;
text-transform: uppercase;
color: hsl(0, 0%, 95%);
font-size: 30px;
margin-top: 20px;
}
.box p {
color: hsla(0, 0%, 100%, 0.75);
line-height: 1.6;
margin-top: 20px;
margin-bottom: 60px;
}
.box a {
text-decoration: none;
background-color: hsl(0, 0%, 95%);
padding: 13px 27px;
border-radius: 26px;
display: inline-block;
border: 2px solid hsl(0, 0%, 95%);
}
.box1 a {
color: hsl(31, 77%, 52%);
}
.box1 a:hover {
background-color: hsl(31, 77%, 52%);
color: hsl(0, 0%, 95%);
}
.box2 a {
color: hsl(184, 100%, 22%);
}
.box2 a:hover {
background-color: hsl(184, 100%, 22%);
color: hsl(0, 0%, 95%);
}
.box3 a {
color: hsl(179, 100%, 13%);
}
.box3 a:hover {
background-color: hsl(179, 100%, 13%);
color: hsl(0, 0%, 95%);
}
@media only screen and (max-width: 768px) {
.box_container {
grid-template-columns: 1fr;
}
}
@media only screen and (max-width: 425px) {
.box_container {
margin: 2rem .5rem;
}
}