X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=a1ea010d118220f5b0f123b9bf08e6f3f4c0a9c5;hb=a9486c540a7379a8dbdbfdbbe9152fd47b235e77;hp=c7eb6dd0e2c872a1c2e64af30c46557e33cf9d1e;hpb=6e3173e44ef8bdfa48a787a0349a86dfd2499f4c;p=shellwiki diff --git a/themes/default.css b/themes/default.css index c7eb6dd..a1ea010 100644 --- a/themes/default.css +++ b/themes/default.css @@ -173,20 +173,32 @@ input.search, input[type="search"] { max-width: 80%; max-width: calc(100% - 2.5em); } +p.search.hits { text-align: center; } ul.search.hits, ol.search.hits { margin-left: auto; margin-right: auto; width: 100%; max-width: 540pt; - text-align: center; list-style: none; + padding-left: 0; +} +.search.hits li { + padding: 0 .75em; +} +.search.hits li:hover { + background-color: #F4F4F4; } .search.hits li a { display: block; } .search.hits li p { - display: inline-block; margin: 0 auto .5em auto; white-space: pre-line; } +.search.hits p.path { + color: #444; + font-size: .875em; + margin-top: -.5em; + margin-left: 1.5ex; +} table { min-width: 50%;