Hallo Monika,
danke für Deine schnelle Antwort! ... und das sogar an Weihnachten!
Ich dachte eigentlich, dass das Css-file recht ausführlich und korrekt geschrieben ist (zumal es nicht von mir geschrieben ist). Ich habe das Theme "Blue-Bye-You" von Brian Ellis für meinen Blog modifiziert. Und offensichtich hab ich da irgendwo Mist gebaut und finde meinen Mist nicht mehr.
Da ich in Sachen CSS, Wordpress und PHP noch Neuling bin, weiß ich noch nicht was in dieser Datei überflüssig oder falsch ist, will aber auch nix einfach so löschen.
Es wäre sehr nett, wenn Du/Ihr mir weiterhelfen könntet.
Liebe Grüße, Mama
Hier der Code:
/*------------Clearing the way to content----------------*/
.hide {
display:none;
}
/*----------Begin General Page Layout-----------*/
/*-------This section describes things in the order they appear on the page--------------*/
body {
margin:0;
padding:0;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 76%;
/*Tips for scaling up the font ladder, start with 76% and then use mostly ems for the rest of the page*/
font-style: normal;
line-height: 1.6em;
color: #000000;
text-align:center;
background: #EFEFEF;
}
#wrapper {
background: url(images/blog_contentbg.jpg) repeat-y;
width: 799px;
height: auto;
margin: 0 auto;
text-align: left;
color: #999;
position:relative;
}
#header {
background: url(images/blog_header.jpg) no-repeat;
height:130px;
width:100%;
}
#header h1 {
padding-top: 50px;
margin: 0;
font-size: 3em;
text-align: center;
}
.description {
font-size: 1.2em;
text-align: center;
}
h1, h1 a, h1 a:hover, h1 a:visited, .description {
text-decoration: none;
color: #99CC65;
}
/* ---------- Begin mainnav ----------------------- */
#mainnav {
background: url(images/blog_navbg.jpg) top left repeat-x;
float:left;
width:100%;
height: 72px;
}
#mainnav ul { padding: 5px; }
#mainnav ul li { display: inline; }
#mainnav ul
{
margin: 0;
padding-left: 20px;
padding-top: 8px;
color: #999;
}
#mainnav ul li a
{
padding: 0.2em 12px;
color: #999;
text-decoration: none;
float: left;
}
#mainnav ul li a:hover
{
color: #99CC65;
}
#navlist li a:hover, #navlist li a:active
{
color: #999;
text-decoration: none;
text-align: left;
}
/* ---------- End mainnav ----------------------- */
#content_container {
position:relative;
margin: 0;
padding: 0;
}
#left {
float:left;
width: 520px;
height: auto;
padding-left: 15px;
padding-top: 0px;
/* position-top: 0;
position-left: 0; */
}
.content {
margin: 0px;
padding-left: 10px;
padding-top: 0px;
}
#right {
float:right;
width: 230px;
padding-right: 24px;
/* position-top: 0;
position-right: 0; */
}
#sidebar {
width: 200px;
}
#space {
width: auto;
height: 15px;
}
.menu_links {
margin-left: 10px;
padding:10px;
font-size:.9em;
color:#99CC65;
}
.menu_links img {
margin: 0 0 0 -15px;
padding: 0;
}
#clearDiv {
clear: both;
position: relative;
line-height: 1px;
}
#footer {
clear: both;
margin-left: 2px;
padding: 0;
width: 799px;
height: 76px;
background: url(images/blog_footer.jpg);
background-repeat: no-repeat;
font-size:.9em;
color: #999;
}
.disclaimers {
margin: 0;
padding: 10px;
text-align:center;
}
/*----------End General Page Layout-----------*/
/*---This next segment goes through and adds elements per template page, such as the tags needed for the index page, or header page, etc ---*/
/*--------Start of Possible Header Template CSS elements---------------*/
h1 {
font-size: 4em;
text-align: center;
}
.description {
font-size: 1.2em;
text-align: center;
}
/*--------Start of Main Index CSS elements---------------*/
#left a:link {
text-decoration:none;
color: #99CC65;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:1em;
}
#left a:visited {
text-decoration:none;
color: #99CC65;
}
#left a:hover {
text-decoration:none;
color: #99CC65;
}
#left a:active {
text-decoration:none;
}
acronym {
cursor: help;
}
h1, h2, h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
#left h2 {
font-size: 1.2em;
color: #999;
}
.post {
margin: 0;
padding-bottom: 15px;
text-align: left;
}
.small {
font-family: Verdana, Arial, Helvetica, sans-serif;
text-indent: 5px;
font-size: .8em;
margin: 0;
padding: 0;
}
.entry {
font-size: 1em;
margin: 0;
padding: 0;
line-height: 1.3em;
}
.entrytext {
font-size: 1em;
margin: 0;
padding: 0;
line-height: 1.3em;
}
.related-links ul {
list-style: none;
}
.related-links ul li {
background: url(images/list.gif) no-repeat;
padding-left: 15px;
padding-bottom: 5px;
}
.post blockquote {
margin: 0 10px;
padding: 5px;
background: #F6F8FC url(images/top_quote.gif) top left no-repeat;
border: 1px solid #99CC65;
text-indent: 30px;
}
.post ul {
list-style: none;
}
.post ul li {
background: url(images/list.gif) no-repeat;
padding-left: 12px;
padding-bottom: 5px;
}
.post ol {
margin: 0 0 0 20px;
list-style: upper-roman;
}
.post ol li {
color: #917961;
}
.postmetadata {
text-align: right;
font-size: 10px;
margin: 0;
padding: 5px;
line-height: 11px;
}
.comment_class {
background: url(images/comment.gif) no-repeat;
height: 15px;
padding-left: 18px;
}
.postmetadata a:hover, .entry a:hover {
background-color: #E6EEDE;
}
Alles anzeigen
Teil 2 folgt