-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
113 lines (103 loc) · 1.74 KB
/
styles.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
* {
box-sizing: border-box;
}
a {
color: #ffffff;
text-decoration: none;
}
body,
html {
display: flex;
justify-content: center;
align-items: center;
color: #ffffff;
background-color: #222222;
font-family: 'Lato', sans-serif;
font-style: normal;
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
.content {
position: relative;
max-width: 800px;
padding: 10px;
font-weight: 700;
font-size: 40px;
}
.title {
display: block;
padding: 20px 0;
}
.link,
.text {
position: relative;
z-index: 100;
}
.link--quizup,
.link--wowair,
.link--viska {
text-decoration: line-through;
}
.link::after {
content: '';
position: absolute;
left: 0;
bottom: -3px;
width: 100%;
height: 5px;
background-color: #ffffff;
transform: scale3d(0, 1, 1);
transition: all ease-in-out 200ms;
}
.link:hover::after {
transform: scale3d(1, 1, 1);
}
.backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0;
transition: all ease-in-out 200ms;
}
.link:hover ~ .backdrop {
opacity: 0.9;
}
.link--quizup:hover ~ .backdrop {
background-color: #ff5454;
}
.link--wowair:hover ~ .backdrop {
background-color: #99258d;
}
.link--viska:hover ~ .backdrop {
background-color: #ea4f3d;
}
.link--avo:hover ~ .backdrop {
background-color: #ec008c;
}
.link--flytime:hover ~ .backdrop {
background-color: #ff5722;
}
.link--hibyli:hover ~ .backdrop {
background-color: #4a90e2;
}
.link--eldsneyti:hover ~ .backdrop {
background-color: #00b5d9;
}
.link--jolasveinar:hover ~ .backdrop {
background-color: #043f5e;
}
.link--timerr:hover ~ .backdrop {
background-color: #333a42;
}
@media (max-device-width: 700px) {
.content {
font-size: 30px;
}
.link::after {
transform: scale3d(1, 1, 1);
}
}