Ecco il codice del mio TEMPLATE.CSS.
Fammi sapere se ti serve altro
html {
height: 100%;
margin-bottom: 0px;
}
form {
margin: 0;
padding: 0;
}
img,table {
border: none;
}
body {
font-family: Tahoma, Arial, sans-serif;
line-height: 1.3em;
margin: 0;
padding: 0;
font-size: 12px;
color: #000000; /* Colore Testo dei documenti main*/
}
body.contentpane {
background: #000;
}
a:link, a:visited {
text-decoration: underline;
font-weight: normal;
color: #ff0000; /* Colore Link */
outline: none;
}
a:hover {
text-decoration: none;
font-weight: normal;
color: #0090ff; /* Colore passaggio del mouse su link */
}
input.button, .validate {
font-size: 10px;
border: 1px solid #ff0000; /* Colore del bordo del pulsante di Login */
color: #ffff00; /* Colore del testo del pulsante di Login */
background: #001688; /* Colore del sfondo del pulsante di Login */
}
.search input.button {
text-align: right;
}
input.button:hover, .validate:hover {
}
p {
margin-top: 0;
margin-bottom: 5px;
text-align: justify;
}
.inputbox {
border: 1px solid #ff0000; /* Colore del bordo del username e password */
color: #001688; /* Colore del testo del username e password */
padding: 2px;
background: transparent;
}
.inputbox:hover {
}
/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/
#page_bg {
padding: 0;
background: url(../images/bodybg.jpg) top left repeat;
}
div.center {
text-align: left;
margin: 0 auto;
padding: 0;
width: 954px;
}
div#wrapper {
margin: 0 auto;
width: 954px;
background: url(../images/content.jpg) top center repeat-y;
}
#header {
height: 260px;
background: url(../images/header.jpg) top center no-repeat;
margin: 0 auto;
width: 954px;
}
#content {
width: 900px;
margin: 0 auto;
padding: 0 42px 14px 14px;
overflow: hidden;
}
#content_bottom {
width: 954px;
height: 70px;
background: url(../images/content_bottom.jpg) top center no-repeat;
}
#logo {
padding: 160px 30px 0 0;
text-align: right;
margin: 0 auto;
width: 890px;
}
#logo a, #logo a:link, #logo a:hover {
font-weight: normal;
font-family: Verdana, Arial, sans-serif;
font-size: 26px;
padding: 0;
margin: 0;
letter-spacing: 1px;
color: #F9F9F9;
text-decoration: none;
outline: none;
line-height: 36px;
}
/**********************************************************************************************************************/
/* */
/* B A N N E R */
/* */
/**********************************************************************************************************************/
#banner {
height: 75px;
background: url(../images/banner.jpg) top center no-repeat;
margin: 0 auto;
padding: 0 0 0 0;
width: 954px;
}
#banner a, #banner a:link, #banner a:hover {
font-weight: normal;
font-family: Verdana, Arial, sans-serif;
font-size: 14px;
margin: 0 0 0 0;
padding: 0 0 0 0;
letter-spacing: 1px;
color: #F9F9F9;
text-decoration: none;
outline: none;
line-height: 0px;
}
/**********************************************************************************************************************/
/* */
/* B A N N E R F I N E */
/* */
/**********************************************************************************************************************/
.pill_m {
padding: 0;
width: 700px;
height: 22px;
float: right;
}
#pillmenu {
float: right;
margin: 0;
padding: 68px 0 0 0;
}
#pillmenu ul {
margin: 0;
padding: 0 20px;
list-style: none;
}
#pillmenu li {
float: left;
margin: 0 2px;
padding: 0;
height: 22px;
background: url(../images/menu_li.jpg) top right no-repeat;
}
#pillmenu li:hover {
}
#pillmenu li a#active_menu-nav {
color: #f4f4f4;
}
#pillmenu li a {
font-family: Verdana, Tahoma, sans-serif;
font-size: 12px;
float: left;
display: block;
line-height: 22px;
padding: 0 8px 0 8px;
color: #e2e2e2;
text-decoration: none;
font-weight: normal;
background: url(../images/menu_li_a.jpg) top left no-repeat;
}
#pillmenu li a:hover {
color: #f4f4f4;
}
#leftcolumn ,#rightcolumn {
margin: 0;
width: 195px;
float: left;
text-align: left;
padding: 0 10px 0 0;
}
div#maincolumn {
float: left;
width: 682px;
}
div.nopad {
overflow: hidden;
padding: 0;
}
div.nopad ul {
clear: both;
}
td.middle_pad {
width: 20px;
}
#banner_l {
text-align: left;
padding: 0 0 0 24px;
}
#footer {
margin: 0 auto;
width: 902px;
height: 50px;
text-align: center;
vertical-align: top;
padding-bottom: 10px;
}
#footer p {
height: 20px;
text-align: right;
padding: 10px 30px 0 0;
color: #0090ff; /* colore "Valid XHTML and CSS." in fondo alla pagina*/
}
/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/
div.offline {
background: #fffebb;
width: 100%;
position: absolute;
top: 0;
left: 0;
font-size: 1.2em;
padding: 5px;
}
/* headers */
div.componentheading {
height: 22px;
padding: 8px 0 0 10px;
}
table.blog {
}
h1 {
padding: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 20px;
font-weight: bold;
color: #ff0000;
text-align: center;
width: 100%;
}
h2, .contentheading {
padding: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 14px;
vertical-align: middle;
color: #ff0000; /* Colore titolo articoli*/
text-align: left;
font-weight: bold;
}
table.contentpaneopen h3 {
margin-top: 25px;
}
h4 {
font-family: Tahoma, Arial, sans-serif;
color: #333;
}
h3, .componentheading, table.moduletable th, legend {
margin: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 14px;
text-align: left;
color: #001688; /* Colore Welcome all'inizio*/
font-weight: bold;
padding: 0;
}
/* small text */
.small {
font-size: 10px;
color: #001188; /* Colore intestazione articolo*/
font-weight: normal;
text-align: left;
}
.modifydate {
height: 20px;
vertical-align: bottom;
font-size: 10px;
color: #001188; /*Colore del written by*/
font-weight: normal;
text-align: right;
}
.createdate {
height: 20px;
vertical-align: top;
font-size: 10px;
color: #ff0000; /*Colore data inserimento*/
font-weight: normal;
vertical-align: top;
padding-top: 0px;
}
a.readon {
display: block;
float: right;
line-height: 14px;
font-size: 10px;
color: #ff0000; /*Colore Read more*/
text-decoration: none;
padding: 1px 2px 1px 2px;
}
a.readon:hover {
text-decoration: underline;
}
/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }
/** overlib **/
.ol-foreground {
background-color: #f1f1f1;
color: #333;
}
.ol-background {
background-color: #f1f1f1;
color: #333;
}
.ol-textfont {
font-family: Tahoma, Arial, sans-serif;
font-size: 10px;
}
.ol-captionfont {
font-family: Tahoma, Arial, sans-serif;
font-size: 12px;
color: #f6f6f6;
font-weight: bold;
}
.ol-captionfont a {
background-color: #f1f1f1;
color: #333;
text-decoration: none;
font-size: 12px;
}
.ol-closefont {}
/* menu links */
a.mainlevel:link, a.mainlevel:visited {
padding-left: 5px;
}
a.mainlevel:hover {
}
/* spacers */
span.article_separator {
display: block;
height: 20px;
}
.article_column {
}
.column_separator {
}
td.buttonheading {
text-align: right;
width: 0;
}
.clr {
clear: both;
}
table.blog span.article_separator {
display: block;
height: 20px;
}
/* table of contents */
table.contenttoc {
margin: 5px;
border: 1px solid #ccc;
padding: 5px;
}
table.contenttoc td {
padding: 0 5px;
}
/* content tables */
td.sectiontableheader {
color: #333;
font-weight: bold;
padding: 4px;
border-bottom: 1px solid #666;
}
tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
padding: 4px;
}
td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
padding: 3px;
color: #666;
font-size: 10px;
}
/* content styles */
.contentpaneopen, table.contentpane {
margin: 0;
padding: 0;
}
table.contentpane td{
text-align: left;
}
table.contentpane td.contentdescription {
width: 100%;
}
table.contentpane {
text-align: left;
float: left;
width: 100%;
margin: 8px;
}
table.contentpane ul li a .category {
color: #FF8800;
}
table.contentpane ul li {
color: #666;
}
table.contentpaneopen {
margin: 2px 8px;
}
table.contentpaneopen li {
margin-bottom: 5px;
}
table.contentpaneopen fieldset {
border: 0;
border-top: 1px solid #669933;
}
table.contentpaneopen h3 {
margin-top: 25px;
}
table.contentpaneopen h4 {
font-family: Tahoma, Arial, sans-serif;
color: #669933;
}
.highlight {
background-color: #fffebb;
}
/* module control elements */
table.user1user2 div.moduletable {
margin-bottom: 0px;
}
div.moduletable, div.module {
margin-bottom: 25px;
}
div.module_menu, div.module {
margin: 0;
padding: 0;
}
div.module_menu div, div.module {
}
div.module_menu div div, div.module div div {
margin-bottom: 14px;
padding: 0;
}
div.module_menu div div div, div.module div div div{
padding: 0;
width: auto;
margin: 0;
}
div.module_menu div div div div, div.module div div div div {
background: none;
padding: 4px 8px;
}
div.module div div div form {
padding: 0;
width: 164px;
margin: 0 auto;
}
div.module div div div form ul {
margin: 0;
padding: 0 0 10px 40px;
}
div.module_menu ul {
list-style: none;
}
div.module_menu ul li{
margin: 0;
padding: 0;
}
div.module_menu ul li a:link, div.module_menu ul li a:visited {
font-weight: bold;
background: transparent url(../images/blue/bullet2.jpg) top left no-repeat;
padding: 2px 0 2px 25px;
line-height: 24px;
}
#leftcolumn div.module table ,#rightcolumn div.module table {
}
#leftcolumn div.module table.poll {
}
#leftcolumn div.module table.poll td {
text-align: left;
}
/* LEFT COL H3 */
#leftcolumn h3, #rightcolumn h3 {
color: #ff0000; /* Colore menu nel bottone */
font-family: Verdana, Tahoma, Arial, sans-serif;
font-size: 12px;
text-align: left;
height: 84px;
width: 185px;
text-decoration: none;
padding: 0 0 0 20px;
background: url(../images/h3.jpg) top center no-repeat;
font-weight: bold;
line-height: 70px;
margin: 0;
}
#leftcolumn .moduletable_menu, #leftcolumn .moduletable, #leftcolumn .moduletable_text, #leftcolumn .c,
#rightcolumn .moduletable_menu, #rightcolumn .moduletable, #rightcolumn .moduletable_text, #rightcolumn .c {
margin: 0 0 16px 0;
padding: 0 0 8px 0;
}
#leftcolumn ul.menu, #rightcolumn ul.menu {
margin: 0 auto;
padding: 0;
list-style: none;
width: 164px;
text-align: left;
}
#leftcolumn ul.menu li, #rightcolumn ul.menu li {
margin: 0;
padding: 0;
}
#leftcolumn ul.menu li:hover, #rightcolumn ul.menu li:hover {
}
/*LEFT COL LINK*/
#leftcolumn ul.menu li a, #leftcolumn ul.menu li a:link,
#rightcolumn ul.menu li a, #rightcolumn ul.menu li a:link {
line-height: 18px;
padding: 0 0 0 8px;
text-decoration: none;
color: #001688; /* Colore menu non evidenziato */
font-weight: bold;
font-size: 12px;
margin: 0;
height: 18px;
}
#leftcolumn ul.menu li a:hover, #rightcolumn ul.menu li a:hover {
color: #0090ff; /* Colore menu al passaggio */
}
/*LEFT COL CURRENT LINK*/
#leftcolumn ul.menu li#current a, #leftcolumn ul.menu li#current a:link,
#rightcolumn ul.menu li#current a, #rightcolumn ul.menu li#current a:link {
line-height: 18px;
padding: 0 0 0 8px;
text-decoration: none;
color: #ff0000; /* Colore menu evidenziato */
font-weight: bold;
font-size: 12px;
margin: 0;
height: 18px;
}
#leftcolumn ul.menu li#current a:hover, #rightcolumn ul.menu li#current a:hover {
}
/*LEFT COL SUB LINK*/
#leftcolumn ul.menu li#current ul li a, #leftcolumn ul.menu li#current ul li a:link {
line-height: 18px;
padding: 0 0 0 8px;
text-decoration: none;
color: #001688; /* Colore sub menu non evidenziato */
font-weight: bold;
font-size: 12px;
margin: 0;
height: 18px;
}
#leftcolumn ul.menu li ul li#current a, #leftcolumn ul.menu li ul li#current a:link, #leftcolumn ul.menu li ul li#current a:visited, #leftcolumn ul.menu li ul li#current a:hover {
line-height: 18px;
padding: 0 0 0 8px;
text-decoration: none;
color: #ff0000; /* Colore su menu evidenziato */
font-weight: bold;
font-size: 12px;
margin: 0 0 0 0;
height: 18px;
}
/*SUBMENU POSITION*/
#leftcolumn ul.menu li#current ul {
margin: 0 0 0 5%;
padding: 0;
}
#leftcolumn ul.menu li#current ul li {
margin: 0 0 0 5%;
padding: 0;
}
/*CURRENT SUBMENU POSITION*/
#leftcolumn ul.menu li ul {
margin: 0 0 0 5%;
padding: 0;
}
#leftcolumn ul.menu li#current ul li a:hover {
color: #0090ff; /* Colore sotto-menu al passaggio */
}
#leftcolumn ul.menu li ul, #rightcolumn ul.menu li ul {
list-style: none;
}
/* forms */
#leftcolumn .moduletable ul, #rightcolumn .moduletable ul {
margin: 6px 0;
padding: 0;
list-style: none;
}
#leftcolumn .moduletable ul li, #rightcolumn .moduletable ul li {
margin: 0;
padding: 0 2px;
}
table.adminform textarea {
width: 540px;
height: 400px;
font-size: 1em;
color: #000099;
}
form#form-login fieldset {
border: 0 none;
margin: 0;
padding: 4px 7px 9px 7px;
}
form#form-login ul li{
padding: 0;
}
form#form-login ul li a {
text-align: left;
padding: 0;
font-size: 10px;
font-weight: bold;
color: #ff0000; /*Colore forgot password menù login*/
}
/* thumbnails */
div.mosimage { margin: 5px; }
div.mosimage_caption { font-size: .90em; color: #333; }
div.caption { padding: 0 10px 0 10px; }
div.caption img { border: 1px solid #CCC; }
div.caption p { font-size: .90em; color: #333; text-align: center; }
/* Parameter Table */
table.paramlist {
margin-top: 5px;
}
table.paramlist td.paramlist_key {
width: 128px;
text-align: left;
height: 30px;
}
table.paramlist td.paramlist_value {
}
div.message {
font-family: Tahoma, Arial, sans-serif;
font-weight: bold;
font-size : 14px;
color : #c30;
text-align: center;
width: auto;
background-color: #f9f9f8;
border: solid 1px #d5d5d5;
margin: 3px 0px 10px;
padding: 3px 20px;
}
/* Banners module */
/* Default skyscraper style */
.bannergroup {
}
.banneritem {
}
/* Text advert style */
.banneritem_text {
padding: 4px;
font-size: 11px;
}
.bannerfooter_text {
padding: 4px;
font-size: 11px;
text-align: right;
}
/* System Messages */
/* see system general.css */
.pagination span { padding: 2px; }
.pagination a { padding: 2px; }
/* Polls */
.pollstableborder td {
text-align: left;
}
/* Frontend Editing*/
fieldset {
border: 1px solid #ccc;
margin-top: 15px;
padding: 15px;
}
legend {
margin: 0;
padding: 0 10px;
}
td.key {
border-bottom:1px solid #eee;
color: #333;
}
/* Tooltips */
.tool-tip {
float: left;
background: #ffc;
border: 1px solid #D4D5AA;
padding: 5px;
max-width: 200px;
}
.tool-title {
padding: 0;
margin: 0;
font-size: 100%;
font-weight: bold;
margin-top: -15px;
padding-top: 15px;
padding-bottom: 5px;
background: url(../../system/images/selector-arrow.png) no-repeat;
}
.tool-text {
font-size: 100%;
margin: 0;
}
/* System Standard Messages */
#system-message dd.message ul {
background: #C3D2E5;
padding: 0;
margin: 0;
}
/* System Error Messages */
#system-message dd.error ul {
color: #c00;
background: #E6C0C0;
border-top: 3px solid #DE7A7B;
border-bottom: 3px solid #DE7A7B;
padding: 0;
margin: 0;
}
/* System Notice Messages */
#system-message dd.notice ul {
color: #c00;
background: #EFE7B8;
border-top: 3px solid #F0DC7E;
border-bottom: 3px solid #F0DC7E;
padding: 0;
margin: 0;
}
/* ****************************************************************************** */
/* blue */
input, button {
}
/* blue */
input[type="checkbox"], input[type="radio"]{
background: transparent;
border: none;
}
/* -------------------------- */
a.sgfooter:link, a.sgfooter:visited {
color: #999;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
a.sgfooter:hover {
color: #999;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
#sgf {
font-size: 12px;
text-align: center;
width: 100%;
margin: 0 auto;
color: #0090ff; /*Colora la scritta www.contradatrevie.it*/
font-weight: bold;
font-family: Tahoma, Arial, sans-serif;
}
.sgf {
text-align: right;
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
color: #999;
text-decoration: none;
}
.sgf1 {
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
color: #999;
text-align: left;
}
a.sglink:link, a.sglink:visited {
color: #999;
font-size: 12px;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
a.sglink:hover {
color: #999;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}