summaryrefslogtreecommitdiff
path: root/lib/styles
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-11-06 18:19:39 +0100
committerAndreas Gohr <andi@splitbrain.org>2005-11-06 18:19:39 +0100
commitafb411f1dc639a347e00ef8373258f372d1fe884 (patch)
tree84ca4e1ac39c20de3ed6343cd22a95a84cb94284 /lib/styles
parent3ff230f7a83037178c07da3e76b11633d3e76e3f (diff)
downloadrpg-afb411f1dc639a347e00ef8373258f372d1fe884.tar.gz
rpg-afb411f1dc639a347e00ef8373258f372d1fe884.tar.bz2
some style fixes
darcs-hash:20051106171939-7ad00-628f4bed48b395e3087058e47c30c80d5d807046.gz
Diffstat (limited to 'lib/styles')
-rw-r--r--lib/styles/style.css25
1 files changed, 25 insertions, 0 deletions
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; }