-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
117 lines (94 loc) · 1.95 KB
/
index.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
* {
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.content {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
height: 450px;
max-width: 800px;
border-radius: 10px;
overflow: hidden;
}
.box-1 {
background-color: hsl(31, 77%, 52%);
padding: 35px;
}
.box-2 {
background-color: hsl(184, 100%, 22%);
padding: 35px;
}
.box-3 {
background-color: hsl(179, 100%, 13%);
padding: 35px;
}
.text-content {
margin-top: 25px;
margin-bottom: 50px;
}
.title {
color: hsl(0, 0%, 95%);
text-transform: uppercase;
font-family: 'Big Shoulders Display', cursive;
margin-bottom: 25px;
}
.subtitle {
color: hsla(0, 0%, 100%, 0.75);
line-height: 20px;
font-family: 'Lexend Deca', sans-serif;
}
a {
font-family: 'Lexend Deca', sans-serif;
text-decoration: none;
padding: 16px 35px;
border-radius: 35px;
}
a.link-1 {
background-color: hsl(0, 0%, 95%);
color: hsl(31, 77%, 52%);
}
.link-1:hover {
background-color: hsl(31, 77%, 52%);
color: hsl(0, 0%, 95%);
border-color: hsl(0, 0%, 95%);
border-width: 5px;
border: solid;
}
a.link-2 {
background-color: hsl(0, 0%, 95%);
color: hsl(184, 100%, 22%);
}
.link-2:hover {
background-color: hsl(184, 100%, 22%);
color: hsl(0, 0%, 95%);
border-color: hsl(0, 0%, 95%);
border-width: 5px;
border: solid;
}
a.link-3 {
background-color: hsl(0, 0%, 95%);
color: hsl(179, 100%, 13%);
}
.link-3:hover {
background-color: hsl(179, 100%, 13%);
color: hsl(0, 0%, 95%);
border-color: hsl(0, 0%, 95%);
border-width: 5px;
border: solid;
}
@media only screen and (max-width: 425px) {
.content {
grid-template-columns: 1fr;
width: 87%;
height: 1200px;
padding: 12%;
border-radius: 10px;
}
}