# HG changeset patch # User Paul Boddie # Date 1265068142 -3600 # Node ID 22adab406cf881267d0bc1c166b7087645ba7b04 # Parent 9cd672476ce8ea35883ac7f3f6147d503bfc0d59 Reindented the common.css file. Adjusted list padding and margins. Adjusted page padding and menu control spacing. Removed the whitespace around the editor text. diff -r 9cd672476ce8 -r 22adab406cf8 themes/minimalmoin/css/common.css --- a/themes/minimalmoin/css/common.css Mon Feb 01 01:22:40 2010 +0100 +++ b/themes/minimalmoin/css/common.css Tue Feb 02 00:49:02 2010 +0100 @@ -6,14 +6,14 @@ /* content styles */ html { - background-color: white; - color: black; - font-family: sans-serif; - font-size: 1em; + background-color: white; + color: black; + font-family: sans-serif; + font-size: 1em; } body { - margin: 0; + margin: 0; } /* Links */ @@ -39,16 +39,21 @@ a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;} a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;} +dl, ol, ul { + padding: 0 1em; + margin: 0 0.5em; +} + li p { - margin: .25em 0; + margin: 0.1em 0; } li.gap { - margin-top: 0.5em; + margin-top: 0.25em; } dt { - margin-top: 0.5em; + margin-top: 0.25em; font-weight: bold; } @@ -58,21 +63,21 @@ } dd p { - margin: 0.25em 0; + margin: 0.1em 0; } a, img, img.drawing { - border: 0; + border: 0; } pre { - border: 1pt solid #AEBDCC; - background-color: #F3F5F7; - padding: 5pt; - font-family: courier, monospace; - white-space: pre; - /* begin css 3 or browser specific rules - do not remove! - see: http://forums.techguy.org/archive/index.php/t-249849.html */ + border: 1pt solid #AEBDCC; + background-color: #F3F5F7; + padding: 5pt; + font-family: courier, monospace; + white-space: pre; + /* begin css 3 or browser specific rules - do not remove! + see: http://forums.techguy.org/archive/index.php/t-249849.html */ white-space: pre-wrap; word-wrap: break-word; white-space: -moz-pre-wrap; @@ -114,19 +119,19 @@ table { - margin: 0.5em 0 0 0.5em; - border-collapse: collapse; + margin: 0.5em 0 0 0.5em; + border-collapse: collapse; } th, td { - padding: 0.25em 0.5em 0.25em 0.5em; - border: 1pt solid #ADB9CC; + padding: 0.25em 0.5em 0.25em 0.5em; + border: 1pt solid #ADB9CC; } td p { - margin: 0; - padding: 0; + margin: 0; + padding: 0; } /* TableOfContents macro */ div.table-of-contents { @@ -166,13 +171,13 @@ } .footnotes div { - width: 5em; - border-top: 1pt solid gray; + width: 5em; + border-top: 1pt solid gray; } .footnotes ol { - padding: 0 2em; - margin: 0 0 1em; + padding: 0 2em; + margin: 0 0 1em; } .footnotes li { @@ -216,26 +221,26 @@ /* eye catchers */ .warning { - color: red; + color: red; } .error { - color: red; + color: red; } strong.highlight { - background-color: #CCE0FF; - padding: 1pt; + background-color: #CCE0FF; + padding: 1pt; } /* Recent changes */ .rcrss { - float: right; - margin: 0 7px 0 14px; + float: right; + margin: 0 7px 0 14px; height: 0; position: relative; top: 9px; @@ -244,19 +249,19 @@ float: left; } .recentchanges[dir="rtl"] .rcrss { - float: left; + float: left; } .recentchanges table { - clear: both; + clear: both; border-collapse: collapse; border: 1px solid #4d7da9; } .recentchanges td { - vertical-align: top; - border: none; + vertical-align: top; + border: none; background: #e6eaf0; } @@ -268,60 +273,60 @@ } .rcdaybreak td a { - font-size: 0.88em; + font-size: 0.88em; } .rcicon1, .rcicon2 { - text-align: center; + text-align: center; } .rcpagelink { - width: 33%; + width: 33%; } .rctime { - font-size: 0.88em; - white-space: nowrap; + font-size: 0.88em; + white-space: nowrap; } .rceditor { - white-space: nowrap; - font-size: 0.88em; + white-space: nowrap; + font-size: 0.88em; } .rccomment { - width: 50%; - color: gray; - font-size: 0.88em; + width: 50%; + color: gray; + font-size: 0.88em; } /* User Preferences */ .userpref table, .userpref td { - border: none; + border: none; } /* CSS for new code_area markup used by Colorizer and ParserBase */ div.codearea { /* the div makes the border */ - margin: 0.5em 0; - padding: 0; - border: 1pt solid #AEBDCC; - background-color: #F3F5F7; - color: black; + margin: 0.5em 0; + padding: 0; + border: 1pt solid #AEBDCC; + background-color: #F3F5F7; + color: black; } div.codearea pre { /* the pre has no border and is inside the div */ - margin: 0; - padding: 10pt; - border: none; + margin: 0; + padding: 10pt; + border: none; } a.codenumbers { /* format of the line numbering link */ - margin: 0 10pt; - font-size: 0.85em; - color: gray; + margin: 0 10pt; + font-size: 0.85em; + color: gray; } /* format of certain syntax spans */ diff -r 9cd672476ce8 -r 22adab406cf8 themes/minimalmoin/css/screen.css --- a/themes/minimalmoin/css/screen.css Mon Feb 01 01:22:40 2010 +0100 +++ b/themes/minimalmoin/css/screen.css Tue Feb 02 00:49:02 2010 +0100 @@ -123,7 +123,7 @@ #username li, #navibar li { display: inline; - padding: 0.5em 1em; + padding: 0.5em 0.5em; white-space: nowrap; } @@ -257,16 +257,19 @@ #page { background-color: white; margin: 0; - padding: 2px 20px 20px 20px; + padding: 0.25em; } -/* We use here dumb css1 ids because of IE suckiness */ -#editor-textarea, #editor-help { +#editor-textarea { + padding: 0px; +} + +#editor-textarea, +#editor-help { font-family: monospace; border: 1px solid #8cacbb; color: black; background-color: white; - padding: 3px; width: 100%; margin-top: 0.5em; } @@ -274,6 +277,7 @@ #editor-help { font-size: small; background-color: #EEEEFF; + padding: 3px; } #editor-comment {