From 2f201dee7f1eca137b27159723dca2337e76d3ca Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 17 Aug 2013 20:33:23 +0200 Subject: [PATCH] web: css whitespace fixes. Indentation was rather inconsistent. --- web/gitweb.css | 6 +-- web/para.css | 143 ++++++++++++++++++++++++++++++++----------------- 2 files changed, 97 insertions(+), 52 deletions(-) diff --git a/web/gitweb.css b/web/gitweb.css index 08110a6e..1a9a2350 100644 --- a/web/gitweb.css +++ b/web/gitweb.css @@ -1,11 +1,10 @@ body { font-family: sans-serif; font-size: small; - /*border: solid #d9d8d1;*/ border-width: 1px; margin: 0px; padding: 10px; - background-color: black; + background-color: black; color: #cccccc; height: 100%; } @@ -32,7 +31,6 @@ img.logo { } div.page_header { - /*height: 10px;*/ padding: 8px; font-size: 150%; font-weight: bold; @@ -283,7 +281,7 @@ table.diff_tree span.file_status.mode_chnge { } table.diff_tree span.file_status.copied { - color: #70a070; + color: #70a070; } /* noage: "No commits" */ diff --git a/web/para.css b/web/para.css index 42687835..cc071a91 100644 --- a/web/para.css +++ b/web/para.css @@ -24,28 +24,58 @@ A.qindex { font-weight: bold; color: #cc3322; } + A.qindex:visited { text-decoration: none; font-weight: bold; color: #cc3322 } + A.qindex:hover { text-decoration: none; background-color: #ffff00; } -A.el { text-decoration: none; font-weight: bold } +A.el { + text-decoration: none; + font-weight: bold +} + A.elRef { font-weight: bold } -A.code:link { text-decoration: none; font-weight: normal; color: #BA3708} -A.code:visited { text-decoration: none; font-weight: normal; color: #BA3708} -A.codeRef:link { font-weight: normal; color: #BA3708} -A.codeRef:visited { font-weight: normal; color: #BA3708} -A:hover { text-decoration: none; background-color: #ffff00 } + +A.code:link { + text-decoration: none; + font-weight: normal; + color: #BA3708 +} + +A.code:visited { + text-decoration: none; + font-weight: normal; + color: #BA3708 +} + +A.codeRef:link { + font-weight: normal; + color: #BA3708 +} + +A.codeRef:visited { + font-weight: normal; + color: #BA3708 +} + +A:hover { + text-decoration: none; + background-color: #ffff00 +} + DL.el { margin-left: -1cm } .fragment { font-family: Fixed, monospace; font-size: 95%; } + PRE.fragment { border: 1px solid #CCCCCC; background-color: #351505; @@ -75,7 +105,11 @@ DIV.groupHeader { font-weight: bold; } -DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } +DIV.groupText { + margin-left: 16px; + font-style: italic; + font-size: 90% +} BODY { background: black; @@ -114,7 +148,7 @@ TD.indexvalue { } TR.memlist { - background-color: #112244; + background-color: #112244; } P.formulaDsp { text-align: center; } IMG.formulaDsp { } @@ -126,12 +160,14 @@ IMG.formulaInl { vertical-align: middle; } padding: 0px 8px 4px 8px; margin: 0px; } + .mdescRight { /* Short description */ padding: 0px 8px 4px 8px; font-size: 100%; font-style: italic; margin: 0px; } + .memItemLeft { /* return value */ color: #ffffff; border-top-color: #ffff00; @@ -144,6 +180,7 @@ IMG.formulaInl { vertical-align: middle; } border-left-style: none; font-size: 100%; } + .memItemRight { /* function declaration */ color: #ffffff; border-top-color: #ffff00; @@ -157,19 +194,24 @@ IMG.formulaInl { vertical-align: middle; } font-size: 100%; } -.search { color: #f03309; - font-weight: bold; +.search { + color: #f03309; + font-weight: bold; } + FORM.search { - margin-bottom: 0px; - margin-top: 0px; + margin-bottom: 0px; + margin-top: 0px; } -INPUT.search { font-size: 75%; - color: #800000; - font-weight: normal; - background-color: #000000; + +INPUT.search { + font-size: 75%; + color: #800000; + font-weight: normal; + background-color: #000000; } -TD.tiny { + +TD.tiny { font-size: 75%; } @@ -181,64 +223,69 @@ a { a:visited { color: #cc3322; } + .dirtab { padding: 4px; border-collapse: collapse; border: 1px solid #84b007; } -TH.dirtab { background: #080e02; - font-weight: bold; + +TH.dirtab { + background: #080e02; + font-weight: bold; } -HR { height: 1px; - border: none; - border-top: 1px solid yellow; + +HR { + height: 1px; + border: none; + border-top: 1px solid yellow; } /* Style for detailed member documentation */ .memtemplate { - font-size: 100%; - color: #cccccc; - font-weight: normal; + font-size: 100%; + color: #cccccc; + font-weight: normal; } .memitem { /* outer border around function */ - padding: 6px; - background-color: #000000; - border-width: 2px; - border-style: solid; - border-color: #ffff00; + padding: 6px; + background-color: #000000; + border-width: 2px; + border-style: solid; + border-color: #ffff00; } .memname { - color: #ffffff; /* name of the function */ - white-space: nowrap; - font-weight: bold; + color: #ffffff; /* name of the function */ + white-space: nowrap; + font-weight: bold; } .memdoc{ - padding-left: 10px; + padding-left: 10px; } /* inner box containing function definition */ .memproto { - background-color: #000055; - width: 100%; - border-width: 2px; - border-style: solid; - border-color: #ffff00; - font-weight: bold; -/* -moz-border-radius: 8px 8px 8px 8px;*/ + background-color: #000055; + width: 100%; + border-width: 2px; + border-style: solid; + border-color: #ffff00; + font-weight: bold; } .paramkey { - color: #ff0000; - text-align: right; + color: #ff0000; + text-align: right; } + .paramtype { /* type of function parameter, e.g. "int" */ - color: #00ff00; - white-space: nowrap; + color: #00ff00; + white-space: nowrap; } + .paramname { /* name of function parameter */ - color: #ffff00; - font-style: italic; + color: #ffff00; + font-style: italic; } - -- 2.39.5