-
Notifications
You must be signed in to change notification settings - Fork 12
/
style.css
81 lines (74 loc) · 1.43 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
button {
display: block;
width: 200px;
margin: 10px 0;
padding: 10px;
border: none;
border-radius: 8px;
background-color: #f5057b;
color: #ffffff;
font-size: 16px;
cursor: pointer;
transition: background-color 0.1s;
}
button:hover {
background-color: #7264e8;
box-shadow: inset 0 0 0 1px #ffffff;
scale: 1.05;
}
a {
display: block;
width: 200px;
margin: 10px 0;
padding: 10px;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.1s;
text-align: center;
text-decoration: none;
}
hr {
width: 100%;
}
body {
display: flex;
flex-direction: column;
align-items: center;
width: 250px;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #191919;
}
a {
background-color: #ffffff !important;
color: #191919 !important;
border: 1px solid #ffffff !important;
}
a:hover {
background-color: #7264e8 !important;
color: #ffffff !important;
scale: 1.05;
}
}
@media (prefers-color-scheme: light) {
body {
background-color: #ffffff !important;
}
a {
background-color: #ffffff !important;
color: #191919 !important;
border: 1px solid #191919 !important;
}
a:hover {
background-color: #7264e8 !important;
color: #ffffff !important;
scale: 1.05;
}
}
a.downloadLink:hover img {
/* style rules for the img element inside the downloadLink element when it is hovered */
background-image: url('download-dark.png') !important;
transition: background-image 0.1s;
}