Hi,
weiß jmd wie man die Schriftgröße nur in der Sidebar ändert?
Hier meine Style.css
PHP
/*
Theme Name: Intense
Theme URI: http://wpthemepark.com/
Description: WP Theme Intense by <a href="http://wpthemepark.com/" target="_blank">Sadish Bala</a>, based on this <a href="http://www.openwebdesign.org/design/3076/Intense_Simplicity/">design</a> by sofaspud
Version: 1.0
Author: Sadish Bala
*/
body{
margin:0px;
padding:0px;
background:#333 url(img/bodybg.png) repeat-x fixed top center;
text-align:center;
font:15px Verdana,Arial,Helvetica,sans-serif;
}
#rap{
width:700px;
margin:auto;
padding-bottom:20px;
}
/* basic styles */
h1,h2,h3,h4,h5,h6{
font-family:Arial,Verdana,Arial,Arial,sans-serif;
font-weight:lighter;
margin:0;
padding:0;
color:#333;
}
h1{
font-size:28px;
}
h2, h3{
font-size:20px;
color:#0a294f;
margin:8px 0;
}
h4{
font-size:18px;
color:#911322;
}
h5{
font-size:16px;
color:#af3d0a;
}
h6{
font-size:11px;
font-weight:bold;
color:#333;
}
del{
color:#999;
}
acronym{
/*border-bottom:1px dotted #333;*/
border:none;
background:url(img/dottedborder_dark.gif) repeat-x bottom center;
padding-bottom:1px;
cursor:help;
}
hr{
width:100%;
border:0;
margin:5px 0px !important;
margin:2px 0px 5px 0px;
height:1px;
color:#777;
background-color:#777;
}
a{
color:#af2639;
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
p{
line-height:20px;
margin:5px 0px 15px 0px;
/*text-align:justify;*/
}
.noborder{
border:0;
}
#main ul{
margin:0px;
padding:0px 10px 5px 15px;
list-style-type:none;
}
#main ol{
margin:0;
padding:0 20px;
}
#main ul li{
padding-bottom:7px;
background:transparent url(img/arrow.gif) no-repeat 0px 5px;
padding-left:10px;
}
#main ol li{
padding-bottom:7px;
}
#main ul li ul{
margin:8px 0px -7px 0px;
}
/* I can't get <pre> to display inline very well so just use <span class="pre"> */
#main .pre{
font:11px "Courier New",Courier,sans-serif;
color:#af454a;
}
img{
border:none;
}
/* floats, positioning, and widths */
.floatleft{
float:left;
}
.floatright{
float:right;
}
.w50{
width:50%;
}
.floatleft p{
padding:0px 10px 0px 0px;
}
.floatright p{
padding:0px 0px 0px 10px;
}
img.floatleft{
margin:15px 15px 5px 0px;
}
img.floatright{
margin:15px 0px 5px 15px;
}
img
{
background:none;
padding:4px 10px 10px 4px;
border-top:#eee 0px solid;
border-left:#eee 0px solid;
}
a img
{
background:none;
border:none;
padding:none;
background:url(img/shadow.gif) no-repeat right bottom;
padding:4px 10px 10px 4px;
border-top:#eee 1px solid;
border-left:#eee 1px solid;
}
/* rounded corners */
.tl{background:#333 url(img/corners/tl.gif) no-repeat top left;}
.tr{background:transparent url(img/corners/tr.gif) no-repeat top right;}
.br{background:transparent url(img/corners/br.gif) no-repeat bottom right;}
.bl{background:transparent url(img/corners/bl.gif) no-repeat bottom left;}
.ltl{background:#efefef url(img/corners/l_tl.gif) no-repeat top left;}
.ltr{background:transparent url(img/corners/l_tr.gif) no-repeat top right;}
.lbr{background:transparent url(img/corners/l_br.gif) no-repeat bottom right;}
.lbl{background:transparent url(img/corners/l_bl.gif) no-repeat bottom left;}
/* For Link Indication plugin */
a.liexternal { padding-right: 12px; background: url(img/link-icon_external_02.gif) no-repeat right; }
a.liwikipedia { padding-right: 14px; background: url(img/link-icon_wikipedia.gif) no-repeat right; }
a.liimdb { padding-right: 18px; background: url(img/link-icon_imdb.png) no-repeat right; }
a.liftp { padding-right: 13px; background: url(img/link-icon_ftp.png) no-repeat right; }
a.limailto { padding-right: 18px; background: url(img/link-icon_mail.png) no-repeat right; }
a.lipdf { padding-right: 12px; background: url(img/link-icon_pdf.png) no-repeat right; }
/* blockquotes and code*/
blockquote{
min-height:35px;
width:100%;
display:block;
margin:10px auto;
background:transparent url(img/blockquote/quote.gif) no-repeat 10px 10px;
}
* html blockquote{
min-height:35px;
height:auto !important;
height:35px;
}
blockquote p{
margin:0px;
line-height:17px;
padding:10px 10px 10px 50px;
}
blockquote span{
color:#999;
font-size:9px;
padding-top:5px;
display:block;
}
blockquote span a{
color:#555;
text-decoration:none;
}
blockquote span a:hover{
text-decoration:underline;
}
blockquote.go{
background:transparent url(img/blockquote/go.gif) no-repeat 10px 50%;
}
blockquote.stop{
background:transparent url(img/blockquote/stop.gif) no-repeat 11px 50%;
}
blockquote.exclamation{
background:transparent url(img/blockquote/exclamation.gif) no-repeat 23px 50%;
}
code{
display:block;
width:92%;
margin:0px auto 15px auto;
line-height:17px;
}
code .red{
color:#af454a;
}
/* forms */
fieldset
{
border:none;
}
form select,
form input,
form textarea{
font:1em Verdana,Arial,Helvetica,sans-serif;
}
form input:focus,
form textarea:focus,
form select:focus{
border:1px solid #666;
}
form select{
padding:2px;
}
form input{
padding:2px;
}
form label{
color:#666;
}
form textarea{
padding:1px;
line-height:16px;
width:90%;
height:20em;
}
form p{
margin:10px 0px;
}
/* top section */
#top{
background:url(img/contentbg.gif) repeat-y top center;
}
/* very bottom curve */
#bottom{
background:url(img/container_b.gif) no-repeat bottom center;
height:9px;
}
* html #bottom{
margin-top:-4px;
}
/* header */
#header{
font:30px Georgia,Verdana,Arial,Helvetica,sans-serif;
width:680px;
height:175px;
margin:auto;
text-align:left;
}
.header1
{
background:url(img/headers/h1.jpg) no-repeat top center;
}
.header2
{
background:url(img/headers/h2.jpg) no-repeat top center;
}
.header3
{
background:url(img/headers/h3.jpg) no-repeat top center;
}
.header4
{
background:url(img/headers/h4.jpg) no-repeat top center;
}
#title{
margin-top:130px;
margin-left:13px;
position:absolute;
color:#fff;
background-color:transparent;
cursor:default;
}
#header h1 a
{
color:#f0f0f0;
}
/* menubar */
.nav{
height:40px;
background-color:#333;
color:#fff;
width:680px;
margin:auto;
text-align:left;
font-size:11px;
cursor:default;
}
.nav2{
height:40px;
}
#slogan{
position:absolute;
margin:11px 0px 0px 15px;
font-size:1.1em;
font-style:italic;
}
#navdiv{
text-align:right;
}
#navlist
{
font-size:120%;
list-style-type:none;
margin:0px;
padding:10px 8px 2px 0px;
font-family: Trebuchet MS, Arial, Serif;
}
#navlist li{
display:inline;
}
#navlist li a{
color:#999;
font-weight:bold;
text-decoration:none;
height:40px;
padding:10px 6px;
}
#navlist li a:hover,#navlist li a:active, #navlist li.current_page_item a{
color:#fff;
}
/* content */
#main{
min-height:400px;
width:680px;
margin:auto;
color:#333;
text-align:left;
}
* html #main{
min-height:400px;
height:auto !important;
height:400px;
}
#content{
width:440px;
float:left;
padding:10px 10px 20px 10px;
}
* html #content{
padding-top:20px;
}
#content .post
{
margin:0 0 3em 0;
}
#content .cat
{
margin:0;
padding:0;
color:#999;
}
#content .post-info
{
color:#777;
text-align:right;
background:url(img/dottedborder.gif) repeat-x top;
}
#content .post-info em
{
font-style:normal;
float:left;
margin:0 5px 0 0;
}
em.user
{
padding-left:12px;
background:url(img/user.png) no-repeat left center;
}
em.date
{
padding-left:15px;
background:url(img/date.gif) no-repeat left center;
}
#main .post-comments
{
background:url(img/comments.gif) no-repeat left center;
padding-left:12px;
}
/* sidebar */
#sidebar{
width:190px;
float:right;
padding:20px 10px 20px 20px;
}
* html #sidebar{
padding-top:30px;
}
#sidebar ul
{
list-style:none;
}
#sidebar .sideitem{
margin-bottom:25px;
background:none;
}
#sidebar .sideitem h2{
font:12px Verdana,Arial,Helvetica,sans-serif;
font-size:17px;
color:#333;
width:100%;
background:#fff url(img/dottedborder.gif) repeat-x bottom center;
padding-bottom:3px;
margin-bottom:13px;
}
#sidebar .sideitem b{
/*display:block;*/
}
#sidebar .sideitem p
{
margin:0;
padding:0px 5px;
}
#sidebar .sideitem ul{
margin-left:-4px;
}
/* footer */
.footer{
height:50px;
width:680px;
margin:auto;
color:#fff;
text-align:left;
clear:both;
background:#000;
}
.footer div{
height:50px;
}
.footer .feed
{
background:url(img/icon_feed.gif) no-repeat left center;
padding-left:15px;
}
#copyright{
text-align:left;
float:left;
padding:8px;
margin-top:-10px;
}
#designcredit{
float:right;
padding:8px;
margin-top:-6px;
color:#649290;
}
[...]
}
Alles anzeigen
Wenn ich das ganze unter Body ändere, dann ändert sich auch die Größe der Beiträge mit. :(
Vielen Dank im Voraus!
Gruß