X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;fp=themes%2Fdefault.css;h=3ab96e627de06976058aee56a8d03ed2e2d40aa8;hb=5b28677deb5e6f9499b266fd6206118f6ac96ec0;hp=0bb82b6d7916ebc8da949960d4b3d17132383176;hpb=3c949f9f02cddc9d1cd30174342aae1d58175999;p=shellwiki diff --git a/themes/default.css b/themes/default.css index 0bb82b6..3ab96e6 100644 --- a/themes/default.css +++ b/themes/default.css @@ -152,6 +152,59 @@ li.task.unsure:before { content: '? ' ; color: #880; font-weight: bold; pa -li.task.done:before { content: '\25a3 '; color: #080; } */ +h1 { text-align: center; } +.center { text-align: center; } + +form.search { text-align: center; } +input.search { + min-width: 50%; + max-width: 80%; + max-width: calc(100% - 2.5em); +} +ul.searchresults, ol.searchresults { + margin-top: 1em; + margin-left: auto; margin-right: auto; + width: 100%; max-width: 540pt; + text-align: center; +} + +@media(min-width: 540pt) { + .half { + display: inline-block; + width: 50%; + padding-right: 1em; + vertical-align: top; + } + .right { + float: right; + width: 33%; + margin: .25em 0 .5em 1em; + } + .left { + float: left; + width: 33%; + margin: .25em 1em .5em 0; + } + section.left > :first-child, + section.right > :first-child { + float: none; + margin: 0 0 .5em 0; + } + .left > section:first-child > :first-child, + .right > section:first-child > :first-child { + margin-top: 0; + } + + .left input.search, + .right input.search { + width: 80%; + width: calc(100% - 2.5em); + } + ul.searchresults, ol.searchresults { + min-width: 50%; + } +} + /* === Editor === */