X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=1cb2e9548feeff70cc637943996c0bef0d2aab7a;hb=5611d91c2ea8e5360f196024734931715d019713;hp=bf090654317f17e13c6e14139fba29c3fe13fd6e;hpb=61ee54ddb663a3faf4a9c125a07d89dc3940e1f5;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index bf09065..1cb2e95 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -51,6 +51,10 @@ textarea { display: none; } +#sone .toggle-link { + margin-top: 1em; +} + #sone #formPassword { display: none; } @@ -97,6 +101,14 @@ textarea { border: none; } +#sone .small-link { + font-size: 85%; +} + +#sone .parsed { + white-space: pre-wrap; +} + #sone #main.offline { opacity: 0.5; } @@ -145,7 +157,7 @@ textarea { #sone #notification-area #local-post-notification, #sone #notification-area #local-reply-notification { display: none; -} +} #sone #plugin-warning { border: solid 0.5em red; @@ -251,7 +263,7 @@ textarea { border-bottom: none; } -#sone .post .sone-post-menu { +#sone .post .sone-menu { position: absolute; top: 0; left: -1ex; @@ -263,17 +275,21 @@ textarea { z-index: 1; } -#sone .post .sone-post-menu .avatar { +#sone .post .sone-menu .avatar { position: absolute; margin-right: 1ex; } -#sone .post .sone-post-menu .inner-menu { +#sone .post .sone-menu .inner-menu { margin-left: 64px; padding-left: 1ex; min-height: 64px; } +#sone .sone-menu .follow, #sone .sone-menu .unfollow { + cursor: pointer; +} + #sone .post > .avatar { position: absolute; } @@ -293,15 +309,28 @@ textarea { font-size: 90%; } -#sone .post .text, #sone .post .raw-text { +#sone .post .text, #sone .post .raw-text, #sone .post .short-text { display: inline; white-space: pre-wrap; + word-wrap: break-word; } -#sone .post .text.hidden, #sone .post .raw-text.hidden { +#sone .post .text.hidden, #sone .post .raw-text.hidden, #sone .post .short-text.hidden { display: none; } +#sone .post .expand-post-text:before, #sone .post .expand-reply-text:before { + content: "» "; +} + +#sone .post .shrink-post-text:before, #sone .post .shrink-reply-text:before { + content: "« "; +} + +#sone .post .shrink-post-text { + cursor: pointer; +} + #sone .post .status-line { margin-top: 0.5ex; font-size: 85%; @@ -416,13 +445,17 @@ textarea { } #sone .post .reply { + position: relative; clear: both; background-color: #f0f0ff; - font-size: 85%; margin: 1ex 0px; padding: 1ex; } +#sone .post .reply .inner-part { + font-size: 85%; +} + #sone .post .reply.new { background-color: #ffffa0; } @@ -491,7 +524,11 @@ textarea { } #sone .sone .profile-link { - display: block; + display: inline; +} + +#sone .sone .sone-stats { + display: inline; } #sone .sone .short-request-uri { @@ -603,6 +640,64 @@ textarea { position: relative; } +#sone .backlinks { + font-size: 80%; + margin-bottom: 1em; +} + +#sone .backlinks .backlink { + display: inline; +} + +#sone .album { +} + +#sone .image-row { + display: table-row; +} + +#sone .image-container { + width: 200px; + height: 200px; + overflow: hidden; + padding: -1px; + border: solid 1px #000; +} + +#sone .image { + width: 200px; + height: 150px; + display: table-cell; + vertical-align: top; + text-align: center; + padding: 0.5ex; +} + +#sone .image img, #sone .single-image img { + border: solid 1px #000; + background-color: #fff; +} + +#sone .image .edit-image input { + width: 95%; +} + +#sone .image .edit-image textarea { + width: 95%; +} + +#sone .image .image-title { + font-weight: bold; +} + +#sone .image .image-description { + text-align: left; +} + +#sone .backlinks .separator { + display: inline; +} + #sone #search { text-align: right; } @@ -677,6 +772,10 @@ textarea { clear: both; } +#sone h1.backlink { + margin-bottom: 0px; +} + #sone h2 { font-family: inherit; font-size: 150%; @@ -689,7 +788,7 @@ textarea { font-weight: bold; } -#sone input.default { +#sone input.default, #sone textarea.default { color: #888; } @@ -707,3 +806,7 @@ textarea { color: red; font-style: italic; } + +#sone #sort-options { + margin-bottom: 1em; +}