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

improved section highlighting styles

parent 63c25974
No related branches found
No related tags found
No related merge requests found
......@@ -135,15 +135,10 @@ div.picker button.toolbutton {
font-size: 75%;
}
/* generic style for section highlighting (including headings) */
.dokuwiki .section_highlight {
}
/* style for section highlighting (only sections below headings) */
/* style for section highlighting */
.dokuwiki div.section_highlight {
margin-left: -1em; /* negative side margin = side padding + side border */
margin-right: -1em; /* negative side margin = side padding + side border */
padding-left: .5em;
padding-right: .5em;
margin: 0 -1em; /* negative side margin = side padding + side border */
padding: 0 .5em;
border: solid __background_alt__;
border-width: 0 .5em;
}
......@@ -230,16 +230,10 @@
}
.dokuwiki div.section_highlight {
margin-left: -2em;
margin-right: -2em;
padding-left: 1em;
padding-right: 1em;
margin: 0 -2em;
padding: 0 1em;
border-width: 0 1em;
}
[dir=rtl] .dokuwiki div.section_highlight {
margin-right: -2em;
border-right-width: 1em;
}
.dokuwiki textarea.edit {
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
......
......@@ -92,10 +92,8 @@
/* _edit */
.dokuwiki div.section_highlight {
margin-left: -1em;
margin-right: -1em;
padding-left: .5em;
padding-right: .5em;
margin: 0 -1em;
padding: 0 .5em;
border-width: 0 .5em;
}
.dokuwiki div.preview {
......
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