X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=e69932ae62d5b0987460bc7889e7a04731a42cc7;hb=ad643c1675c3c25c0f66b24526cf93d2efdd3b12;hp=d065f7891953c82f50d88ee6496de18fb498f1e3;hpb=63df577f7ced52acfa93e4a7f329292069d8ba9d;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index d065f78..e69932a 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -254,6 +254,10 @@ textarea { text-align: right; } +#sone td.numeric { + text-align: right; +} + #sone .post { padding: 1ex 0px; border-bottom: solid 1px #ccc; @@ -415,16 +419,8 @@ textarea { font-weight: bold; } -#sone .post .trust button { - color: rgb(0, 128, 0); -} - -#sone .post .distrust button { - color: rgb(255, 0, 0); -} - #sone .post .untrust button { - color: rgb(64, 64, 64); + color: rgb(255, 0, 0); } #sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover, #sone .post .trust button:hover, #sone .post .distrust button:hover, #sone .post .untrust button:hover, #sone .post .bookmark button:hover, #sone .post .unbookmark button:hover { @@ -440,6 +436,50 @@ textarea { color: green; } +#sone .post .linked-elements { + margin-top: 1ex; +} + +#sone .linked-element.loaded .image { + display: inline-block; + border: solid 1px black; + width: 160px; + height: 120px; + background-size: cover; + background-position: center; + margin-right: 1ex; + margin-bottom: 1ex; +} + +#sone .linked-element.loaded .html-page { + display: inline-block; + width: 160px; + max-height: 120px; + overflow: hidden; + vertical-align: top; +} + +#sone .reply .linked-element.loaded .html-page { + width: 120px; + max-height: 90px; +} + +#sone .linked-element.loaded .html-page .heading { + font-size: 115%; + font-weight: 600; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; +} + +#sone .linked-element.loaded .html-page .description { + font-size: 85%; +} + +#sone .linked-element.loaded .html-page { + display: inline-block; +} + #sone .post .replies { clear: both; padding-top: 0.2ex; @@ -496,6 +536,21 @@ textarea { font-size: inherit; } +#sone .post .reply .linked-elements { + margin-top: 1ex; +} + +#sone .post .reply .linked-element.loaded .image { + display: inline-block; + border: solid 1px black; + width: 120px; + height: 90px; + background-size: cover; + background-position: center; + margin-right: 1ex; + margin-bottom: 1ex; +} + #sone .post .show-reply-form { display: inline; } @@ -800,6 +855,10 @@ textarea { float: right; } +#sone .clear { + clear: both; +} + #sone h1 { font-family: inherit; font-size: 200%; @@ -862,3 +921,11 @@ textarea { #sone #avatar-selection li#no-avatar { display: block; } + +#sone form#options ul { + padding-left: 1em; +} + +#sone form#options li { + list-style-type: none; +}