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; 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 a
{ {
color: #3f3fff; color: #3f3fff;
@ -29,9 +19,21 @@ a
a.tag 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 div
{ {
border-width: 0px; border-width: 0px;
@ -47,19 +49,19 @@ div
vertical-align: bottom; vertical-align: bottom;
} }
div.header2 div.header2
{ {
clear: none; clear: none;
float: right; float: right;
text-align: right; text-align: right;
width: 50%; width: 50%;
vertical-align: bottom;
} }
img.openid-icon div.loginform, div.registerform, div.uploadform
{ {
padding-left: 0.2em; line-height: 2.5em;
vertical-align: text-top; margin: 1.5em;
} }
div.messagebox div.messagebox
@ -83,35 +85,13 @@ div
div.messagebox img div.messagebox img
{ {
margin: 0.5em; margin-bottom: 0.75em;
vertical-align: middle; 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 div.search
{ {
padding: 1em; padding: 0.75em;
text-align: center;
} }
div.search-small div.search-small
@ -119,128 +99,65 @@ div
clear: none; clear: none;
float: right; float: right;
text-align: 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 div.toplists
{ {
text-align: center; padding: 0.75em;
} }
div.tagcloud div.tagcloud
{ {
text-align: center; padding: 4em;
margin: 4em;
} }
div.footer div.footer
{ {
margin: 1.5em; padding: 0.75em;
text-align: center;
} }
fieldset
{
border-width: 0px;
}
hr hr
{ {
background-color: #c0c0c0; background-color: #c0c0c0;
position: relative; position: relative;
top: 0.25em; 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 span.protip
{ {
color: #606060; color: #606060;
@ -260,8 +177,3 @@ td
{ {
vertical-align: top; vertical-align: top;
} }
img
{
border: 0;
}

View file

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