X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=557ea466fee6cfd14333780b26a2efe2e2a946df;hb=4976669a17eb72bb7451edcf367c0956a40a8c2f;hp=fc09d959f5d79744bb6d4b6a39ba75ed7fa67748;hpb=e53a6719aa62a2c1f761d2adedecc4b0c230dd72;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index fc09d95..557ea46 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -171,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); @@ -280,6 +288,13 @@ textarea { margin-right: 1ex; } +#sone .menu-avatar { + display: inline-block; + width: 64px; + height: 64px; + overflow: hidden; +} + #sone .post .sone-menu .inner-menu { margin-left: 64px; padding-left: 1ex; @@ -338,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%; @@ -445,6 +508,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; @@ -668,6 +738,9 @@ textarea { height: 250px; overflow: hidden; padding: -1px; +} + +#sone .image-container { border: solid 1px #000; } @@ -691,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%; } @@ -778,6 +871,10 @@ textarea { float: right; } +#sone .clear { + clear: both; +} + #sone h1 { font-family: inherit; font-size: 200%; @@ -834,5 +931,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; }