X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=3429138310c35e5411525a33db025cf058a0747c;hp=1dda47e580c84867d1dd1d62b797058833e7ede1;hb=0df5e91852f737d760c5a9f54c5667309fbadcc2;hpb=47ed7eaf00c35889781831d33d04e9f91c9ad266 diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 1dda47e..3429138 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -97,6 +97,10 @@ textarea { border: none; } +#sone .parsed { + white-space: pre-wrap; +} + #sone #main.offline { opacity: 0.5; } @@ -145,7 +149,7 @@ textarea { #sone #notification-area #local-post-notification, #sone #notification-area #local-reply-notification { display: none; -} +} #sone #plugin-warning { border: solid 0.5em red; @@ -238,6 +242,7 @@ textarea { padding: 1ex 0px; border-bottom: solid 1px #ccc; clear: both; + position: relative; } #sone .post.new { @@ -250,6 +255,33 @@ textarea { border-bottom: none; } +#sone .post .sone-menu { + position: absolute; + top: 0; + left: -1ex; + padding: 1ex 1ex; + margin: -1px -1px; + display: none; + background-color: rgb(255, 255, 224); + border: solid 1px rgb(0, 0, 0); + z-index: 1; +} + +#sone .post .sone-menu .avatar { + position: absolute; + margin-right: 1ex; +} + +#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; } @@ -265,16 +297,32 @@ textarea { font-weight: bold; } -#sone .post .text, #sone .post .raw-text { +#sone .post .author-wot-link { + font-size: 90%; +} + +#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%; @@ -389,13 +437,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; } @@ -464,7 +516,11 @@ textarea { } #sone .sone .profile-link { - display: block; + display: inline; +} + +#sone .sone .sone-stats { + display: inline; } #sone .sone .short-request-uri { @@ -576,6 +632,36 @@ textarea { position: relative; } +#sone .backlinks { + font-size: 80%; +} + +#sone .backlinks .backlink { + display: inline; +} + +#sone .album { +} + +#sone .image { + width: 200px; + height: 150px; + display: table-cell; + vertical-align: middle; + text-align: center; + padding: 0.5ex; +} + +#sone .image img, #sone .single-image img { + padding: 1ex; + border: solid 1px #000; + background-color: #fff; +} + +#sone .backlinks .separator { + display: inline; +} + #sone #search { text-align: right; } @@ -662,7 +748,7 @@ textarea { font-weight: bold; } -#sone input.default { +#sone input.default, #sone textarea.default { color: #888; } @@ -680,3 +766,7 @@ textarea { color: red; font-style: italic; } + +#sone #sort-options { + margin-bottom: 1em; +}