-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
137 lines (117 loc) · 2.57 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
:root {
color-scheme: light dark;
}
@media (prefers-color-scheme: light) {
:root {
--background-color: #fafafa;
--text-color: black;
--link-color: #00e;
--contents-box-shadow: grey;
--hero-button-box-shadow: black;
--hero-button-background: #fffb;
--hero-button-text-color: black;
}
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #1b1b1b;
--text-color: #fbfbfe;
--link-color: #8c8cff;
--contents-box-shadow: black;
--hero-button-box-shadow: white;
--hero-button-background: #000b;
--hero-button-text-color: white;
}
}
body {
margin: 0px;
background-color: var(--background-color);
}
body:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0px;
z-index: -1;
background-size: 60px 60px;
background-position: -10px -10px;
background-image:
linear-gradient(to right, grey 1px, transparent 1px),
linear-gradient(to bottom, grey 1px, transparent 1px);
filter:
drop-shadow( 5px 5px 5px grey );
}
a:link,a:visited {
text-decoration: none;
color: var(--link-color);
}
a:hover {
text-decoration: underline;
}
#logo {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 80px;
}
@media (min-width: 520px) {
#hero-links {
flex-direction: row;
}
}
@media (max-width: 520px) {
#hero-links {
flex-direction: column;
}
}
#hero-links {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
}
#hero-links > div {
background-color: var(--hero-button-background);
border: 2px white solid;
border-radius: 8px;
box-shadow: 0px 0px 4px var(--hero-button-box-shadow);
padding: 4px 4px 0px 4px;
height: 100%;
transition-duration: 0.2s;
transition-property: box-shadow;
}
#hero-links div:hover {
box-shadow: 0px 0px 16px var(--hero-button-box-shadow);
}
#hero-links p {
float: right;
color: var(--hero-button-text-color);
margin: 0px 0px 0px 4px;
font-size: 24px;
}
#hero-links img {
height: 32px;
}
#contents {
background-color: var(--background-color);
box-shadow: 0px -5px 5px var(--contents-box-shadow);
}
#contents {
text-align: center;
min-height: 100vh;
}
#screenshots {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 10px;
}
#screenshots img {
width: 100%;
max-width: 1080px;
margin: 20px 10px 0px 10px;
}
#screenshots p {
margin-top: 0px;
}