Browse Source

moved styles around

master
Anika Henke 12 years ago
parent
commit
d9d01b6fb6
  1. 88
      css/basic.css
  2. 59
      css/content.css
  3. 46
      css/design.css

88
css/basic.css

@ -43,6 +43,16 @@ legend {
line-height: 1.2; line-height: 1.2;
clear: left; /* ideally 'both', but problems with toc */ clear: left; /* ideally 'both', but problems with toc */
} }
[dir=rtl] h1,
[dir=rtl] h2,
[dir=rtl] h3,
[dir=rtl] h4,
[dir=rtl] h5,
[dir=rtl] h6,
[dir=rtl] caption,
[dir=rtl] legend {
clear: right;
}
h1 { h1 {
font-size: 2.25em; font-size: 2.25em;
@ -99,11 +109,21 @@ ul,
ol { ol {
padding: 0 0 0 1.5em; padding: 0 0 0 1.5em;
} }
[dir=rtl] ul,
[dir=rtl] ol {
padding: 0 1.5em 0 0;
}
li, li,
dd { dd {
padding: 0; padding: 0;
margin: 0 0 0 1.5em; margin: 0 0 0 1.5em;
} }
[dir=rtl] li,
[dir=rtl] dd {
margin: 0 1.5em 0 0;
}
dt { dt {
font-weight: bold; font-weight: bold;
margin: 0; margin: 0;
@ -157,6 +177,9 @@ caption {
text-align: left; text-align: left;
margin: 0 0 .3em; margin: 0 0 .3em;
} }
[dir=rtl] caption {
text-align: right;
}
th, th,
td { td {
@ -166,9 +189,14 @@ td {
border: 1px solid __border__; border: 1px solid __border__;
text-align: left; text-align: left;
} }
[dir=rtl] td,
[dir=rtl] th {
text-align: right;
}
th { th {
font-weight: bold; font-weight: bold;
background-color: __background_alt__; background-color: __background_alt__;
color: inherit;
} }
@ -243,10 +271,14 @@ kbd {
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace; font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
/* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */ /* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */
font-size: 1em; font-size: 1em;
background-color: __background_alt__;
color: __text__;
direction: ltr; direction: ltr;
text-align: left; text-align: left;
} }
pre { pre {
border: 1px solid __border__;
padding: 0 .2em;
overflow: auto; overflow: auto;
word-wrap: normal; word-wrap: normal;
} }
@ -256,6 +288,9 @@ blockquote {
border: solid __border__; border: solid __border__;
border-width: 0 0 0 .25em; border-width: 0 0 0 .25em;
} }
[dir=rtl] blockquote {
border-width: 0 .25em 0 0;
}
q:before, q:before,
q:after { q:after {
content: ''; content: '';
@ -280,6 +315,7 @@ form {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
fieldset { fieldset {
padding: 1em 1em 0; padding: 1em 1em 0;
border: 1px solid __text_alt__; border: 1px solid __text_alt__;
@ -288,10 +324,12 @@ legend {
margin: 0; margin: 0;
padding: 0 .1em; padding: 0 .1em;
} }
label { label {
vertical-align: middle; vertical-align: middle;
cursor: pointer; cursor: pointer;
} }
input, input,
textarea, textarea,
button, button,
@ -305,6 +343,7 @@ option {
margin: 0; margin: 0;
vertical-align: middle; vertical-align: middle;
} }
input[type=text], input[type=text],
input[type=password], input[type=password],
textarea { textarea {
@ -315,17 +354,26 @@ input[type=checkbox],
input.check { input.check {
padding: 0; padding: 0;
} }
input[type=submit], input[type=submit],
input.button, input.button,
button { button {
cursor: pointer; cursor: pointer;
} }
#IE6 .dokuwiki input.button,
#IE6 .dokuwiki button,
#IE7 .dokuwiki input.button,
#IE7 .dokuwiki button {
line-height: 1.4;
}
input[disabled], input[disabled],
button[disabled], button[disabled],
input[readonly], input[readonly],
button[readonly] { button[readonly] {
cursor: auto; cursor: auto;
} }
optgroup { optgroup {
font-style: italic; font-style: italic;
font-weight: bold; font-weight: bold;
@ -344,49 +392,17 @@ div.clearer {
visibility: hidden; visibility: hidden;
} }
/* @deprecated: has been in lib/styles/screen.css since Angua */
.a11y { .a11y {
position: absolute; position: absolute;
left: -9000px;
top: -4000px;
left: -99999em;
top: 0;
width: 0; width: 0;
height: 0; height: 0;
overflow: hidden; overflow: hidden;
display: inline; display: inline;
} }
/*____________ rtl corrections ____________*/
[dir=rtl] caption,
[dir=rtl] td,
[dir=rtl] th {
text-align: right;
}
[dir=rtl] ul,
[dir=rtl] ol {
padding: 0 1.5em 0 0;
}
[dir=rtl] li,
[dir=rtl] dd {
margin: 0 1.5em 0 0;
}
[dir=rtl] blockquote {
border-width: 0 .25em 0 0;
}
[dir=rtl] h1,
[dir=rtl] h2,
[dir=rtl] h3,
[dir=rtl] h4,
[dir=rtl] h5,
[dir=rtl] h6,
[dir=rtl] caption,
[dir=rtl] legend {
clear: right;
}
[dir=rtl] .a11y { [dir=rtl] .a11y {
left: auto; left: auto;
right: -9000px;
right: -99999em;
} }

59
css/content.css

@ -73,16 +73,6 @@
.dokuwiki table.inline { .dokuwiki table.inline {
min-width: 50%; min-width: 50%;
} }
.dokuwiki table.inline th,
.dokuwiki table.inline td {
border: 1px solid __text_alt__;
}
.dokuwiki table.inline th {
color: inherit;
background-color: __background_neu__;
}
.dokuwiki table.inline td {
}
.dokuwiki table.inline tr:hover td { .dokuwiki table.inline tr:hover td {
background-color: __background_alt__; background-color: __background_alt__;
} }
@ -93,22 +83,11 @@
/*____________ code ____________*/ /*____________ code ____________*/
.dokuwiki pre,
.dokuwiki tt,
.dokuwiki code,
.dokuwiki samp,
.dokuwiki kbd {
background-color: __background_alt__;
color: __text__;
}
/* fix if background-color hides underlining */ /* fix if background-color hides underlining */
.dokuwiki em.u code { .dokuwiki em.u code {
text-decoration: underline; text-decoration: underline;
} }
.dokuwiki pre {
border: 1px solid __border__;
padding: 0 .2em;
}
/* for code in <file> */ /* for code in <file> */
.dokuwiki pre.file { .dokuwiki pre.file {
} }
@ -142,3 +121,39 @@
margin: 0; margin: 0;
} }
/*____________ media manager ____________*/
#mediamanager__page h2,
#mediamanager__page h3 {
font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, Myriad, "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: __text__;
}
/* to style button-like div in _fileuploader.css to look like other buttons,
please add '.qq-upload-button' to the according styles (which don't really exist in this template) */
.qq-upload-button {
border: 1px solid __border__;
background-color: __background_alt__;
padding: 0.125em 0.4em;
}
/*____________ JS popup ____________*/
.JSpopup {
background-color: __background__;
color: __text__;
border: 1px solid __border__;
line-height: 1.2;
padding: 0 .2em;
}
.JSpopup ul,
.JSpopup ol {
padding-left: 0;
}
[dir=rtl] .JSpopup ul,
[dir=rtl] .JSpopup ol {
padding-right: 0;
}

46
css/design.css

@ -239,54 +239,11 @@
word-wrap: break-word; word-wrap: break-word;
} }
#mediamanager__page h2,
#mediamanager__page h3 {
font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, Myriad, "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
color: __text__;
}
/*____________ misc ____________*/
/* license note in footer and under edit window */ /* license note in footer and under edit window */
.dokuwiki div.license { .dokuwiki div.license {
font-size: 93.75%; font-size: 93.75%;
} }
#IE6 .dokuwiki input.button,
#IE6 .dokuwiki button,
#IE7 .dokuwiki input.button,
#IE7 .dokuwiki button {
line-height: 1.4;
}
/* to style button-like div in _fileuploader.css to look like other buttons,
please add '.qq-upload-button' to the according styles (which don't really exist in this template) */
.qq-upload-button {
border: 1px solid __border__;
background-color: __background_alt__;
padding: 0.125em 0.4em;
}
/*____________ JS popup ____________*/
.JSpopup {
background-color: __background__;
color: __text__;
border: 1px solid __border__;
line-height: 1.2;
padding: 0 .2em;
}
.JSpopup ul,
.JSpopup ol {
padding-left: 0;
}
[dir=rtl] .JSpopup ul,
[dir=rtl] .JSpopup ol {
padding-right: 0;
}
/* footer /* footer
********************************************************************/ ********************************************************************/
@ -305,12 +262,14 @@
#IE7 #dokuwiki__footer { #IE7 #dokuwiki__footer {
height: 1%; height: 1%;
} }
#dokuwiki__footer .doc { #dokuwiki__footer .doc {
float: left; float: left;
} }
#dokuwiki__footer .top { #dokuwiki__footer .top {
float: right; float: right;
} }
#dokuwiki__footer .license { #dokuwiki__footer .license {
clear: both; clear: both;
} }
@ -318,4 +277,3 @@
margin: 0 .5em 0 0; margin: 0 .5em 0 0;
float: none; float: none;
} }
Loading…
Cancel
Save