-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (68 loc) · 1.49 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
body {
display: flex;
background-color: rgb(65, 65, 65);
color: white;
font-family: JetBrains Mono;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 10px;
}
header {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
border: 1px solid white;
border-radius: 10px;
margin-bottom: 30px;
padding: 10px;
text-align: center;
}
header > * { margin: 5px; }
header > h1 { font-weight: lighter; }
button {
padding: 10px;
border-radius: 10px;
border: none;
}
button:hover { background-color: rgb(201, 201, 201); }
button:active { background-color: rgb(139, 139, 139); }
.files {
width: 100%;
border: 1px solid white;
border-radius: 10px;
padding: 10px 5px;
display: grid;
grid-template-columns: repeat( auto-fill, minmax(200px, 1fr) );
column-gap: 5px;
row-gap: 10px;
align-items: center;
list-style-type: none;
}
@media (max-width: 300px) {
.files {
grid-template-columns: auto;
}
.files > li:hover { opacity: 1; }
}
.files > li {
height: 100%;
border: 1px solid white;
border-radius: 10px;
padding: 2px;
text-align: center;
background-color: rgba(18, 18, 18, 0.2);
}
.files > li:hover { opacity: 0.5; }
.files > li > a {
margin: 0px;
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
text-decoration: none;
color: white;
}