Guten Morgen ihr Lieben!
Ich bin gerade dabei, an meinem .css-File zu verzweifeln, und hoffe, dass mir jemand von euch trotz Männertag helfen kann! :)
Und zwar ist das erstmal der Link zur Seite, damit ihr eine optische Vorstelllung habt, was ich meine!
Dort möchte ich die Schriftart aus der Sidebar auch als Standardstriftart für die ganze Seite einstellen. Allerdings ist das .Css-File des Themes sehr überladen und ich finde den Ansatz nicht, wo ich es einstellen kann.
Hier mal ein Stück der style.css (das Theme heißt übrigens JSBata!) - die ganze Datei kann ich hier aufgrund der Zeichenbegrenzung nicht reinkopieren.
HTML
*/
@import "main.css";
@import "pagebar.css";
@import "content.css";
@import "sub-content.css";
/*- Page Structure */
html { /* Force Vertical Scrollbar */
/* IE */
overflow-y: scroll;
/* Moz */
height: 100%;
margin-bottom: 0.1em;
}
* {
padding: 0;
margin: 0;
}
#page {
font: 11px Arial, Helvetica, sans-serif;
background: white;
text-align: left;
margin: 10px;
padding: 4px 0 5px;
position: relative;
/* The entire template's width is set in this class. */
width: 98%;
/*_width: 740px;*/ /* IE hack */
border: 0px solid #ddd;
border-top: none;
}
* html #page { width: 98% } /* IE hack */
body.flex #page { /* For the flexible-width setting. */
width: 95%;
/*width: 80%;
min-width: 780px;
max-width: 1000px; */
}
#primary {
width: 590px;
/*_width: 500px;*/ /* IE Hack */
float: left;
padding: 2px;
margin: 0 35px 0 12px;
/*_margin: 0 20px 0 15px;*/ /* IE Hack */
display: inline;
}
.secondary {
margin: 0 0 20px 640px;
padding-right:0px;
color: #3A3A3A;
position: relative;
width: 350px;
/* The following are IE Fixes */
/*_padding: 30px 0 10px;
_margin-left: 0%;
_margin-right: -4%;
_width: 26.5%;*/ /* IE hack */
}
/* For the flexible-width setting. */
body.flex #primary { width: 55% }
.flex .secondary { width: 35% }
.comments {
font: 11px Arial, Helvetica, sans-serif;
text-align: left;
padding: 10px 0 0;
position: relative;
}
.admintab {
position: absolute;
right: 0px;
/*_padding: 5px 15px 6px;*/ /* IE hack */
}
* html .admintab { padding: 0px } /* IE hack */
a img,:link img,:visited img { border:none }
/*- Sidebar Subpages Menu */
.sb-pagemenu ul {
margin-left: 10px;
}
.sb-pagemenu ul ul {
margin-top: 2px;
}
.sb-pagemenu ul ul .page_item {
margin-left: 10px;
padding: 0;
}
.sb-pagemenu .current_page_item {
}
.pagetitle { /* Used on static pages and archives */
text-align: left;
margin: 10px 0 10px;
color:#CCCCCC;
font-size:11px;
}
.pagetitle h2 { /* H2 is what kind of page you are on. Eg. 'Monthly Archive'. */
font-size: 21px;
font-weight: bold;
letter-spacing: -1px;
text-align: center;
display: inline;
color:#CCCCCC;
}
.secondary h2 { /* Secondary H2 is sidebar headlines */
font-size: 1.5em;
font-weight: normal;
padding: 0;
display: inline;
}
#primary h4, .permalink #primary .aside h3 { /* H3 is entry headlines. H4 is comments and replyform headlines */
font-weight: normal;
font-size: 20px;
color: #fff;
padding-left:6px;
background: url(images/bgpo.gif) repeat;
text-decoration: none;
letter-spacing: -1px;
margin:0px;
text-decoration: none;
height:26px;
/* border-bottom:1px solid #E7E7E7;*/
}
#primary h3 { /* H3 is entry headlines. H4 is comments and replyform headlines */
font-weight: normal;
font-size: 22px;
color: #ff1b51;
text-decoration: none;
background: url(images/entry_old.gif) no-repeat left top;
padding-left:50px;
letter-spacing: -1px;
margin:0px;
text-decoration: none;
height:30px;
}
#primary h3 a:link { /* H3 is entry headlines. H4 is comments and replyform headlines */
color: #ff1b51;
}
#primary h3 a:visited { /* H3 is entry headlines. H4 is comments and replyform headlines */
color: #ff1b51;
}
#primary .itemtext h3 {
font-size: 1.8em;
font-weight: normal;
margin-top: 25px;
}
#primary div.itemtext h4 {
font-size: 1.5em;
font-weight: normal;
margin-top: 25px;
}
#primary .aside h3 {
font-size: 1.6em;
font-weight: normal;
}
.itemhead {
margin-top: 10px;
}
body.staticpage .itemtext h3 {
font-size: 1.7em;
display: block;
padding: 15px 0 0;
}
body.staticpage .itemtext h4 {
font-size: 1.5em;
display: block;
padding: 15px 0 0;
}
.secondary div {
margin: 20px 0 0;
padding: 0;
}
.secondary div div div {
margin: 0;
}
#primary .metalink a, #primary .metalink a:visited, /* The Metalink class takes care of the comments, edit, rss and trackback links next to the titles */
.secondary .metalink a, .secondary .metalink a:visited,
.secondary span a, .secondary span a:visited {
color: #414141;
font-weight: normal;
}
#primary .item .itemhead .metalink, .comments #primary .metalink {
font-size: 9px;
letter-spacing: -1px;
text-transform: lowercase;
margin-left: 15px;
}
#primary .aside .itemhead .metalink {
font-size: 11px;
}
.permalink #primary .aside .itemtext {
font-size: 11px;
letter-spacing: 1px;
padding:4px;
line-height:18px;
color: #999;
}
.comments #primary .metalink {
margin: 0 15px 0 0;
float: none;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #FFFFFF;
}
body,td,th {
font: 11px Arial, Helvetica, sans-serif; ;
font-size: 11px;
color: #666666;
}
a:link {
text-decoration: none;
color: #2ba4c7;
}
a:visited {
text-decoration: none;
color: #2ba4c7;
}
a:hover {
text-decoration: none;
color: #FF2678;
}
a:active {
text-decoration: none;
color: #2ba4c7;
}
Alles anzeigen
Schonmal vielen Dank!
Doreen