X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Fstatic%2Fcss%2Fsone.css;h=3d0ac5c9dd28ca954437879201359222a4445aa0;hb=ea6f0be905e2e4ee185cdaba10e16ab9b20f17c8;hp=3c4e3211dc200cafa450ab1c8e74732da109aad5;hpb=5ad81c950618c03c62527bf05f95350b5f13f0bc;p=Sone.git diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 3c4e321..3d0ac5c 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -1,9 +1,23 @@ /* Sone Main CSS File */ /* first, override some fproxy rules. */ -#sone .post .reply div,#sone .post .time,#sone .post .delete,#sone .post .show-reply-form - { - font-size: inherit; +#sone .post .reply div,#sone .post .time,#sone .post .delete,#sone .post .show-reply-form, input[type=text], textarea { + font: inherit; +} + +input[type=text], textarea { + font-size: 90%; + margin: 0.5ex; + margin-left: 0; + border: solid 1px #ccc; + padding: 0.5ex; + height: 1.5em; + width: 50em; + outline: none; +} + +textarea { + height: 4em; } #sone form { @@ -42,14 +56,14 @@ } #sone #profile.online .picture { - float: left; + position: absolute; background-image: url("../images/sone.png"); width: 80px; height: 80px; } #sone #profile.offline .picture { - float: left; + position: absolute; background-image: url("../images/sone-offline.png"); width: 80px; height: 80px; @@ -63,6 +77,28 @@ font-size: 85%; } +#sone #home-sone { + margin-top: 1ex; + margin-left: 80px; + padding-left: 1ex; +} + +#sone #update-status label { + display: none; +} + +#sone #update-status input[type=text] { + width: 45em; +} + +#sone #update-status textarea { + width: 45em; +} + +#sone #update-status button { + float: right; +} + #sone .nice-name { font-weight: bold; } @@ -76,6 +112,11 @@ border-bottom: solid 1px #ccc; } +#sone .post:last-child { + padding: 1ex 0px; + border-bottom: none; +} + #sone .post .author { display: inline; font-weight: bold; @@ -175,8 +216,19 @@ padding: 0.5ex; } -#sone .post .create-reply.light button { - display: none; +#sone .post .create-reply input[type=text] { + margin-left: 0.5ex; + width: 50em; +} + +#sone .post .create-reply textarea { + margin-left: 0.5ex; + width: 50em; + height: 4em; +} + +#sone .post .create-reply button { + float: right; } #sone .sone { @@ -251,15 +303,34 @@ display: inline; } -#sone #tail .import-key { +#sone #create-sone { + +} + +#sone #tail .import-key, #sone #import-key .import-key { margin-top: 1em; border-top: solid 1px #ccc; padding-top: 1em; text-align: center; - font-size: 85%; + font-size: 75%; color: #888; } +#sone #import-key .import-key { + border-top: none; +} + +#sone #add-sone textarea { + height: 1.5em; +} + +#sone #create-sone textarea { + height: 1.5em; +} + +#sone #add-sone button { + position: absolute; +} #sone h1 { font-family: inherit; @@ -272,7 +343,7 @@ font-weight: bold; } -#sone input.status-input.default, input.reply-input.default { +#sone input.default { color: #888; }