details: http://www.bx.psu.edu/hg/galaxy/rev/f5e3c6a1d135 changeset: 3291:f5e3c6a1d135 user: James Taylor <james@jamestaylor.org> date: Wed Jan 27 18:33:48 2010 -0500 description: Fix masthead fonts, remove padding from first header in a block. diffstat: static/june_2007_style/base.css.tmpl | 4 ++++ static/june_2007_style/blue/base.css | 1 + static/june_2007_style/blue/panel_layout.css | 4 ++-- static/june_2007_style/panel_layout.css.tmpl | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diffs (59 lines): diff -r 75052c65e483 -r f5e3c6a1d135 static/june_2007_style/base.css.tmpl --- a/static/june_2007_style/base.css.tmpl Wed Jan 27 17:46:14 2010 -0500 +++ b/static/june_2007_style/base.css.tmpl Wed Jan 27 18:33:48 2010 -0500 @@ -40,6 +40,10 @@ /*text-shadow: #bbb 2px 2px 1px;*/ } +h1:first-child, h2:first-child, h3:first-child, h4:first-child { + margin-top: 0px; +} + hr { border: none; height: 0px; diff -r 75052c65e483 -r f5e3c6a1d135 static/june_2007_style/blue/base.css --- a/static/june_2007_style/blue/base.css Wed Jan 27 17:46:14 2010 -0500 +++ b/static/june_2007_style/blue/base.css Wed Jan 27 18:33:48 2010 -0500 @@ -9,6 +9,7 @@ img{border:0;} a:link,a:visited,a:active{color:#303030;} h1,h2,h3,h4{color:#023858;} +h1:first-child,h2:first-child,h3:first-child,h4:first-child{margin-top:0px;} hr{border:none;height:0px;border-bottom:dotted #303030 1px;} th{text-align:left;} div.toolForm{border:solid #d8b365 1px;} diff -r 75052c65e483 -r f5e3c6a1d135 static/june_2007_style/blue/panel_layout.css --- a/static/june_2007_style/blue/panel_layout.css Wed Jan 27 17:46:14 2010 -0500 +++ b/static/june_2007_style/blue/panel_layout.css Wed Jan 27 18:33:48 2010 -0500 @@ -32,9 +32,9 @@ .panel-warning-message{background-image:url(warn_small.png);background-color:#FFFFCC;} .panel-done-message{background-image:url(done_small.png);background-color:#CCFFCC;} .panel-info-message{background-image:url(info_small.png);background-color:#CCCCFF;} -#masthead{font-family: verdana;arial;sans-serif;position:absolute;top:0;left:0;width:100%;min-width:900px;height:32px;background:#2C3143;color:#fff;border-bottom:solid #444 1px;z-index:15000;padding:0;} +#masthead{position:absolute;top:0;left:0;width:100%;min-width:900px;height:32px;background:#2C3143;color:#fff;border-bottom:solid #444 1px;z-index:15000;padding:0;} #masthead a{color:#eeeeee;text-decoration:none;} -#masthead .title{padding:3px 10px;font-size:175%;font-weight:bold;} +#masthead .title{font-family:verdana;padding:3px 10px;font-size:175%;font-weight:bold;} #masthead a:hover{text-decoration:underline;} .tab-group{margin:0;padding:0 10px;height:100%;white-space:nowrap;cursor:default;background:transparent;} .tab-group .tab{background:#2C3143;position:relative;float:left;margin:0;padding:0 1em;height:32px;line-height:32px;text-align:left;} diff -r 75052c65e483 -r f5e3c6a1d135 static/june_2007_style/panel_layout.css.tmpl --- a/static/june_2007_style/panel_layout.css.tmpl Wed Jan 27 17:46:14 2010 -0500 +++ b/static/june_2007_style/panel_layout.css.tmpl Wed Jan 27 18:33:48 2010 -0500 @@ -230,7 +230,6 @@ ## Masthead #masthead { - font-family: verdana;arial;sans-serif; position:absolute; top:0; left:0; @@ -249,6 +248,7 @@ } .title { + font-family: verdana; padding: 3px 10px; font-size: 175%; font-weight: bold;