dirListing.css (1650B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 :root { 6 background-color: #181411; 7 color: #bfbbb6; 8 font: message-box; 9 padding-left: 2em; 10 padding-right: 2em; 11 } 12 13 body { 14 border: 1px solid rgb(64,64,64); 15 border-radius: 10px; 16 padding: 3em; 17 min-width: 30em; 18 max-width: 65em; 19 margin: 4em auto; 20 background-color: #181411; 21 color: #bfbbb6; 22 } 23 24 h1 { 25 font-size: 160%; 26 margin: 0 0 .6em; 27 border-bottom: 1px solid rgb(64,64,64); 28 font-weight: normal; 29 } 30 31 a { 32 text-decoration: none; 33 color: #bfbbb6; 34 } 35 36 a:hover { 37 text-decoration: underline; 38 } 39 40 p { 41 font-size: 110%; 42 } 43 44 #UI_goUp { 45 margin-top: 0; 46 float: left; 47 } 48 49 #UI_goUp:-moz-dir(rtl) { 50 float: right; 51 } 52 53 #UI_showHidden { 54 margin-top: 0; 55 float: right; 56 } 57 58 #UI_showHidden:-moz-dir(rtl) { 59 float: left; 60 } 61 62 table { 63 clear: both; 64 width: 90%; 65 margin: 0 auto; 66 } 67 68 thead { 69 font-size: 130%; 70 } 71 72 /* last modified */ 73 th:last-child { 74 text-align: center; 75 } 76 77 th:hover > a { 78 text-decoration: underline; 79 } 80 81 tbody > tr:hover { 82 outline: 1px solid rgb(75,75,75); 83 -moz-outline-radius: .3em; 84 } 85 86 /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ 87 td:not(:first-child) { 88 width: 0; 89 } 90 91 .up { 92 padding: 0 .5em; 93 margin-inline-start: 20px; 94 } 95 96 .up::before { 97 margin-inline-end: 4px; 98 margin-inline-start: -20px; 99 vertical-align: middle; 100 content: url(chrome://global/skin/dirListing/up.png); 101 } 102 103 .dir::before { 104 content: url(chrome://global/skin/dirListing/folder.png); 105 } 106