From afb411f1dc639a347e00ef8373258f372d1fe884 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 6 Nov 2005 18:19:39 +0100 Subject: some style fixes darcs-hash:20051106171939-7ad00-628f4bed48b395e3087058e47c30c80d5d807046.gz --- lib/styles/style.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'lib/styles') diff --git a/lib/styles/style.css b/lib/styles/style.css index fe9c09038..4a223be4d 100644 --- a/lib/styles/style.css +++ b/lib/styles/style.css @@ -1,7 +1,13 @@ +/** + * Basic styles. These styles are needed for basic DokuWiki functions + * regardless of the used template. Templates can override them of course + */ + div.clearer {clear: both; line-height: 0; height: 0;} div.error{ background: #fcc url(../images/error.png) 0.5em 0px no-repeat; + color: #000; border-bottom: 1px solid #faa; font-size: 90%; margin: 0px; @@ -10,6 +16,7 @@ div.error{ div.info{ background: #ccf url(../images/info.png) 0.5em 0px no-repeat; + color: #000; border-bottom: 1px solid #aaf; font-size: 90%; margin: 0; @@ -18,12 +25,30 @@ div.info{ div.success{ background: #cfc url(../images/success.png) 0.5em 0px no-repeat; + color: #000; border-bottom: 1px solid #afa; font-size: 90%; margin: 0; padding-left: 3em; } +/* image alignment */ + +img.medialeft { + float: left; +} + +img.mediaright { + float: right; +} + +img.mediacenter { + display: block; + margin-left: auto; + margin-right: auto; +} + + /* syntax highlighting code */ .code .br0 { color: #66cc66; } .code .co1 { color: #808080; font-style: italic; } -- cgit v1.2.3