diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-13 10:56:00 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-13 10:56:00 +0000 |
commit | c92f19c9320abd9bd8a3940cf437c92af0eb558e (patch) | |
tree | 2287d1f4974ab31d101070135528ce3215d43725 /!NetSurf/Resources | |
parent | d945884cb11d347e27804bba402c28a6129fd099 (diff) | |
download | netsurf-c92f19c9320abd9bd8a3940cf437c92af0eb558e.tar.gz netsurf-c92f19c9320abd9bd8a3940cf437c92af0eb558e.tar.bz2 |
Move directory listing CSS to resource:internal.css.
svn path=/trunk/netsurf/; revision=12017
Diffstat (limited to '!NetSurf/Resources')
-rw-r--r-- | !NetSurf/Resources/internal.css,f79 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/!NetSurf/Resources/internal.css,f79 b/!NetSurf/Resources/internal.css,f79 index 1a6c3ac9b..a5923fe33 100644 --- a/!NetSurf/Resources/internal.css,f79 +++ b/!NetSurf/Resources/internal.css,f79 @@ -98,3 +98,64 @@ dd > ul { border-top: 2px solid #94adff; } +/* + * Directory Listing Style + */ + +body#dirlist { + background-color: #abf; + padding-bottom: 2em; } + +body#dirlist h1 { + padding: 5mm; + margin: 0; + border-bottom: 2px solid #bcf; } + +body#dirlist p { + padding: 2px 5mm; + margin: 0; } + +body#dirlist div { + display: table; + width: 94%; + margin: 5mm auto 2em auto; + padding: 0; } + +body#dirlist a, strong { + display: table-row; + margin: 0; + padding: 0; } + +body#dirlist a.odd { + background-color: #bcf; } + +body#dirlist a.even { + background-color: #b2c3ff; } + +body#dirlist span { + display: table-cell; } + +body#dirlist em > span { + padding-bottom: 1px; } + +body#dirlist a + a>span { + border-top: 1px solid #9af; } + +body#dirlist span.name { + padding-left: 22px; + min-height: 19px;} + +body#dirlist a.dir > span.name { + font-weight: bold; } + +body#dirlist a.dir > span.type { + font-weight: bold; } + +body#dirlist span.size { + text-align: right; + padding-right: 0.3em; } + +body#dirlist span.size + span.size { + text-align: left; + padding-right: 0; } + |