MediaWiki:Common.css: Difference between revisions
(Created page with "→CSS placed here will be applied to all skins: @import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Zen+Kaku+Gothic+New:wght@500&display=swap');") |
No edit summary |
||
| (One intermediate revision 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/css2?family=EB+Garamond&family=Zen+Kaku+Gothic+New:wght@500&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Zen+Kaku+Gothic+New:wght@500&display=swap'); | ||
/* Infobox template style */ | |||
.infobox { | |||
float: right; | |||
clear: right; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
border: 1px solid #AAA; | |||
background: #F9F9F9; | |||
color: black; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align: top; | |||
} | |||
.infobox caption { | |||
margin-left: inherit; | |||
font-size: larger; | |||
} | |||
.infobox.bordered { | |||
border-collapse: collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border: 1px solid #AAA; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border: 0; | |||
} | |||
Latest revision as of 22:58, 3 February 2023
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Zen+Kaku+Gothic+New:wght@500&display=swap');
/* Infobox template style */
.infobox {
float: right;
clear: right;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
border: 1px solid #AAA;
background: #F9F9F9;
color: black;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox caption {
margin-left: inherit;
font-size: larger;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #AAA;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}