X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=fc09d959f5d79744bb6d4b6a39ba75ed7fa67748;hp=8c30aa808305e8640ea3a3bd0498f2197ba89f8d;hb=e53a6719aa62a2c1f761d2adedecc4b0c230dd72;hpb=eaee6b8f5e18c32388abd6aa33f1d940dc36471f diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 8c30aa8..fc09d95 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -294,6 +294,13 @@ textarea { position: absolute; } +#sone .post-avatar { + display: inline-block; + width: 48px; + height: 48px; + overflow: hidden; +} + #sone .post > .inner-part { margin-left: 48px; padding-left: 0.5em; @@ -652,11 +659,11 @@ textarea { #sone .album { } -#sone .image-row { +#sone .image-row, #sone .album-row { display: table-row; } -#sone .image-container { +#sone .image-container, #sone .album-container { width: 250px; height: 250px; overflow: hidden; @@ -664,7 +671,7 @@ textarea { border: solid 1px #000; } -#sone .image { +#sone .image, #sone .album { display: table-cell; vertical-align: top; text-align: center; @@ -676,22 +683,28 @@ textarea { background-color: #fff; } -#sone .image .edit-image input { +#sone .image .edit-image input, #sone .album .edit-album input { width: 95%; } -#sone .image .edit-image textarea { +#sone .image .edit-image textarea, #sone .album .edit-album textarea { width: 95%; } +#sone .image .album-sone { + font-size: 80%; +} + #sone .image .image-title, #sone .album .album-title { font-weight: bold; } #sone .image .image-description, #sone .album .album-description { text-align: left; - width: 195px; + width: 98%; word-wrap: break-word; + max-height: 5em; + overflow: auto; } #sone .backlinks .separator { @@ -810,3 +823,16 @@ textarea { #sone #sort-options { margin-bottom: 1em; } + +#sone ul#avatar-selection { + padding: 0; +} + +#sone #avatar-selection li { + display: inline-block; +} + +#sone #avatar-selection li .post-avatar { + vertical-align: middle; + margin-bottom: 0.5em; +}