X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=a1ea010d118220f5b0f123b9bf08e6f3f4c0a9c5;hb=refs%2Fheads%2Fmaster;hp=d8a5b3159baaeafaf85ba66c3ae234daece12a25;hpb=587bd0f073e027e5d642be5c257705dd4741627d;p=shellwiki diff --git a/themes/default.css b/themes/default.css index d8a5b31..a1ea010 100644 --- a/themes/default.css +++ b/themes/default.css @@ -1,5 +1,5 @@ /* -# Copyright 2022 - 2023 Paul Hänsch +# Copyright 2022 - 2024 Paul Hänsch # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -173,10 +173,31 @@ input.search, input[type="search"] { max-width: 80%; max-width: calc(100% - 2.5em); } -ul.searchresults, ol.searchresults { +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 { + 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 { @@ -192,6 +213,9 @@ table { padding-right: 1em; vertical-align: top; } + h1.half, h2.half, h3.half, h4.half, h5.half, h6.half { + width: 100%; + } .right { float: right; clear: both; @@ -229,7 +253,7 @@ table { width: 80%; width: calc(100% - 2.5em); } - ul.searchresults, ol.searchresults { + ul.search.hits, ol.search.hits { min-width: 50%; } } @@ -401,6 +425,22 @@ ul.macro.tag { padding: 0; } } +.macro.taglist li { + display: inline-block; + margin-right: .75em; +} +.macro.taglist.cloud li[rel="0"] { font-size: 6pt; } +.macro.taglist.cloud li[rel="1"] { font-size: 7.5pt; } +.macro.taglist.cloud li[rel="2"] { font-size: 9pt; } +.macro.taglist.cloud li[rel="3"] { font-size: 11.5pt; } +.macro.taglist.cloud li[rel="4"] { font-size: 13pt; } +.macro.taglist.cloud li[rel="5"] { font-size: 14.5pt; } +.macro.taglist.cloud li[rel="6"] { font-size: 16pt; } +.macro.taglist.cloud li[rel="7"] { font-size: 17.5pt; } +.macro.taglist.cloud li[rel="8"] { font-size: 19pt; } +.macro.taglist.cloud li[rel="9"] { font-size: 21.5pt; } + + .macro.changes td .date { display: block; font-size: .75em;