have new section highlighting on both sides and improve preview border

This commit is contained in:
Anika Henke 2012-01-29 12:03:42 +00:00
parent ce84417a91
commit 377a18e694

View file

@ -98,7 +98,7 @@ div.picker button.toolbutton {
********************************************************************/ ********************************************************************/
.dokuwiki div.preview { .dokuwiki div.preview {
border: dashed __border__; border: dotted __border__;
border-width: .2em 0; border-width: .2em 0;
padding: 1.4em 0; padding: 1.4em 0;
margin-bottom: 1.4em; margin-bottom: 1.4em;
@ -120,7 +120,8 @@ div.picker button.toolbutton {
} }
/* style for section highlighting (only sections below headings) */ /* style for section highlighting (only sections below headings) */
.dokuwiki div.section_highlight { .dokuwiki div.section_highlight {
margin: -3em 0 -.01em -1.5em; margin: -3em -1em -.01em -1em; /* negative side margin = side padding + side border */
padding: 3em 0 .01em 1em; padding: 3em .5em .01em .5em;
border-left: .5em solid __background_alt__; border: solid __background_alt__;
border-width: 0 .5em;
} }