X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=d5880b191f34fd4ee00becff18ac6d06f63a2e06;hp=a5328a024689162a49fb87548c53ae74ba7d643a;hb=1b25052b79d18b8b7af4eae95358ae0635da46a1;hpb=425a26f642fafe014b2d08b18ad6528e57ef0225 diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index a5328a0..d5880b1 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; } @@ -159,6 +171,14 @@ textarea { margin-bottom: 1ex; } +#sone .profile-avatar { + display: inline-block; + width: 80px; + height: 80px; + overflow: hidden; + position: absolute; +} + #sone .profile-link { font-weight: bold; color: rgb(28, 131, 191); @@ -268,6 +288,13 @@ textarea { margin-right: 1ex; } +#sone .menu-avatar { + display: inline-block; + width: 48px; + height: 48px; + overflow: hidden; +} + #sone .post .sone-menu .inner-menu { margin-left: 64px; padding-left: 1ex; @@ -282,6 +309,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; @@ -426,6 +460,13 @@ textarea { position: absolute; } +#sone .reply-avatar { + display: inline-block; + width: 36px; + height: 36px; + overflow: hidden; +} + #sone .post .reply > .inner-part { margin-left: 36px; padding-left: 0.5em; @@ -628,6 +669,70 @@ textarea { position: relative; } +#sone .backlinks { + font-size: 80%; + margin-bottom: 1em; +} + +#sone .backlinks .backlink { + display: inline; +} + +#sone .album { +} + +#sone .image-row, #sone .album-row { + display: table-row; +} + +#sone .image-container, #sone .album-container { + width: 250px; + height: 250px; + overflow: hidden; + padding: -1px; + border: solid 1px #000; +} + +#sone .image, #sone .album { + display: table-cell; + vertical-align: top; + text-align: center; + padding: 0.5ex; +} + +#sone .single-image img { + border: solid 1px #000; + background-color: #fff; +} + +#sone .image .edit-image input, #sone .album .edit-album input { + width: 95%; +} + +#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: 98%; + word-wrap: break-word; + max-height: 5em; + overflow: auto; +} + +#sone .backlinks .separator { + display: inline; +} + #sone #search { text-align: right; } @@ -702,6 +807,10 @@ textarea { clear: both; } +#sone h1.backlink { + margin-bottom: 0px; +} + #sone h2 { font-family: inherit; font-size: 150%; @@ -714,7 +823,7 @@ textarea { font-weight: bold; } -#sone input.default { +#sone input.default, #sone textarea.default { color: #888; } @@ -736,3 +845,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; +}