X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=themes%2Fdefault.css;h=e23c18210e4f368410fc88855e88d1fce72d4ecb;hb=0d5786afa416aa19fc5c0bedd0dea93532abd34f;hp=7ef7fb3acb00ee126033991a211354b905581950;hpb=1addbd404bc8cd6f869e9e1df19cc83081fa7bc2;p=shellwiki diff --git a/themes/default.css b/themes/default.css index 7ef7fb3..e23c182 100644 --- a/themes/default.css +++ b/themes/default.css @@ -114,11 +114,42 @@ main pre { body[id$="/[edit]"] textarea, body[id$="/[newpage]"] textarea { width: 100%; - min-height: 20em; min-height: 70vh; + min-height: 20em; min-height: 50vh; font-family: monospace; font-size: inherit; } +[id$="/[edit]"] main { + padding-top: 2.5em; +} +[id$="/[edit]"] input[type=radio].tab ~ div.tab.syntax, +[id$="/[edit]"] input[type=radio].tab ~ div.tab.help { + background-color: #FFF; + min-height: 20em; min-height: 50vh; +} +[id$="/[edit]"] input[type=radio].tab#edtr:checked ~ form.tab.editor { display: block; } +[id$="/[edit]"] input[type=radio].tab#help:checked ~ div.tab.syntax { display: block; } +[id$="/[edit]"] input[type=radio].tab#himg:checked ~ div.tab.help, +[id$="/[edit]"] input[type=radio].tab#hdoc:checked ~ div.tab.help { + display: block; +} +[id$="/[edit]"] input[type=radio].tab ~ div.tab.help .himg, +[id$="/[edit]"] input[type=radio].tab ~ div.tab.help .hdoc { + display: none; +} +[id$="/[edit]"] input[type=radio].tab ~ div.tab.help { + padding-top: 1em; + padding-left: 7em; +} +[id$="/[edit]"] input[type=radio].tab ~ div.tab.help .himg img { + float: left; + max-height: 4em; + margin-left: -6em; +} +[id$="/[edit]"] input[type=radio].tab#himg:checked ~ div.tab.help .himg { display: block; } +[id$="/[edit]"] input[type=radio].tab#hdoc:checked ~ div.tab.help .hdoc { display: block; } + + /* === Attachments === */ .attachment.list button[name=delete] {