Common.css
From Eating Asturias, the Encyclopedia of Asturian Gastronomy
JonTillman (talk | contribs) m (vertical align?) |
JonTillman (talk | contribs) m (still working) |
||
| Line 114: | Line 114: | ||
} | } | ||
.portable-infobox.pi-theme-eating-asturias .pi-data-value { | .portable-infobox.pi-theme-eating-asturias .pi-data-value { | ||
display: table-cell; | |||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
Revision as of 16:34, 1 November 2022
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@1,700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;1,700&display=swap');
/* Changes the default font used for MediaWiki to Merriweather Sans (does not include headings or monospaced text): */
body {
font-family: 'Merriweather', serif;
font-size: 16px;
font-weight: 400;
}
/* Changes the default font used for MediaWiki headings to Merriweather 700: */
#content h1,
#content h2 {
font-family: 'Merriweather', serif;
font-style:italic;
font-weight: 700;
}
/*By default, hide most page tabs*/#ca-edit { display: none !important; }
#ca-delete { display: none !important; }
#ca-formedit { display: none !important; }
#ca-history { display:none!important; }
#ca-move { display: none !important; }
#ca-protect { display: none !important; }
#ca-unwatch { display: none !important; }
#ca-ve-edit { display: none !important; }
#ca-view { display: none !important; }
#ca-viewsource { display: none !important; }
#ca-watch { display: none !important; }
#p-navigation { background-color: #54692a; }
#toc {
border:1px solid #264142;
background-color: #dcdf80;
color: #54692a;
padding: 5px;
margin: 5px;
font-size: 95%;
float: right;
}
#catlinks { background-color: #dcdf80; }
#siteSub {
display: block;
font-weight: normal;
font-size: normal;
font-style: italic;
}
.mw-parser-output .ib-settlement {
width: 23em;
border-collapse: collapse;
line-height: 1.2em;
}
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
table.error {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
border:1px solid #264142;
background-color: #dcdf80;
color: #54692a !important;
}
table.error tbody th {
background-color: #54692a !important;
color: #dcdf80 !important;
}
.infobox .infobox-header, .infobox .infobox-subheader, .infobox .infobox-image, .infobox .infobox-full-data, .infobox .infobox-below {
text-align: center;
}
.portable-infobox.pi-theme-eating-asturias {
background-color: #dcdf80;
border-color: #264142;
}
.portable-infobox.pi-theme-eating-asturias .pi-header, .portable-infobox.pi-theme-eating-asturias .pi-title {
background-color: #54692a;
color: #dcdf80;
font-style: italic;
}
.portable-infobox.pi-theme-eating-asturias .pi-title {
text-align: center;
}
.portable-infobox.pi-theme-eating-asturias .pi-border-color {
border-color: #264142;
}
.portable-infobox.pi-theme-eating-asturias .pi-data-value {
display: table-cell;
vertical-align: middle;
}