X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=68c98786cce5c15c64985e9edfed5006616b268e;hb=748a763416ff1bf018a4e425f78d01b39f460dd6;hp=d5880b191f34fd4ee00becff18ac6d06f63a2e06;hpb=1b25052b79d18b8b7af4eae95358ae0635da46a1;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index d5880b1..68c9878 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -290,8 +290,8 @@ textarea { #sone .menu-avatar { display: inline-block; - width: 48px; - height: 48px; + width: 64px; + height: 64px; overflow: hidden; } @@ -353,6 +353,54 @@ textarea { cursor: pointer; } +#sone .linked-album { + display: table; + margin-top: 1ex; + border-collapse: collapse; +} + +#sone .linked-album .album-header { + display: table-caption; + margin-bottom: 1ex; +} + +#sone .linked-album .album-header .album-title { + font-size: 150%; + font-weight: bold; +} + +#sone .linked-image { + display: table-row; +} + +#sone .linked-image .image-left { + display: table-cell; + padding-bottom: 1ex; +} + +#sone .linked-image .image { + width: 160px; + height: 90px; + overflow: hidden; + border: solid 1px black; + display: inline-block; + padding: 0px; +} + +#sone .linked-image .about-image { + display: table-cell; + padding-left: 1ex; +} + +#sone .linked-image .about-image .title { + font-size: 110%; + font-weight: bold; +} + +#sone .linked-image .about-image .description { + margin-top: 0.5ex; +} + #sone .post .status-line { margin-top: 0.5ex; font-size: 85%; @@ -678,39 +726,68 @@ textarea { display: inline; } -#sone .album { +#sone .image .edit-image input, #sone .album .edit-album input { + width: 95%; } -#sone .image-row, #sone .album-row { - display: table-row; +#sone .image .edit-image textarea, #sone .album .edit-album textarea { + width: 95%; } -#sone .image-container, #sone .album-container { - width: 250px; - height: 250px; - overflow: hidden; - padding: -1px; - border: solid 1px #000; +#sone .album-row, #sone .image-row { + display: table-row; + border-collapse: separate; } -#sone .image, #sone .album { +#sone .album-row .album, #sone .image-row .image-in-album { display: table-cell; - vertical-align: top; - text-align: center; - padding: 0.5ex; + width: 50%; +} + +#sone .image-with-information { + position: relative; + margin-top: 1ex; + margin-bottom: 1ex; + height: 120px; } -#sone .single-image img { +#sone .image { + position: absolute; border: solid 1px #000; - background-color: #fff; + width: 160px; + height: 120px; + overflow: hidden; } -#sone .image .edit-image input, #sone .album .edit-album input { - width: 95%; +#sone .image img { + position: absolute; } -#sone .image .edit-image textarea, #sone .album .edit-album textarea { - width: 95%; +#sone .information { + margin-left: 160px; + padding-left: 1ex; +} + +#sone .image-with-information .information .link { + display: inline; + font-size: 80%; +} + +#sone .image-with-information .information .link a { + text-decoration: none; +} + +#sone .image-with-information .information .title { + display: inline; + font-weight: bold; +} + +#sone .image-with-information .information .author { + display: block; +} + +#sone .image-with-information .information .description { + margin-top: 1ex; } #sone .image .album-sone { @@ -800,6 +877,10 @@ textarea { float: right; } +#sone .clear { + clear: both; +} + #sone h1 { font-family: inherit; font-size: 200%; @@ -856,5 +937,17 @@ textarea { #sone #avatar-selection li .post-avatar { vertical-align: middle; - margin-bottom: 0.5em; + margin-top: 0.5em; +} + +#sone #avatar-selection li#no-avatar { + display: block; +} + +#sone form#options ul { + padding-left: 1em; +} + +#sone form#options li { + list-style-type: none; }