css cleanup

git-svn-id: http://yolanda.mister-muffin.de/svn@178 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-11-18 20:26:05 +00:00
parent 23f30e8259
commit ed4a3d910d
2 changed files with 62 additions and 154 deletions

View file

@ -3,16 +3,6 @@
clear: both;
}
body
{
font-family: sans-serif;
font-size: 8pt;
font-weight: bold;
// min-width: 550px; //what is this for? we do not know which font size the user will choose so something in pixel is bullshit
margin: 2em; //this has to be zero for embed viewing
text-align: center;
}
a
{
color: #3f3fff;
@ -29,9 +19,21 @@ a
a.tag
{
margin: 5pt;
display: inline-block;
margin: 1.5em;
padding: 0em;
}
body
{
font-family: sans-serif;
font-size: 8pt;
font-weight: bold;
min-width: 550px;
margin: 2em;
text-align: center;
}
div
{
border-width: 0px;
@ -46,7 +48,6 @@ div
width: 50%;
vertical-align: bottom;
}
div.header2
{
@ -54,13 +55,14 @@ div
float: right;
text-align: right;
width: 50%;
vertical-align: bottom;
}
img.openid-icon
{
padding-left: 0.2em;
vertical-align: text-top;
}
div.loginform, div.registerform, div.uploadform
{
line-height: 2.5em;
margin: 1.5em;
}
div.messagebox
{
@ -83,35 +85,13 @@ div
div.messagebox img
{
margin: 0.5em;
margin-bottom: 0.75em;
vertical-align: middle;
}
div.loginform, div.registerform, div.uploadform
{
line-height: 2.5em;
margin: 1.5em;
text-align: center;
}
div.logo-big
{
padding-top: 1.5em;
text-align: center;
}
div.logo-small
{
float: left;
height: 50px;
margin-top: 1em;
}
div.search
{
padding: 1em;
text-align: center;
padding: 0.75em;
}
div.search-small
@ -119,128 +99,65 @@ div
clear: none;
float: right;
text-align: right;
margin-top: 1em;
padding-top: 1em;
}
div.search form
{
margin: 1em;
}
div.search-small form
{
height: 1.25em;
}
div form fieldset
{
border-width: 0px;
}
div form fieldset input
{
text-align: left;
}
div.video
{
text-align: center;
}
div.videodownload
{
margin: 0.5em;
text-align: center;
}
div.videodownload img
{
border-width: 0px;
margin: 0.5em;
}
div.videoccdata
{
margin: 2em;
text-align: center;
}
div.videoccdata img
{
border-width: 0px;
margin-left: 0.5em;
margin-right: 0.5em;
margin-top: 0.5em;
}
table.videometadata
{
border-width: 0px;
width: 100%;
}
table.videometadata tr td.leftcell
{
color: #606060;
text-align: right;
width: 50%;
}
table.videometadata tr td.rightcell
{
text-align: left;
width: 50%;
}
div.comments
{
line-height: 2.5em;
margin: 1.5em;
text-align: center;
}
div.comments div.comment
{
margin: 0.75em;
line-height: 1.5em;
}
div.commentform
{
text-align: center;
}
div.commentform form
{
line-height: 2.5em;
text-align: center;
}
div.toplists
{
text-align: center;
padding: 0.75em;
}
div.tagcloud
{
text-align: center;
margin: 4em;
padding: 4em;
}
div.footer
{
margin: 1.5em;
text-align: center;
padding: 0.75em;
}
fieldset
{
border-width: 0px;
}
hr
{
background-color: #c0c0c0;
position: relative;
top: 0.25em;
margin-bottom: 1.5em;
}
input
{
text-align: left;
}
img
{
border: 0;
}
img.openid-icon
{
padding-left: 0.2em;
vertical-align: text-top;
}
img.logo-big
{
display: inline-block;
padding-bottom: 1.5em;
}
img.logo-small
{
display: inline-block;
float: left;
}
span.protip
{
color: #606060;
@ -260,8 +177,3 @@ td
{
vertical-align: top;
}
img
{
border: 0;
}

View file

@ -223,9 +223,7 @@
<xsl:template name="frontpage">
<div class="logo-big">
<img src="/images/logo-big.png" alt="Yolanda logo (320x100)" />
</div>
<img class="logo-big" src="/images/logo-big.png" alt="Yolanda logo (320x100)" />
<div class="search">
<form method="get" enctype="text/plain">
@ -281,11 +279,9 @@
<xsl:template name="searchbar">
<div class="logo-small">
<a href="/">
<img src="/images/logo-small.png" alt="Yolanda logo top (160x25)" />
</a>
</div>
<a href="/">
<img class="logo-small" src="/images/logo-small.png" alt="Yolanda logo top (160x25)" />
</a>
<div class="search-small">
<form method="get" enctype="text/plain">