From 1668cb76f10ca59df849fb4d7dccaa40f9ba8c8e Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@Germany> Date: Mon, 10 May 2010 08:56:50 +0200 Subject: [PATCH] STYLE: reduce number of absolute widths in css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - use ® instead of ® in html templates - seems to work better with doxygen at the moment --- doc/doxygen/_Footer | 2 +- doc/doxygen/css/cfdLayout.css | 36 +++++++++++++++-------------------- doc/doxygen/css/cfdNav.css | 2 +- 3 files changed, 17 insertions(+), 23 deletions(-) diff --git a/doc/doxygen/_Footer b/doc/doxygen/_Footer index e9c07e5673a..11d8da9cb56 100644 --- a/doc/doxygen/_Footer +++ b/doc/doxygen/_Footer @@ -4,7 +4,7 @@ <p> Copyright © 2000-2010 <a href="http://www.openfoam.com/about">OpenCFD Limited</a> - | OPENFOAM® and OpenCFD® are registered trademarks of OpenCFD Ltd. + | OPENFOAM® and OpenCFD® are registered trademarks of OpenCFD Ltd. </p> <p class="credits"> Based on design by diff --git a/doc/doxygen/css/cfdLayout.css b/doc/doxygen/css/cfdLayout.css index db1b4993180..4376035c4ca 100644 --- a/doc/doxygen/css/cfdLayout.css +++ b/doc/doxygen/css/cfdLayout.css @@ -1,8 +1,4 @@ -/* import doxygen-specific adjustments */ -@import url(doxygen.css); /* standard doxygen style with minor mods */ -@import url(doxyMod.css); /* modifications to standard doxygen style */ -@import url(doxyTabs.css); /* modified doxygen tabs style */ -@import url(navigation.css); /* OpenCFD navigation styles */ +/* OpenCFD layout styles */ * { padding: 0; @@ -66,11 +62,10 @@ p:after { /*********************header***************************************************/ .header { - width:960px; + width:100%; } .header-top { - width:954px; height:80px; border:3px solid rgb(175,175,175); border-bottom-width: 0; @@ -81,7 +76,6 @@ p:after { } .header-bottom { - width:954px; border:3px solid rgb(175,175,175); border-top-width: 1px; background:rgb(225,225,225); @@ -150,6 +144,14 @@ p:after { } /*****************header-breadcrumbs ***************************************/ +.header-breadcrumbs { + clear:both; + width:100%; + padding:1.0em 0 1.5em 0; + border-left:3px solid rgb(175,175,175); + border-right:3px solid rgb(175,175,175); +} + .header-breadcrumbs ul { float:left; width:560px; @@ -158,14 +160,6 @@ p:after { font-family:verdana,arial,sans-serif; } -.header-breadcrumbs { - clear:both; - width:954px; - padding:1.0em 0 1.5em 0; - border-left:3px solid rgb(175,175,175); - border-right:3px solid rgb(175,175,175); -} - .header-breadcrumbs ul li { display:inline; padding:0 0 0 5px; @@ -316,19 +310,19 @@ div.contents a:hover { @media print { .header-top { - width:954px; + width:100%; height:80px; background:rgb(240,240,240); overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/; } .header-breadcrumbs { - width:954px; + width:100%; background:transparent; } .nav2 { float:left; - width:954px; + width:100%; border:none; background:rgb(240,240,240); color:rgb(75,75,75); @@ -337,7 +331,7 @@ div.contents a:hover { } /*Color navigation bar normal mode*/ .main { clear:both; - width:954px; + width:100%; padding-bottom:30px; background:transparent; } @@ -353,7 +347,7 @@ div.contents a:hover { } .footer { clear:both; - width:954px; + width:100%; height:3.7em; padding:1.1em 0 0; background:rgb(240,240,240); diff --git a/doc/doxygen/css/cfdNav.css b/doc/doxygen/css/cfdNav.css index a5e078aab08..506d7a6c724 100644 --- a/doc/doxygen/css/cfdNav.css +++ b/doc/doxygen/css/cfdNav.css @@ -98,7 +98,7 @@ { white-space:nowrap /*IE hack*/; float:left; - width:954px; + width:100%; background:rgb(225,225,225); color:rgb(100,100,100); font-size:130%; -- GitLab