From 9993ba47956a2790bfbcf2198794cea42c91cd82 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 23 Dec 2015 21:07:01 +0300 Subject: css goodies --- src/main/webapp/style.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/webapp/style.css b/src/main/webapp/style.css index 60df1415..69c7e2da 100644 --- a/src/main/webapp/style.css +++ b/src/main/webapp/style.css @@ -21,7 +21,8 @@ body>header a { color: #000; border-bottom: 1px dotted #666; font-size: 13pt; } #logo { float: left; width: 110px; height: 36px; margin: 7px 25px 0 20px; } #logo a { display: block; width: 110px; height: 36px; text-indent: 100%; white-space: nowrap; overflow: hidden; border: 0; background: url("//i.juick.com/logo.png") no-repeat; } -@media screen and (-webkit-min-device-pixel-ratio: 2) { +@media screen and (-webkit-min-device-pixel-ratio: 2), + (min-resolution: 192dpi) { #logo a { background: url("//i.juick.com/logo_2x.png") no-repeat; background-size: cover; @@ -111,7 +112,8 @@ article input { width: 50px; margin-left: 6px; vertical-align: top; border: 1px .msg-comment input { width: 50px; margin-left: 6px; vertical-align: top; border: 1px solid #CCC; background: #EEE; color: #999; } .msg-recomms { margin-top: 10px; overflow: hidden; font-size: small; color: #AAA; text-indent: 10px; } .reply-new .msg-cont { border-right: 5px solid #0C0; } -q { border-left: 1px dashed #CCC; margin: 10px 0 10px 10px; padding-left: 10px; display: inline-block; } +q:before, q:after { content: "";} +q { border-left: 1px dashed #CCC; margin: 10px 0 10px 10px; padding-left: 10px; display: block; color: #666; } #mtoolbar { width: 670px; margin-left: 58px; background: #E5E5DD; border-top: 1px solid #CCC; } #mtoolbar ul, #mtoolbar a { padding: 5px; } -- cgit v1.2.3