From a02cb3bf2dcbf12744044062b24fca531bd4f999 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sat, 14 Jan 2012 14:42:47 +0000 Subject: improved section highlighting --- css/_edit.css | 10 ++++++++-- css/design.css | 5 +++++ 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'css') diff --git a/css/_edit.css b/css/_edit.css index 67f83c278..67f076914 100755 --- a/css/_edit.css +++ b/css/_edit.css @@ -111,7 +111,13 @@ div.picker button.pickerbutton { .dokuwiki .secedit input.button { font-size: 75%; } + +/* generic style for section highlighting (including headings) */ .dokuwiki .section_highlight { - background-color: __background_alt__ !important; - color: inherit; +} +/* 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__; } diff --git a/css/design.css b/css/design.css index cc0ea0d28..d300e890f 100755 --- a/css/design.css +++ b/css/design.css @@ -472,6 +472,11 @@ div.picker button.toolbutton { border-width: 0; } +.dokuwiki div.section_highlight { + margin-left: -2em; + border-left-width: 1em; +} + .dokuwiki textarea.edit { font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Liberation Mono", Monaco, "Courier New", monospace; } -- cgit v1.2.3