Browse Source

adjusted search styles to reflect html changes to core search (backwards-compatible)

master
Anika Henke 10 years ago
parent
commit
d2dc146e00
  1. 21
      css/_search.css

21
css/_search.css

@ -8,6 +8,8 @@
/* loading gif */
#dw__loading {
text-align: center;
margin-bottom: 1.4em;
}
/*____________ matching pagenames ____________*/
@ -31,14 +33,21 @@
/*____________ search results ____________*/
/* container for one search result */
.dokuwiki div.search_result {
margin-bottom: 1.4em;
margin-bottom: 1.2em;
}
/* search heading */
.dokuwiki dl.search_results dt {
font-weight: normal;
margin-bottom: .2em;
}
/* search snippet */
.dokuwiki div.search_result div.search_snippet {
.dokuwiki div.search_result div.search_snippet, /* old, until 2012-01-25 */
.dokuwiki dl.search_results dd /* new */ {
color: __text_alt__;
background-color: inherit;
margin: 0 0 1.2em 0;
}
/* search hit in normal text */
@ -47,11 +56,13 @@
background-color: __highlight__;
}
/* search hit in search results */
.dokuwiki div.search_result strong.search_hit {
.dokuwiki div.search_result strong.search_hit, /* old */
.dokuwiki .search_results strong.search_hit /* new */ {
font-weight: normal;
}
/* ellipsis separating snippets */
.dokuwiki div.search_result .search_sep {
.dokuwiki div.search_result .search_sep, /* old */
.dokuwiki .search_results .search_sep /* new */ {
color: __text__;
background-color: inherit;
}

Loading…
Cancel
Save