-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (97 loc) · 1.76 KB
/
style.css
File metadata and controls
115 lines (97 loc) · 1.76 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
body {
background: #000;
color: #fff;
font: 1.5rem League Spartan;
font-weight: 900;
margin: 20px;
}
a {
color: #fff;
cursor: pointer;
text-decoration: none;
}
.hero {
display: grid;
align-content: center;
gap: 40px;
height: 100%;
justify-items: center;
}
#hero {
align-items: center;
display: flex;
font: 7rem League Spartan;
gap: 20px;
justify-content: center;
@media (500px >= width) {
display: grid;
font: 4rem League Spartan;
}
@media (1040px >= width > 500px) {
font: 5rem League Spartan;
}
}
.hero .tag .feels {
background: linear-gradient(120deg, black 0%, black 100%);
border-radius: 20px;
}
.hero .tag {
transform: scale(1);
transition: all 1s;
}
.hero:hover .tag {
transform: scale(1.02);
}
.hero:hover .tag .feels {
background: linear-gradient(
120deg,
#ff0000 0%,
#ff3300 20%,
#ff6600 40%,
#ff9900 60%,
#ffcc00 80%,
#ffff00 100%
);
transform: scale(1.2);
}
.hero .donut {
transform: scale(1);
transition: all 1s;
}
.hero:hover .donut {
transform: scale(1.2);
}
.hero .donut img {
height: 200px;
}
.hero .small {
font: 1.5rem League Spartan;
@media (500px >= width) {
font: 1.3rem League Spartan;
}
}
.links {
display: flex;
}
.link {
background: linear-gradient(
120deg,
#ff0000 0%,
#ff3300 20%,
#ff6600 40%,
#ff9900 60%,
#ffcc00 80%,
#ffff00 100%
);
border: solid 3px black;
border-radius: 20px;
outline: 0;
padding: 15px 25px;
transform: translateY(0px);
transition: all 1s;
}
.link:hover {
background: linear-gradient(120deg, black);
border-color: white;
transform: translateY(-10px);
}