Kod:
/* Tytuł: */
.news dt {
font-size: 12px; /* rozmiar czcionki */
text-align: left; /* wyrównanie tekstu: left, right, center, justify */
padding: 4px; /* margines wewnątrz */
border-width: 1px; /* grubość obramowania */
border-style: solid; /* styl obramowania: solid, dashed, dotted, double, groove, ridge, inset, outset */
border-color: gray; /* kolor obramowania */
font-weight: bold;
}
.news dt, .news dt a:link, .news dt a:visited {
background: silver; /* tło tytułu */
color: black; /* kolor tytułu */
text-decoration: none;
}
/* Treść */
.news dd {
background: white; /* tło */
color: black; /* kolor tekstu */
font-size: 11px; /* rozmiar czcionki */
border-width: 1px; /* grubość obramowania */
border-style: solid; /* styl obramowania: solid, dashed, dotted, double, groove, ridge, inset, outset */
border-color: gray; /* kolor obramowania */
border-top-width: 0;
margin: 0;
margin-bottom: 20px;
}
.news_content {
padding: 5px; /* margines wewnatrz */
text-align: left; /* wyrównanie tekstu: left, right, center, justify */
}
/* Data */
.news_date {
font-size: 10px; /* rozmiar czcionki */
text-align: left; /* wyrównanie tekstu: left, right, center, justify */
padding: 5px;
padding-bottom: 0;
color: black /* kolor tytułu */
}
.news_date span {
font-weight: bold;
}
/* Obrazek: */
.news_img {
float: left; /* ustawienie: left, right */
margin-right: 10px;
margin-bottom: 5px;
border: 0;
}
/* Więcej... */
.news_more {
font-size: 10px;
text-align: right;
margin-bottom: 5px;
margin-right: 15px;
}
/* Autor */
.news_author {
font-size: 10px; /* rozmiar czcionki */
text-align: left; /* wyrównanie tekstu: left, right, center, justify */
border-top-width: 1px; /* grubość obramowania */
border-top-style: dashed; /* styl obramowania: solid, dashed, dotted, double, groove, ridge, inset, outset */
border-top-color: gray; /* kolor obramowania */
padding: 5px; /* margines wewnatrz */
clear: both;
}
.news_author span {
font-weight: bold;
}