blob: 1521b48809f6de084e8e2c380e253a52e7a0204e (
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
49
50
51
52
53
54
55
|
/* Copyright © 2014 Luke Shumaker <lukeshu@sbcglobal.net>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the ./COPYING file for more details.
*/
@import url('https://www.parabola.nu/static/archweb.css');
/* generic */
td {
font: 1.2em monospace;
height: 24px;
vertical-align: middle;
padding-left: 4px;
}
td.number {
text-align: right;
}
tr:hover {
box-shadow: inset 0 0 0 1px #bcd;
}
/* Make room for a 16x16 icon on the left, with 4px padding between it
* and the text. */
td a:first-of-type {
margin-left: 20px;
}
td a:first-of-type::before {
width: 16px;
height: 16px;
margin-left: -20px;
margin-right: 4px;
}
/* generic inode information ---------------------------------------- */
tr.hidden { /*opacity: 0.5;*/ display: none; }
tr.dir a::after { content: "/"; }
tr.dir a:first-of-type::before { content: url("dir.png"); }
tr.dir.parent a:first-of-type::before { content: url("parent.png"); }
tr.link a:first-of-type::before { content: url("link.png"); }
tr.file a:first-of-type::before { content: url("file.png"); }
/* domain-specific information -------------------------------------- */
tr.dir.repo a:first-of-type::before { content: url("repo.png"); }
tr.arch td { background:#7fc3e5; }
tr.para td { background:#9fa6e3; }
tr.community { /* TODO: we should indicate this somehow */ }
/* file extension information --------------------------------------- */
tr.file.pkg.tar a:first-of-type::before { content: url("pkg.png"); }
tr.file.iso a:first-of-type::before { content: url("iso.png"); }
tr.file.tar a:first-of-type::before { content: url("tar.png"); }
tr.file.txt a:first-of-type::before { content: url("txt.png"); }
tr.file.torrent a:first-of-type::before { content: url("torrent.png"); }
|