X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=450810476b65931322727a3b5e34530ff2b0e1aa;hb=b2c6706c40fe49940e59f9b71e52c2d2d18c3d57;hp=eb4e303ac047e73a20dd76321b21e8b4611280ea;hpb=c482ab648dce89fd42b6110728e8b05df4073732;p=shellwiki diff --git a/themes/default.css b/themes/default.css index eb4e303..4508104 100644 --- a/themes/default.css +++ b/themes/default.css @@ -123,14 +123,17 @@ main > form#deletepage input#delsub:checked + label + ul li.delsub { main code { padding: .125em .25em; - background-color: #CCC; + background-color: #EEE; } main pre { padding: .5em .5em; - background-color: #CCC; + background-color: #EEE; max-width: 100%; overflow-x: auto; } +main pre > code { + padding: 0; +} li.task > input[type=checkbox][disabled], li.task > p > input[type=checkbox][disabled] { @@ -152,6 +155,79 @@ 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.newpage, form.search { + margin-bottom: 1em; +} +form.search { text-align: center; } +input.search { + min-width: 50%; + max-width: 80%; + max-width: calc(100% - 2.5em); +} +ul.searchresults, ol.searchresults { + margin-left: auto; margin-right: auto; + width: 100%; max-width: 540pt; + text-align: center; +} + +table { + min-width: 50%; + margin-left: auto; + margin-right: auto; +} + +@media(min-width: 540pt) { + .half { + display: inline-block; + width: 50%; + padding-right: 1em; + vertical-align: top; + } + .right { + float: right; + clear: both; + width: 33%; + margin: .25em 0 .5em 1em; + } + .left { + float: left; + clear: both; + width: 33%; + margin: .25em 1em .5em 0; + } + .left .left, .left .right, + .right .left, .right .right, + .half .left, .half .right { + float: none; + width: 100%; + margin: .25em 0 .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 table, .right table, .half table { + width: 100%; + } + + .left input.search, + .right input.search { + width: 80%; + width: calc(100% - 2.5em); + } + ul.searchresults, ol.searchresults { + min-width: 50%; + } +} + /* === Editor === */ @@ -307,6 +383,7 @@ 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;