X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=1c8574328690be01eb7ee45cb9f98e32d4803165;hb=19e49c0a2463b90c3468903672d8ba600da217d2;hp=1767090d7d68dc8eadca8af1edf302949561a25f;hpb=50ce65f69e49ed10abeedaeb6615ffb37a0c0772;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 1767090..1c85743 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -440,6 +440,46 @@ 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: 125%; + font-weight: 600; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; +} + +#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; }