X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=3ab96e627de06976058aee56a8d03ed2e2d40aa8;hb=5b28677deb5e6f9499b266fd6206118f6ac96ec0;hp=d58d973c82a3cb1e0a4064b1b038b25095902a42;hpb=f8bec3740e1d99684a5c33680e48d1f523c09983;p=shellwiki diff --git a/themes/default.css b/themes/default.css index d58d973..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 === */ @@ -307,6 +360,18 @@ li.task.unsure:before { content: '? ' ; color: #880; font-weight: bold; pa } +ul.macro.tag { padding: 0; } +.macro.tag li.tag { + display: inline-block; + color: #FFF; + background-color: #333; + font-size: .875em; + padding: 0 .5em; + margin: .25em .25em 0 0; + border-radius: .375em; +} + + .macro.changes td .date { display: block; font-size: .75em;