summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2012-01-22 13:31:31 +0000
committerAnika Henke <anika@selfthinker.org>2012-01-22 13:31:31 +0000
commitc0bf65d18c30e72f32d7ed1f60ec43e514a2632c (patch)
tree4d00cf89cfae04c4b08e05f1d9f72f6058d43b52
parent42ee96ded03b2ba3fee094f97d01e1bba47fe684 (diff)
downloadrpg-c0bf65d18c30e72f32d7ed1f60ec43e514a2632c.tar.gz
rpg-c0bf65d18c30e72f32d7ed1f60ec43e514a2632c.tar.bz2
updated _toc styles from the starter template and moved template-specific toc styles into design.css
-rwxr-xr-xcss/_toc.css57
-rwxr-xr-xcss/design.css59
2 files changed, 65 insertions, 51 deletions
diff --git a/css/_toc.css b/css/_toc.css
index 0ea6d0c74..5b71de3ec 100755
--- a/css/_toc.css
+++ b/css/_toc.css
@@ -9,75 +9,42 @@
/* toc container */
.dokuwiki div.toc {
float: right;
- margin: -2em -2em .5em 1.4em;
- width: __sidebar_width__;
- border-left: 1px solid __border__;
- background: __background__;
+ margin: 0 0 1.4em 1.4em;
+ width: 12em;
+ background-color: __background_alt__;
color: inherit;
}
/*____________ toc header ____________*/
.dokuwiki div.tocheader {
- padding: 0.5em 1em;
+ padding: .2em .5em;
font-weight: bold;
- font-size: 0.875em;
- letter-spacing: .05em;
}
-
.dokuwiki .toc span.toc_open,
.dokuwiki .toc span.toc_close {
- background: transparent url(images/toc-arrows.png) 0 0;
- width: 8px;
- height: 5px;
- margin: .4em 0 0;
float: right;
-}
-.dokuwiki .toc span.toc_open {
- background-position: 0 -5px;
-}
-
-.dokuwiki .toc span.toc_open span,
-.dokuwiki .toc span.toc_close span {
- display: none;
+ margin: 0 .2em;
}
-/* css arrow
-.dokuwiki .toc span.toc_open,
-.dokuwiki .toc span.toc_close {
- border: .4em solid __background__;
- float: right;
- display: block;
- margin: 0 .2em 0 0;
-}
-.dokuwiki .toc span.toc_open span,
-.dokuwiki .toc span.toc_close span {
- display: none;
-}
-.dokuwiki .toc span.toc_open {
- margin-top: .4em;
- border-top: .4em solid __text__;
-}
-.dokuwiki .toc span.toc_close {
- margin-top: 0;
- border-bottom: .4em solid __text__;
-}
-*/
-
/*____________ toc list ____________*/
.dokuwiki #toc__inside {
- font-size: 0.875em;
- padding: .5em 1em 1em;
+ padding: .2em .5em;
}
.dokuwiki #toc__inside ul {
- padding: 0 0 0 1.5em;
+ padding: 0;
margin: 0;
}
.dokuwiki #toc__inside ul li {
+ list-style: none;
padding: 0;
margin: 0;
+ line-height: 1.1;
+}
+.dokuwiki #toc__inside ul li div.li {
+ padding: .15em 0;
}
.dokuwiki #toc__inside ul ul {
padding-left: 1em;
diff --git a/css/design.css b/css/design.css
index b008f201c..ec6056df9 100755
--- a/css/design.css
+++ b/css/design.css
@@ -185,11 +185,8 @@
/* make sidebar more condensed */
-/* make h1 in sidebar ugly and small to prevent people using it */
#dokuwiki__aside h1 {
- font-size: .7em;
- color: green;
- background-color: pink;
+ margin-bottom: .222em;
}
#dokuwiki__aside h2 {
margin-bottom: .333em;
@@ -289,6 +286,12 @@
line-height: 1.4;
}
+#acl__tree li {
+ margin: 0;
+}
+
+/*____________ changes to _edit ____________*/
+
.dokuwiki div.toolbar button.toolbutton {
border-radius: 0;
border-left-width: 0;
@@ -320,8 +323,52 @@ div.picker button.toolbutton {
}
-#acl__tree li {
- margin: 0;
+/*____________ changes to _toc ____________*/
+
+.dokuwiki div.toc {
+ margin: -2em -2em .5em 1.4em;
+ width: __sidebar_width__;
+ border-left: 1px solid __border__;
+ background: __background__;
+ color: inherit;
+}
+
+.dokuwiki div.tocheader {
+ padding: .5em 1em;
+ margin-bottom: 0;
+ font-size: .875em;
+ letter-spacing: .1em;
+}
+
+.dokuwiki .toc span.toc_open,
+.dokuwiki .toc span.toc_close {
+ background: transparent url(images/toc-arrows.png) 0 0;
+ width: 8px;
+ height: 5px;
+ margin: .4em 0 0;
+}
+.dokuwiki .toc span.toc_open {
+ background-position: 0 -5px;
+}
+
+.dokuwiki .toc span.toc_open span,
+.dokuwiki .toc span.toc_close span {
+ display: none;
+}
+
+
+.dokuwiki #toc__inside {
+ font-size: 0.875em;
+ padding: .5em 1em 1em;
+}
+.dokuwiki #toc__inside ul {
+ padding: 0 0 0 1.5em;
+}
+.dokuwiki #toc__inside ul li {
+ list-style: disc;
+}
+.dokuwiki #toc__inside ul li div.li {
+ padding: .2em 0;
}