mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
Fixed top-bar positioning to work better with taller logos.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* mixins */
|
||||
/* meat */
|
||||
body { background: #c5ccd3; font-family: Helvetica, "Helvetica Neue", Arial, sans-serif; margin: 45px 0 0; width: 100%; height: 100%; -webkit-font-smoothing: antialiased; }
|
||||
body { background: #c5ccd3; font-family: Helvetica, "Helvetica Neue", Arial, sans-serif; margin: 0; width: 100%; height: 100%; -webkit-font-smoothing: antialiased; }
|
||||
|
||||
p { margin: 0; padding: 0; }
|
||||
|
||||
@@ -89,7 +89,7 @@ button.button { padding: 0 5px; }
|
||||
.unhide-icon { background-image: url("/static/compact/unhide.png"); /*SPRITE*/ }
|
||||
|
||||
/*Toolbar*/
|
||||
#topbar { height: 45px; position: absolute; top: 0; left: 0; right: 0; background-color: #A8C4E0; background-color: #7f7f7f; background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #cee3f8), color-stop(100%, #a8c4e0)); background: -webkit-linear-gradient(top, #cee3f8, #a8c4e0); background: -moz-linear-gradient(top, #cee3f8, #a8c4e0); background: -o-linear-gradient(top, #cee3f8, #a8c4e0); background: linear-gradient(top, #cee3f8, #a8c4e0); border-bottom: 1px solid #7599BD; border-top: 1px solid #DCEAF7; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; padding: 0px 10px; display: -moz-box; display: -webkit-box; display: box; -moz-box-orient: horizontal; -webkit-box-orient: horizontal; box-orient: horizontal; -moz-box-pack: justify; -webkit-box-pack: justify; box-pack: justify; -moz-box-align: center; -webkit-box-align: center; box-align: center; }
|
||||
#topbar { background-color: #A8C4E0; background-color: #7f7f7f; background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #cee3f8), color-stop(100%, #a8c4e0)); background: -webkit-linear-gradient(top, #cee3f8, #a8c4e0); background: -moz-linear-gradient(top, #cee3f8, #a8c4e0); background: -o-linear-gradient(top, #cee3f8, #a8c4e0); background: linear-gradient(top, #cee3f8, #a8c4e0); border-bottom: 1px solid #7599BD; border-top: 1px solid #DCEAF7; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; padding: 0px 10px; display: -moz-box; display: -webkit-box; display: box; -moz-box-orient: horizontal; -webkit-box-orient: horizontal; box-orient: horizontal; -moz-box-pack: justify; -webkit-box-pack: justify; box-pack: justify; -moz-box-align: center; -webkit-box-align: center; box-align: center; }
|
||||
#topbar #header-img { width: 90px; }
|
||||
#topbar > h1 { color: #444; font-size: 18px; font-weight: bold; text-align: center; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; margin: 0 10px; padding: 0; padding-top: 16px; text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px, rgba(0, 0, 0, 0.1) 0px -1px 0px; -moz-box-flex: 1; -webkit-box-flex: 1; box-flex: 1; }
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ $static: "/static/compact/";
|
||||
body {
|
||||
background: rgb(197,204,211);
|
||||
font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
|
||||
margin: 45px 0 0;
|
||||
margin: 0;
|
||||
width: 100%; height: 100%;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
@@ -312,8 +312,6 @@ button.button {
|
||||
|
||||
/*Toolbar*/
|
||||
#topbar {
|
||||
height: 45px;
|
||||
position: absolute; top: 0; left: 0; right: 0;
|
||||
background-color: #A8C4E0;
|
||||
@include vertical_gradient(#CEE3F8, #A8C4E0);
|
||||
border-bottom: 1px solid #7599BD; border-top: 1px solid #DCEAF7;
|
||||
|
||||
Reference in New Issue
Block a user