com web/shared: Some Wiki Table of Contents improvements: styles/wiki.css
| From: | Levi Morrison | Date: | Fri, 04 Apr 2014 01:35:52 +0000 |
| Subject: | com web/shared: Some Wiki Table of Contents improvements: styles/wiki.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18693@lists.php.net to get a copy of this message | ||
Commit: a5b3c48dc05943602958fa7e649cd46977a976cc
Author: Levi Morrison <levi_morrison@byu.edu> Thu, 3 Apr 2014 19:35:52 -0600
Parents: aa0e42ac52731235c961759d9ee87a7d58a967ad
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=a5b3c48dc05943602958fa7e649cd46977a976cc
Log:
Some Wiki Table of Contents improvements
Changed paths:
M styles/wiki.css
Diff:
diff --git a/styles/wiki.css b/styles/wiki.css
index 86b51e7..0ae3c10 100644
--- a/styles/wiki.css
+++ b/styles/wiki.css
@@ -80,9 +80,8 @@ body {
}
/* toc container */
#dw__toc a {
- display: block;
- padding: 2px 0;
- text-decoration: none;
+ display: block;
+ text-decoration: none;
}
@@ -105,16 +104,16 @@ body {
#dw__toc h3 {
border-top:0;
border-right:0;
- border-bottom:1px dotted #999;
- padding:.75rem 1.5rem;
- positon:relative;
+ border-bottom:0;
+ padding:.75rem 1.5rem .5rem;
+ position:relative;
}
#dw__toc > h3 > strong {
position: absolute;
margin-left:-.75em
}
#dw__toc > div {
- padding: .75rem 1.5rem 1.5rem;
+ padding: 0 1.5rem 1.5rem;
}
#dw__toc ul {
padding: 0;
@@ -132,10 +131,6 @@ body {
padding-left: 0;
padding-right: .75rem;
}
-#dw__toc ul ul li {
-}
-#dw__toc ul li a {
-}
/* in case of toc list jumping one level
(e.g. if heading level 3 follows directly after heading level 1) */