Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
|||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| + | |||
| + | @import url('https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap'); | ||
.gallery-table { | .gallery-table { | ||
| + | font-family: 'Roboto Condensed', sans-serif; | ||
text-align: center; | text-align: center; | ||
background-color: white; | background-color: white; | ||
| Line 11: | Line 14: | ||
.gallery-table > tr > td, | .gallery-table > tr > td, | ||
.gallery-table > * > tr > th, | .gallery-table > * > tr > th, | ||
| − | .gallery-table > * > tr > td { | + | .gallery-table > * > tr > td { |
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
| Line 20: | Line 23: | ||
background-color: #eaecf0; | background-color: #eaecf0; | ||
text-align: center; | text-align: center; | ||
| + | font-weight: normal; | ||
} | } | ||
| + | |||
| + | .color-cfx > * > tr > th { | ||
| + | background: #eaecf0; | ||
| + | background: linear-gradient(105deg, rgba(234,236,240,1) 0%, rgba(234,236,240,1) 85%, rgba(255,0,0,0.3) 86%, rgba(255,0,0,0.3) 89%, rgba(0,255,9,0.3) 90%, rgba(0,255,0,0.3) 93%, rgba(0,0,255,0.3) 94%, rgba(0,0,255,0.3) 97%, rgba(234,236,240,1) 98%, rgba(234,236,240,1) 100%); | ||
| + | } | ||
.gallery-table > * > tr > th, | .gallery-table > * > tr > th, | ||
.gallery-table > * > tr > td { | .gallery-table > * > tr > td { | ||
width: 200px; | width: 200px; | ||
| + | } | ||
| + | |||
| + | .gallery-table > * > tr:nth-child(2) { | ||
| + | height: 360px; | ||
| + | } | ||
| + | |||
| + | /* Use below style with 'wikitable' */ | ||
| + | table.robotic { | ||
| + | font-family: 'Roboto Condensed', sans-serif; | ||
| + | background-color: white; | ||
} | } | ||
Latest revision as of 22:48, 1 November 2019
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap');
.gallery-table {
font-family: 'Roboto Condensed', sans-serif;
text-align: center;
background-color: white;
border: 1px solid #a2a9b1;
border-collapse: collapse;
}
.gallery-table > tr > th,
.gallery-table > tr > td,
.gallery-table > * > tr > th,
.gallery-table > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
.gallery-table > tr > th,
.gallery-table > * > tr > th {
background-color: #eaecf0;
text-align: center;
font-weight: normal;
}
.color-cfx > * > tr > th {
background: #eaecf0;
background: linear-gradient(105deg, rgba(234,236,240,1) 0%, rgba(234,236,240,1) 85%, rgba(255,0,0,0.3) 86%, rgba(255,0,0,0.3) 89%, rgba(0,255,9,0.3) 90%, rgba(0,255,0,0.3) 93%, rgba(0,0,255,0.3) 94%, rgba(0,0,255,0.3) 97%, rgba(234,236,240,1) 98%, rgba(234,236,240,1) 100%);
}
.gallery-table > * > tr > th,
.gallery-table > * > tr > td {
width: 200px;
}
.gallery-table > * > tr:nth-child(2) {
height: 360px;
}
/* Use below style with 'wikitable' */
table.robotic {
font-family: 'Roboto Condensed', sans-serif;
background-color: white;
}