Commit 1ab225cd authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 240486: makes the banner template CSS friendly

Patch by Vitaly Harisov r=myk a=myk
parent 8b0e0826
...@@ -19,6 +19,58 @@ ...@@ -19,6 +19,58 @@
* Christian Reis <kiko@async.com.br> * Christian Reis <kiko@async.com.br>
*/ */
/* banner (begin) */
#banner
{
text-align: center;
width: 100%;
background: #000;
/* for Netscape 4 only */
border: 1px solid #fff;
border-bottom-width: 0.65em;
}
/* hide from NN4 */
div#banner
{
border-bottom-width: 0.2em;
}
#banner p
{
margin: 0;
padding: 0;
}
#banner-name
{
font-family: serif;
font-size: 255%;
color: #fff;
}
/* hide from NN4 */
p#banner-name
{
font-size: 300%;
}
#banner-version
{
font-size: 75%;
background: #fff;
}
/* hide from NN4 */
p#banner-version
{
font-size: 85%;
}
/* banner (end) */
.bz_obsolete { text-decoration: line-through; } .bz_obsolete { text-decoration: line-through; }
.bz_inactive { text-decoration: line-through; } .bz_inactive { text-decoration: line-through; }
.bz_closed { text-decoration: line-through; } .bz_closed { text-decoration: line-through; }
......
...@@ -19,6 +19,58 @@ ...@@ -19,6 +19,58 @@
* Christian Reis <kiko@async.com.br> * Christian Reis <kiko@async.com.br>
*/ */
/* banner (begin) */
#banner
{
text-align: center;
width: 100%;
background: #000;
/* for Netscape 4 only */
border: 1px solid #fff;
border-bottom-width: 0.65em;
}
/* hide from NN4 */
div#banner
{
border-bottom-width: 0.2em;
}
#banner p
{
margin: 0;
padding: 0;
}
#banner-name
{
font-family: serif;
font-size: 255%;
color: #fff;
}
/* hide from NN4 */
p#banner-name
{
font-size: 300%;
}
#banner-version
{
font-size: 75%;
background: #fff;
}
/* hide from NN4 */
p#banner-version
{
font-size: 85%;
}
/* banner (end) */
.bz_obsolete { text-decoration: line-through; } .bz_obsolete { text-decoration: line-through; }
.bz_inactive { text-decoration: line-through; } .bz_inactive { text-decoration: line-through; }
.bz_closed { text-decoration: line-through; } .bz_closed { text-decoration: line-through; }
......
...@@ -24,17 +24,14 @@ ...@@ -24,17 +24,14 @@
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
<table bgcolor="#000000" width="100%" border="0" cellpadding="0" <div id="banner">
cellspacing="0"> <div class="intro"></div>
<tr> <p id="banner-name">
<td> <span>This is [% terms.Bugzilla %]</span>
<center><font color="#FFFFFF" size="8"> </p>
This is [% terms.Bugzilla %] <p id="banner-version">
</font></center> <a href="http://www.bugzilla.org/"><span>Bugzilla</span></a>
</td> <span>Version [% VERSION %]</span>
</tr> </p>
</table> <div class="outro"></div>
</div>
<center><font size="-1">
<a href="http://www.bugzilla.org/">Bugzilla</a> Version [% VERSION %]
</font></center>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment