From 1c6ed32eb8656c6178fce88c35e87c08743917f0 Mon Sep 17 00:00:00 2001 From: ehudtal Date: Wed, 2 Dec 2015 17:44:01 -0500 Subject: [PATCH] Added styles for badges (or "medals") --- forum/skins/braven/style/bv_style.css | 142 ++++++++++++++------------ 1 file changed, 74 insertions(+), 68 deletions(-) diff --git a/forum/skins/braven/style/bv_style.css b/forum/skins/braven/style/bv_style.css index 07ac81f3d..023f0a31c 100644 --- a/forum/skins/braven/style/bv_style.css +++ b/forum/skins/braven/style/bv_style.css @@ -1,127 +1,133 @@ body { - font-family: Georgia, serif; + font-family: Georgia, serif; } h1, h2, h3, h4, h5, h6, -.topBar, .vote-buttons, .post-update-info, .comment-tools, .post-controls, #searchBar .options, #nav, #top, input[type="submit"], input[type="button"], .topBar, .tabsA a, .sticky-sort-tabs, .subscription_switch { - font-family: TradeGothic, Oswald, Impact, "Source Sans Pro", sans-serif; +.topBar, .vote-buttons, .post-update-info, .comment-tools, .post-controls, #searchBar .options, #nav, #top, input[type="submit"], input[type="button"], .topBar, .tabsA a, .sticky-sort-tabs, .subscription_switch, .medal { + font-family: TradeGothic, Oswald, Impact, "Source Sans Pro", sans-serif; } h1, h2, h3, #searchBar .options, #nav, #top, .post-update-info, input[type="submit"], input[type="button"], .post-controls, .comment-tools, .topBar, .tabsA a, .sticky-sort-tabs, .subscription_switch { - text-transform: uppercase; + text-transform: uppercase; } a { - color:#2E6D99; + color:#2E6D99; } #nav { - clear: both; - float: none; - width: auto; + clear: both; + float: none; + width: auto; } #nav a { - border: none; - margin: 0 10px 0 0; - background: #E6E6E6; + border: none; + margin: 0 10px 0 0; + background: #E6E6E6; } #nav a:hover { - background: #d1d1d1; + background: #d1d1d1; } #nav a.on { - height: 25px; + height: 25px; } #nav a.on, .tabsA a.on { - border: none; - background: #2E6D99; - color: #fff; + border: none; + background: #2E6D99; + color: #fff; } #nav a.on:hover, .tabsA a:hover { - background: #235877; + background: #235877; } #nav a.special { } #nav a#nav_ask, div.comment-tools a.add-comment-link { - background: #EB3B46; - color: #fff; + background: #EB3B46; + color: #fff; } #nav a#nav_ask { - float: left; + float: left; } .submit:hover, #nav a#nav_ask:hover, div.comment-tools a.add-comment-link:hover { - background: #c8141f; + background: #c8141f; } #searchBar { - border: none; - padding: 1em 0 0; - margin-top: 10px; - width: 990px; - background: #f6f6f6; + border: none; + padding: 1em 0 0; + margin-top: 10px; + width: 990px; + background: #f6f6f6; } #searchBar .options { - font-size: 1em; - padding: 0.5em 0; + font-size: 1em; + padding: 0.5em 0; } #searchBar .searchBtn { - font-size: 12px; + font-size: 12px; } #searchBar .searchInput, .subscription_switch { border: 1px solid #acacac; } #top a { - text-decoration: none; + text-decoration: none; } #top a:hover { - text-decoration: underline; + text-decoration: underline; } #CARight .boxC { - background-color: #f6f6f6; - color: #222; - border: none; + background-color: #f6f6f6; + color: #222; + border: none; } .questions-count { - color: #eb3b46; + color: #eb3b46; } .questions-count .qtext { - color: #e6e6e6; - font-size: 14px; - margin-left: 5px + color: #e6e6e6; + font-size: 14px; + margin-left: 5px } #ground { - background: #f6f6f6; - padding: 40px 0 20px; - border-top: none; + background: #f6f6f6; + padding: 40px 0 20px; + border-top: none; } #ground .link-separator { - color: #71716c; + color: #71716c; } #room { - border: none; + border: none; } .wmd-preview { - background: #f6efdf; + background: #f6efdf; } .score, .accept-rate { - font-size: 100%; + font-size: 100%; } -.tags a, span.tag { - border: none; - padding: 3px 5px; - background: #f6efdf; +.tags a, span.tag, +.medal { + border: none; + padding: 3px 5px; + background: #f6efdf; +} +.medal { + background: #ebf7f7; + font-size: 12px; + } .submit { - border: none; - background: #eb3b46; - color: #fff; - padding: 2px 8px; + border: none; + background: #eb3b46; + color: #fff; + padding: 2px 8px; } .headNormal { - border-bottom-color: #e6e6e6; + border-bottom-color: #e6e6e6; } hr { border-color: #eb3b46; @@ -131,24 +137,24 @@ hr { margin-bottom: 20px; } .comment, .answer { - padding: 10px 0 0; + padding: 10px 0 0; } .tabsA a, .sticky-sort-tabs { - border: none; - background: none; - color: #999; - padding: 2px 8px; + border: none; + background: none; + color: #999; + padding: 2px 8px; } .subscription_switch { - text-shadow: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - margin: 2px 0; - background: #d1d1d1; + text-shadow: none; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + margin: 2px 0; + background: #d1d1d1; } .questions-count .qtext { color: #333;