X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=49f2cbaaa9486e933bc10d8320688cbd874a5778;hb=91e7fe2aee5cc2e6d355935c247ed87fc9145227;hp=b7ae3b7f2807cadfab0c26d43175b0de097d8e67;hpb=53b2adecec6cd19deff36735031eefdecac75701;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index b7ae3b7..49f2cba 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -353,31 +353,32 @@ textarea { cursor: pointer; } -#sone .post .linked-album { +#sone .linked-album { display: table; + margin-top: 1ex; border-collapse: collapse; } -#sone .post .linked-album .album-header { +#sone .linked-album .album-header { display: table-caption; margin-bottom: 1ex; } -#sone .post .linked-album .album-header .album-title { +#sone .linked-album .album-header .album-title { font-size: 150%; font-weight: bold; } -#sone .post .linked-image { +#sone .linked-image { display: table-row; } -#sone .post .linked-image .image-left { +#sone .linked-image .image-left { display: table-cell; padding-bottom: 1ex; } -#sone .post .linked-image .image { +#sone .linked-image .image { width: 160px; height: 90px; overflow: hidden; @@ -386,14 +387,18 @@ textarea { padding: 0px; } -#sone .post .linked-image .about-image { +#sone .linked-image .about-image { display: table-cell; padding-left: 1ex; } -#sone .post .linked-image .about-image .title { +#sone .linked-image .about-image .title { + font-size: 110%; font-weight: bold; - margin-bottom: 0.5ex; +} + +#sone .linked-image .about-image .description { + margin-top: 0.5ex; } #sone .post .status-line { @@ -721,39 +726,74 @@ textarea { display: inline; } -#sone .album { +#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 .images { + display: table; + width: 100%; } -#sone .image-row, #sone .album-row { +#sone .album-row, #sone .image-row { display: table-row; + border-collapse: separate; +} + +#sone .album-row .album, #sone .image-row .image-in-album { + display: table-cell; + width: 50%; } -#sone .image-container, #sone .album-container { - width: 250px; - height: 250px; +#sone .image-with-information { + position: relative; + margin-top: 1ex; + margin-bottom: 1ex; + height: 122px; overflow: hidden; - padding: -1px; +} + +#sone .image { + position: absolute; border: solid 1px #000; + width: 160px; + height: 120px; + overflow: hidden; } -#sone .image, #sone .album { - display: table-cell; - vertical-align: top; - text-align: center; - padding: 0.5ex; +#sone .image img { + position: absolute; } -#sone .single-image img { - border: solid 1px #000; - background-color: #fff; +#sone .information { + margin-left: 160px; + padding-left: 1ex; } -#sone .image .edit-image input, #sone .album .edit-album input { - width: 95%; +#sone .image-with-information .information .link { + display: inline; + font-size: 80%; } -#sone .image .edit-image textarea, #sone .album .edit-album textarea { - width: 95%; +#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 {