From b288444a88cfc5393714e7063284d5334b6887f5 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Wed, 20 Feb 2013 02:05:54 -0800 Subject: Fixed position header. --- css/page.css | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'css/page.css') diff --git a/css/page.css b/css/page.css index ae2763d..ad45e8b 100644 --- a/css/page.css +++ b/css/page.css @@ -255,7 +255,10 @@ position:absolute;color:#333;left:25px;bottom:20px; - +.topbarSpacer { + width:900px; + height:70px; +} .wrapper { width: 900px; margin: 0 auto; @@ -285,10 +288,17 @@ position:absolute;color:#333;left:25px;bottom:20px; padding: 15px 15px; margin: 0 auto 40px; text-align: center; - position: relative; /* for #user */ + position: fixed; /* for #user */ min-width: 900px; - background: -moz-linear-gradient(top, #252525, #121212); - background: -webkit-linear-gradient(top, #252525, #121212); + width:100%; + background: -moz-linear-gradient(top, #555, #222); + background: -webkit-linear-gradient(top, #555, #222); + z-index:9999; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"; + filter: alpha(opacity=90); + -moz-opacity: 0.9; + -khtml-opacity: 0.9; + opacity: 0.9; } #topbar a.nav { background-color: #222; @@ -305,7 +315,7 @@ position:absolute;color:#333;left:25px;bottom:20px; } #topbar #user { position: absolute; - right: 25px; + right: 45px; top: 5px; text-align: right; } @@ -364,10 +374,10 @@ table.score th, table.score td { padding: 0px 4px 0px 4px; } table.score td { - font-size:105%; + font-size: 13pt; } table.score th { - border: 1px solid #777; + border-top: 1px solid #777; } #copy { -- cgit v1.2.3