diff --git a/css/base.css b/css/base.css index c527f5c..e20fa0d 100644 --- a/css/base.css +++ b/css/base.css @@ -75,15 +75,15 @@ blockquote{border-left:5px solid #690;color:#ddd;padding:10px;} #header{font-size:0.8em;font-weight:bold;margin:0 0 25px;border-bottom:1px solid #222222;} #header, #global-navigation li.selected{background: url('../images/gradient-dark-nav_mod.png') repeat-x scroll bottom left;} /* background:#666 */ #header, #global-navigation li{height:30px;font-family:sans-serif;} -#header-content{display:inline;} -#header ul#global-navigation{list-style:none inside;width:700px;float:left;} +#header-content{display:flex;justify-content:center;} +#header ul#global-navigation{list-style:none inside;overflow:hidden;height:30px;} #header ul#global-navigation, #global-navigation li{border-color:#222222;border-style:solid;margin:0;} #global-navigation li:first-child{border-left-width:1px;} #global-navigation li{float:left;border-right-width:1px;} #global-navigation li a{color:#F0F0F0;display:block;height:100%;margin:0 15px;line-height:2em;text-decoration:none;width:100%;font-size:1.2em;font-weight:800;} #global-navigation li a:hover, #global-navigation li a:focus{color:#6464E6;} #global-favorites{float:right !important;border-left-width:1px;} -#header-logo{float:left;margin-top:2px;margin-right:25px;} +#header-logo{float:left;margin-top:2px;} #header-home{float:left;margin:0 0px;color:#F0F0F0;line-height:2em;font-size:1.2em;text-decoration:none;} #header-home:hover, #header-home:focus{color:#6464E6;} #header #global-search-form{color:#F0F0F0;float:right;margin-top:4px;position:relative;} diff --git a/css/base.fluid.fix.css b/css/base.fluid.fix.css index 4316794..b69fc49 100644 --- a/css/base.fluid.fix.css +++ b/css/base.fluid.fix.css @@ -1,9 +1,4 @@ .box-footer { -/* this does not work with fluid 960gs */ -/* position: absolute;*/ -/* bottom: 0px;*/ -/* left: 0;*/ -/* margin-bottom: 0!important;*/ position: relative; - margin-bottom: -15px!important; -} \ No newline at end of file + margin-bottom: -15px !important; +} diff --git a/css/style.css b/css/style.css index e369bf7..44c80e6 100644 --- a/css/style.css +++ b/css/style.css @@ -1,6 +1,5 @@ body { color: #000000; - min-width: 1160px; } #header ul#global-navigation { diff --git a/css/style.fluid.css b/css/style.fluid.css index 6b23b79..4e09cbb 100644 --- a/css/style.fluid.css +++ b/css/style.fluid.css @@ -9,3 +9,17 @@ @import url("grid.css"); /* add fluid 960 Grid System */ @import url("base.css"); /* Basic CSS - Common styles */ @import url("base.fluid.fix.css"); /* Fixes for Bento with fluid 960gs */ + +@media only screen and (max-width: 870px) { + #content { + width: 96%; + margin-left: 2%; + margin-right: 2%; + } + #header-home { + display: none; + } + #global-navigation { + padding: 0; + } +} diff --git a/includes/header.php b/includes/header.php index 025affd..45e152b 100644 --- a/includes/header.php +++ b/includes/header.php @@ -44,10 +44,10 @@ if (false && $PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE != <?php echo $PAGE_TITLE; ?> - - - - + + + + - +