From 4de556b6f5206884d14cdca30c1816605fd8213f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 28 May 2013 22:11:09 +0100 Subject: Ugly rules to style config page. --- !NetSurf/Resources/internal.css,f79 | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/!NetSurf/Resources/internal.css,f79 b/!NetSurf/Resources/internal.css,f79 index 819c19fa2..96ea65fe1 100644 --- a/!NetSurf/Resources/internal.css,f79 +++ b/!NetSurf/Resources/internal.css,f79 @@ -164,15 +164,34 @@ body#dirlist span.size + span.size { * configuration listing style */ -body#configlist table.config th { - text-align: left; } +body#configlist table.config { + border-spacing: 0; } + +body#configlist table.config tr:nth-child(2n-1) { + background: #eee; } -body#configlist table.config td { +body#configlist table.config tr:first-child th { + text-align: left; + font-weight: bold; + font-family: sans-serif; + background: #ddd; } + +body#configlist table.config tr th { + text-align: left; + font-weight: normal; + font-family: monospace; } + +body#configlist table.config td, body#configlist table.config th { padding-left: 1em; } -body#configlist table.config td + td { +body#configlist table.config tr *:nth-child(3) { padding-left: 3em; } +body#configlist table.config tr *:nth-child(4) { + padding-left: 3em; + font-family: monospace; + padding-right: 1em; } + body#configlist .null-content { font-style: italic; } -- cgit v1.2.3