Skip to content
Snippets Groups Projects
Commit ff5df3c1 authored by Anika Henke's avatar Anika Henke
Browse files

have new section highlighting on both sides (fixes #33) and improve preview borders

parent 5583cf54
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ div.picker button.toolbutton {
********************************************************************/
.dokuwiki div.preview {
border: dashed __border__;
border: dotted __border__;
border-width: .2em 0;
padding: 1.4em 0;
margin-bottom: 1.4em;
......@@ -121,7 +121,8 @@ div.picker button.toolbutton {
}
/* style for section highlighting (only sections below headings) */
.dokuwiki div.section_highlight {
margin: -3em 0 -.01em -1.5em;
padding: 3em 0 .01em 1em;
border-left: .5em solid __background_alt__;
margin: -3em -1em -.01em -1em; /* negative side margin = side padding + side border */
padding: 3em .5em .01em .5em;
border: solid __background_alt__;
border-width: 0 .5em;
}
......@@ -308,14 +308,20 @@
}
.dokuwiki div.section_highlight {
margin-left: -2em;
border-left-width: 1em;
margin: -3em -2em -.01em -2em;
padding: 3em 1em .01em 1em;
border-width: 0 1em;
}
.dokuwiki textarea.edit {
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Liberation Mono", Monaco, "Courier New", monospace;
}
.dokuwiki div.preview {
margin: 0 -2em;
padding: 2em;
}
/*____________ changes to _toc ____________*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment