blob: 7ba1aff25c1a13208a17da49fda1726a44d0be4d (
plain)
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
|
#downloads {
display: flex;
flex-direction: column;
}
#downloads>ul {
margin: 0;
list-style: square;
}
code {
background-color: var(--background-dim);
padding: 1px 4px;
border-radius: 4px;
}
/*
#ifdef FLOAT_HELL
#define FLOAT_HELL
this is so i can have the downloads section float to the right on wide screens,
but shove it at the bottom on narrow screens.
*/
#float-hell {
display: block;
}
#downloads {
float: right;
width: 33%;
margin-left: 0.5rem;
}
@media (max-width: 30rem) {
#float-hell {
display: grid;
grid-template-rows: 1fr;
}
#downloads {
grid-row-start: 100;
width: 100%;
margin-left: none;
}
}
/*#endif //FLOAT_HELL*/
|