MediaWiki:Common.css
De GrialWIKI
(Diferencias entre revisiones)
Línea 5: | Línea 5: | ||
} | } | ||
- | /* | + | /** |
- | table.wikitable | + | * wikitable class for skinning normal tables |
- | + | * keep in sync with commonPrint.css | |
+ | */ | ||
+ | table.wikitable { | ||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
- | background: #f9f9f9; | + | background-color: #f9f9f9; |
- | border: 1px # | + | border: 1px #aaa solid; |
border-collapse: collapse; | border-collapse: collapse; | ||
- | + | color: black; | |
} | } | ||
- | table.wikitable th, table.wikitable td, | + | table.wikitable > tr > th, |
- | table. | + | table.wikitable > tr > td, |
- | border: 1px # | + | table.wikitable > * > tr > th, |
- | padding: 0.2em | + | table.wikitable > * > tr > td { |
+ | border: 1px #aaa solid; | ||
+ | padding: 0.2em; | ||
} | } | ||
- | table.wikitable th | + | table.wikitable > tr > th, |
- | + | table.wikitable > * > tr > th { | |
- | background: # | + | background-color: #f2f2f2; |
text-align: center; | text-align: center; | ||
} | } | ||
- | table.wikitable | + | table.wikitable > caption { |
- | + | font-weight: bold; | |
- | + | ||
- | + | ||
} | } | ||
- | table. | + | |
- | + | /* hide initially collapsed collapsable tables */ | |
- | background: # | + | table.collapsed tr.collapsable { |
- | + | display: none; | |
+ | } | ||
+ | |||
+ | /* success and error messages */ | ||
+ | .success { | ||
+ | color: green; | ||
+ | font-size: larger; | ||
+ | } | ||
+ | .warning { | ||
+ | color: #FFA500; /* orange */ | ||
+ | font-size: larger; | ||
+ | } | ||
+ | .error { | ||
+ | color: red; | ||
+ | font-size: larger; | ||
+ | } | ||
+ | .errorbox, | ||
+ | .warningbox, | ||
+ | .successbox { | ||
+ | font-size: larger; | ||
+ | border: 2px solid; | ||
+ | padding: .5em 1em; | ||
+ | float: left; | ||
+ | margin-bottom: 2em; | ||
+ | color: #000; | ||
+ | } | ||
+ | .errorbox { | ||
+ | border-color: red; | ||
+ | background-color: #fff2f2; | ||
+ | } | ||
+ | .warningbox { | ||
+ | border-color: #FF8C00; /* darkorange */ | ||
+ | background-color: #FFFFC0; | ||
+ | } | ||
+ | .successbox { | ||
+ | border-color: green; | ||
+ | background-color: #dfd; | ||
} | } | ||
- | + | .errorbox h2, | |
- | + | .warningbox h2, | |
- | + | .successbox h2 { | |
- | + | font-size: 1em; | |
font-weight: bold; | font-weight: bold; | ||
+ | display: inline; | ||
+ | margin: 0 .5em 0 0; | ||
+ | border: none; | ||
} | } |
Revisión de 16:42 5 abr 2013
/* Los estilos CSS definidos aquí aplicarán a todas las pieles (skins) */ pre { font-size:11pt; line-height:125% } /** * wikitable class for skinning normal tables * keep in sync with commonPrint.css */ table.wikitable { margin: 1em 1em 1em 0; background-color: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; color: black; } table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { border: 1px #aaa solid; padding: 0.2em; } table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #f2f2f2; text-align: center; } table.wikitable > caption { font-weight: bold; } /* hide initially collapsed collapsable tables */ table.collapsed tr.collapsable { display: none; } /* success and error messages */ .success { color: green; font-size: larger; } .warning { color: #FFA500; /* orange */ font-size: larger; } .error { color: red; font-size: larger; } .errorbox, .warningbox, .successbox { font-size: larger; border: 2px solid; padding: .5em 1em; float: left; margin-bottom: 2em; color: #000; } .errorbox { border-color: red; background-color: #fff2f2; } .warningbox { border-color: #FF8C00; /* darkorange */ background-color: #FFFFC0; } .successbox { border-color: green; background-color: #dfd; } .errorbox h2, .warningbox h2, .successbox h2 { font-size: 1em; font-weight: bold; display: inline; margin: 0 .5em 0 0; border: none; }