From eeefb8f4e63ceaf4334d84089aa102ed3aa4809d Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Fri, 23 Apr 2004 15:48:48 +0000 Subject: [PATCH] Common settings of nostalgia, standard and cologne blue moved to one file --- stylesheets/cologneblue.css | 70 +----------------------------- stylesheets/common.css | 84 ++++++++++++++++++++++++++++++++++++ stylesheets/nostalgia.css | 51 +--------------------- stylesheets/wikistandard.css | 75 +------------------------------- 4 files changed, 88 insertions(+), 192 deletions(-) create mode 100644 stylesheets/common.css diff --git a/stylesheets/cologneblue.css b/stylesheets/cologneblue.css index 50a6452de0..1bcba666c1 100644 --- a/stylesheets/cologneblue.css +++ b/stylesheets/cologneblue.css @@ -1,3 +1,4 @@ +@import url("common.css"); body { margin: 0px; padding: 0px; color: black; } #specialform { display: inline; } @@ -22,7 +23,6 @@ textarea { overflow: auto; } #footer { padding: 4px; } #footer form { display: inline; } -.autocomment { color: gray; } #sitetitle { font-family: Times, serif; color: white; @@ -92,72 +92,4 @@ a.printable { text-decoration: underline; } a.stub { color:#772233; text-decoration:none; } h2, h3, h4, h5, h6 { margin-bottom: 0; } small { font-size: 75%; } -img { border: none; } -#toc { border:1px solid #8888aa; background-color:#f7f8ff;padding:5px;font-size:95%; } - - -/* Images */ -div.floatright { float: right; margin: 0 0 1em 1em; } -div.floatright p { font-style: italic; } -div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; } -div.floatleft p { font-style: italic; } - - -/* thumbnails */ -div.thumbnail-none, div.thumbnail-right, div.thumbnail-left { - padding: 2px; - border:1px solid #8888aa; - background:#CCCCCC; - margin: 0.3em auto 0.5em; - font-size: 85%; -} - -div.thumbcaption { - margin-top:3px; margin-bottom:3px; - text-align: left; -} - -div.thumbnail-right { - float: right; - margin-left:0.5em; -} - -div.thumbnail-left { - float: left; - margin-right:0.5em; -} - -table.diff { - background:white; -} -td.diff-otitle { - background:#cccccc; -} -td.diff-ntitle { - background:#cccccc; -} -td.diff-addedline { - background:#ccffcc; -} -td.diff-deletedline { - background:#ffffaa; -} -td.diff-context { - background:#eeeeee; -} - -/* table standards */ -table.rimage { - float:right; - width:1pt; - margin-left:1em; - margin-bottom:1em; - text-align:center; - font-size:smaller; - } - -/* Print-specific things to hide */ -.urlexpansion, .printfooter { - display: none; - } diff --git a/stylesheets/common.css b/stylesheets/common.css new file mode 100644 index 0000000000..127e7deeca --- /dev/null +++ b/stylesheets/common.css @@ -0,0 +1,84 @@ +/* + * common.css + * This file contains CSS settings common to Wikistandard, Nostalgia and CologneBlue + */ + +/* images */ +div.floatright { float: right; margin: 0 0 1em 1em; } +div.floatright p { font-style: italic; } +div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; } +div.floatleft p { font-style: italic; } + + +/* Print-specific things to hide */ +.urlexpansion, .printfooter { + display: none; +} + +/* table standards */ +table.rimage { + float:right; + width:1pt; + margin-left:1em; + margin-bottom:1em; + text-align:center; + font-size:smaller; +} + +/* thumbnails */ +div.thumbnail-none, div.thumbnail-right, div.thumbnail-left { + padding: 2px; + border:1px solid #8888aa; + background:#CCCCCC; + margin: 0.3em 0 0.5em; + font-size: 85%; + text-align: center; +} + + +div.thumbcaption { + margin-top:3px; margin-bottom:3px; + text-align: left; +} + +div.thumbnail-right { + float: right; + margin-left:0.5em; +} + +div.thumbnail-left { + float: left; + margin-right:0.5em; +} + +table.diff { + background:white; +} +td.diff-otitle { + background:#cccccc; +} +td.diff-ntitle { + background:#cccccc; +} +td.diff-addedline { + background:#ccffcc; +} +td.diff-deletedline { + background:#ffffaa; +} +td.diff-context { + background:#eeeeee; +} + +img { border: none; } + +/* automatically generated edit summaries */ +.autocomment { color: gray; } + +#toc { + border: 1px solid #8888aa; + background-color: #f7f8ff; + padding: 5px; + font-size: 95%; +} + diff --git a/stylesheets/nostalgia.css b/stylesheets/nostalgia.css index ca4874b583..3ee1f989c3 100644 --- a/stylesheets/nostalgia.css +++ b/stylesheets/nostalgia.css @@ -1,3 +1,4 @@ +@import url("common.css") body { /* Background color is set separately on page type */ color: black; @@ -13,57 +14,7 @@ a.printable { text-decoration: underline; } a.stub { color:#772233; text-decoration:none; } h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; } h2, h3, h4, h5, h6 { margin-bottom: 0; } -img { border: none; } textarea { overflow: auto; } p.subtitle { padding-top: 0; margin-top: 0; } -#toc { border:1px solid #8888aa; background-color:#f7f8ff;padding:5px;font-size:95%; } -/* Images */ -div.floatright { float: right; margin: 0 0 1em 1em; } -div.floatright p { font-style: italic; } -div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; } -div.floatleft p { font-style: italic; } - - -/* thumbnails */ -div.thumbnail-none, div.thumbnail-right, div.thumbnail-left { - padding: 2px; - border:1px solid #8888aa; - background:#CCCCCC; - margin: 0.3em auto 0.5em; - font-size: 85%; -} - -div.thumbcaption { - margin-top:3px; margin-bottom:3px; -} - -div.thumbnail-right { - float: right; - margin-left:0.5em; -} - -div.thumbnail-left { - float: left; - margin-right:0.5em; -} - -/* table standards */ -table.rimage { - float:right; - width:1pt; - margin-left:1em; - margin-bottom:1em; - text-align:center; - font-size:smaller; - } - -/* automatically generated edit summaries */ -.autocomment { color: gray; } - -/* Print-specific things to hide */ -.urlexpansion, .printfooter { - display: none; - } - diff --git a/stylesheets/wikistandard.css b/stylesheets/wikistandard.css index 19e8d97288..70dfc998e8 100644 --- a/stylesheets/wikistandard.css +++ b/stylesheets/wikistandard.css @@ -1,3 +1,5 @@ +@import url("common.css"); + #article { padding: 4px; } #content { margin: 0; padding: 0; } #footer { padding: 4px;font-size:95%; } @@ -8,16 +10,8 @@ #quickbar { width: 140px; padding: 4px; visibility: visible; z-index:99;font-size:95%;} #topbar { padding: 4px;font-size:95%; } -/* automatically generated edit summaries */ -.autocomment { color: gray; } /* Table of contents */ -#toc { - border: 1px solid #8888aa; - background-color: #f7f8ff; - padding: 5px; - font-size: 95%; -} .tocindent { margin-left: 2em; } @@ -56,69 +50,4 @@ p.catlinks { font-size:small; margin-top:0; text-align:right;} td { empty-cells:show; } td.bottom { border-top: 1px solid gray; } td.top { border-bottom: 1px solid gray; } -img { border: none; } -/* images */ -div.floatright { float: right; margin: 0 0 1em 1em; } -div.floatright p { font-style: italic; } -div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; } -div.floatleft p { font-style: italic; } - -/* thumbnails */ -div.thumbnail-none, div.thumbnail-right, div.thumbnail-left { - padding: 2px; - border:1px solid #8888aa; - background:#CCCCCC; - margin: 0.3em 0 0.5em; - font-size: 85%; - text-align: center; -} - -div.thumbcaption { - margin-top:3px; margin-bottom:3px; - text-align: left; -} - -div.thumbnail-right { - float: right; - margin-left:0.5em; -} - -div.thumbnail-left { - float: left; - margin-right:0.5em; -} -table.diff { - background:white; -} -td.diff-otitle { - background:#cccccc; -} -td.diff-ntitle { - background:#cccccc; -} -td.diff-addedline { - background:#ccffcc; -} -td.diff-deletedline { - background:#ffffaa; -} -td.diff-context { - background:#eeeeee; -} - -/* table standards */ -table.rimage { - float:right; - width:1pt; - margin-left:1em; - margin-bottom:1em; - text-align:center; - font-size:smaller; - } - - -/* Print-specific things to hide */ -.urlexpansion, .printfooter { - display: none; -} -- 2.20.1