X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=557ea466fee6cfd14333780b26a2efe2e2a946df;hb=4976669a17eb72bb7451edcf367c0956a40a8c2f;hp=775452869e969432448f0ccd15bbf315d05e9274;hpb=0206f400c986a38cd91978059e98838c02af0b99;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 7754528..557ea46 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -353,6 +353,54 @@ textarea { cursor: pointer; } +#sone .post .linked-album { + display: table; + margin-top: 1ex; + border-collapse: collapse; +} + +#sone .post .linked-album .album-header { + display: table-caption; + margin-bottom: 1ex; +} + +#sone .post .linked-album .album-header .album-title { + font-size: 150%; + font-weight: bold; +} + +#sone .post .linked-image { + display: table-row; +} + +#sone .post .linked-image .image-left { + display: table-cell; + padding-bottom: 1ex; +} + +#sone .post .linked-image .image { + width: 160px; + height: 90px; + overflow: hidden; + border: solid 1px black; + display: inline-block; + padding: 0px; +} + +#sone .post .linked-image .about-image { + display: table-cell; + padding-left: 1ex; +} + +#sone .post .linked-image .about-image .title { + font-size: 110%; + font-weight: bold; +} + +#sone .post .linked-image .about-image .description { + margin-top: 0.5ex; +} + #sone .post .status-line { margin-top: 0.5ex; font-size: 85%; @@ -690,6 +738,9 @@ textarea { height: 250px; overflow: hidden; padding: -1px; +} + +#sone .image-container { border: solid 1px #000; } @@ -713,6 +764,26 @@ textarea { width: 95%; } +#sone .album-container .image-container { + position: absolute; +} + +#sone .album-container .link-to-album { + display: none; +} + +#sone .album-container:hover .link-to-album { + display: block; + float: right; + z-index: 1; + padding: 0.5ex; + background-color: #eee; + position: relative; + top: 250px; + right: 0.5ex; + margin-top: -2em; +} + #sone .image .album-sone { font-size: 80%; } @@ -800,6 +871,10 @@ textarea { float: right; } +#sone .clear { + clear: both; +} + #sone h1 { font-family: inherit; font-size: 200%;