MediaWiki:Common.css: differenze tra le versioni
Vai alla navigazione
Vai alla ricerca
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 26: | Riga 26: | ||
margin-bottom: 0; | margin-bottom: 0; | ||
background: linear-gradient(white, grey); | background: linear-gradient(white, grey); | ||
} | |||
/* Article message box styles */ | |||
/* copiato da https://en.wikipedia.org/wiki/MediaWiki:Common.css */ | |||
table.ambox { | |||
margin: 0 10%; /* 10% = Will not overlap with other elements */ | |||
border: 1px solid #a2a9b1; | |||
/* @noflip */ | |||
border-left: 10px solid #36c; /* Default "notice" blue */ | |||
background: #fbfbfb; | |||
box-sizing: border-box; | |||
} | |||
table.ambox + table.ambox { /* Single border between stacked boxes. */ | |||
margin-top: -1px; | |||
} | |||
.ambox th.mbox-text, | |||
.ambox td.mbox-text { /* The message body cell(s) */ | |||
padding: 0.25em 0.5em; /* 0.5em left/right */ | |||
} | |||
.ambox td.mbox-image { /* The left image cell */ | |||
/* @noflip */ | |||
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | |||
} | |||
.ambox td.mbox-imageright { /* The right image cell */ | |||
/* @noflip */ | |||
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | |||
} | |||
table.ambox-notice { | |||
/* @noflip */ | |||
border-left: 10px solid #36c; /* Blue */ | |||
} | |||
table.ambox-speedy { | |||
/* @noflip */ | |||
border-left: 10px solid #b32424; /* Red */ | |||
background: #fee7e6; /* Pink */ | |||
} | |||
table.ambox-delete { | |||
/* @noflip */ | |||
border-left: 10px solid #b32424; /* Red */ | |||
} | |||
table.ambox-content { | |||
/* @noflip */ | |||
border-left: 10px solid #f28500; /* Orange */ | |||
} | |||
table.ambox-style { | |||
/* @noflip */ | |||
border-left: 10px solid #fc3; /* Yellow */ | |||
} | |||
table.ambox-move { | |||
/* @noflip */ | |||
border-left: 10px solid #9932cc; /* Purple */ | |||
} | |||
table.ambox-protection { | |||
/* @noflip */ | |||
border-left: 10px solid #a2a9b1; /* Gray-gold */ | |||
} | } |
Versione delle 09:36, 1 lug 2018
/* Gli stili CSS inseriti qui si applicano a tutti i temi */
/* Pagina principale */
.trecolonnecontenitore {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
margin: 1em 0;
}
.trecolonnefuori {
box-sizing: border-box;
float: left;
width: 32%;
padding: 0;
border: 1px solid #ffd700;
}
.trecolonnedentro {
padding: 8px;
}
.trecolonnedentro h2 {
margin-bottom: 0;
background: linear-gradient(white, grey);
}
/* Article message box styles */
/* copiato da https://en.wikipedia.org/wiki/MediaWiki:Common.css */
table.ambox {
margin: 0 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
box-sizing: border-box;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
/* @noflip */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
/* @noflip */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
/* @noflip */
border-left: 10px solid #36c; /* Blue */
}
table.ambox-speedy {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.ambox-delete {
/* @noflip */
border-left: 10px solid #b32424; /* Red */
}
table.ambox-content {
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
/* @noflip */
border-left: 10px solid #fc3; /* Yellow */
}
table.ambox-move {
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1; /* Gray-gold */
}