MediaWiki:Common.css: Difference between revisions
From Ephimoria Wiki
No edit summary |
No edit summary |
||
(94 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* {font-family: Georgia} | * {font-family: Georgia} | ||
.mw-editsection {font-size: 14px; padding-left: 0px;} | |||
.mw-page-title-main {font-size: 27px; padding-left: 0px;} | |||
.portable-infobox .pi-data { | .portable-infobox .pi-data { | ||
Line 7: | Line 11: | ||
display: flex; | display: flex; | ||
align-items: center; /* vertically align items or text */ | align-items: center; /* vertically align items or text */ | ||
justify-content: center ; /* horizontally aligns items or text */ | justify-content: center; /* horizontally aligns items or text */ | ||
background-color: #444444; | |||
flex-basis: 120px; | |||
} | } | ||
Line 15: | Line 21: | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
font-size: | font-size: 20px !important; | ||
font-weight: bold; | font-weight: bold !important; | ||
height: 2em; /* sets height */ | height: 2em; /* sets height */ | ||
display: flex; | display: flex; | ||
align-items: center; /* vertically align items or text */ | align-items: center; /* vertically align items or text */ | ||
justify-content: center ; /* horizontally aligns items or text */ | justify-content: center ; /* horizontally aligns items or text */ | ||
background-color: #3c3c3c; | |||
flex-basis: 120px; | flex-basis: 120px; | ||
} | } | ||
/* Infobox template style */ | |||
.infobox { | |||
border: 1px solid #a2a9b1; | |||
border-spacing: 3px; | |||
background-color: #f8f9fa; | |||
color: black; | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
padding: 0.2em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
width: 22em; | |||
} | |||
.infobox-header, | |||
.infobox-label, | |||
.infobox-above, | |||
.infobox-full-data, | |||
.infobox-data, | |||
.infobox-below, | |||
.infobox-subheader, | |||
.infobox-image, | |||
.infobox-navbar, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
.infobox-label, | |||
.infobox-data, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-above, | |||
.infobox .infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
.infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
padding: 0.2em; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-header, | |||
.infobox .infobox-subheader, | |||
.infobox .infobox-image, | |||
.infobox .infobox-full-data, | |||
.infobox .infobox-below { | |||
text-align: center; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-navbar { | |||
/* @noflip */ | |||
text-align: right; | |||
} | |||
.spoilerblur { | |||
filter: blur(3px); /* fallback if for some reason browsers can't parse floating point */ | |||
filter: blur(3.5px); | |||
opacity: 0.40; | |||
transition: filter 1s linear, opacity 1s linear, text-shadow 1s linear; | |||
} | |||
#ca-talk {display: none !important;} | |||
#ca-nstab-main {display: none !important;} | |||
} | |||
.mw-body-content a.external {color: #00ebdf} | |||
.mw-body-content a.external:visited {color: #00ebdf} |
Latest revision as of 22:48, 4 September 2024
/* CSS placed here will be applied to all skins */ * {font-family: Georgia} .mw-editsection {font-size: 14px; padding-left: 0px;} .mw-page-title-main {font-size: 27px; padding-left: 0px;} .portable-infobox .pi-data { height: 3em; /* sets height */ display: flex; align-items: center; /* vertically align items or text */ justify-content: center; /* horizontally aligns items or text */ background-color: #444444; flex-basis: 120px; } .portable-infobox .pi-data-label { flex-basis: 120px; } .portable-infobox .pi-title { font-size: 20px !important; font-weight: bold !important; height: 2em; /* sets height */ display: flex; align-items: center; /* vertically align items or text */ justify-content: center ; /* horizontally aligns items or text */ background-color: #3c3c3c; flex-basis: 120px; } /* Infobox template style */ .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; /* @noflip */ margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; font-size: 88%; line-height: 1.5em; width: 22em; } .infobox-header, .infobox-label, .infobox-above, .infobox-full-data, .infobox-data, .infobox-below, .infobox-subheader, .infobox-image, .infobox-navbar, /* Remove element selector when every .infobox thing is using the standard module/templates */ .infobox th, .infobox td { vertical-align: top; } .infobox-label, .infobox-data, /* Remove element selector when every .infobox thing is using the standard module/templates */ .infobox th, .infobox td { /* @noflip */ text-align: left; } /* Remove .infobox when element selectors above are removed */ .infobox .infobox-above, .infobox .infobox-title, /* Remove element selector when every .infobox thing is using the standard module/templates */ .infobox caption { font-size: 125%; font-weight: bold; text-align: center; } .infobox-title, /* Remove element selector when every .infobox thing is using the standard module/templates */ .infobox caption { padding: 0.2em; } /* Remove .infobox when element selectors above are removed */ .infobox .infobox-header, .infobox .infobox-subheader, .infobox .infobox-image, .infobox .infobox-full-data, .infobox .infobox-below { text-align: center; } /* Remove .infobox when element selectors above are removed */ .infobox .infobox-navbar { /* @noflip */ text-align: right; } .spoilerblur { filter: blur(3px); /* fallback if for some reason browsers can't parse floating point */ filter: blur(3.5px); opacity: 0.40; transition: filter 1s linear, opacity 1s linear, text-shadow 1s linear; } #ca-talk {display: none !important;} #ca-nstab-main {display: none !important;} } .mw-body-content a.external {color: #00ebdf} .mw-body-content a.external:visited {color: #00ebdf}