MediaWiki:Common.css: Difference between revisions
From XionKB
Jump to navigationJump to search
(Created page with "→CSS placed here will be applied to all skins: @import url("https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,600;1,600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap"); @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); @import url('https://fonts.googleapis.co...") |
m (gallerybox padding screws things up) |
||
| (34 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( | @import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@700'); | ||
@ | |||
@ | @font-face { | ||
@ | font-family: 'Neoverdana'; | ||
src: url('https://xion.mt/nverdan.woff') format('woff'); | |||
} | |||
@font-face { | |||
font-family: 'Neoverdana'; | |||
src: url('https://xion.mt/nverdanb.woff') format('woff'); | |||
font-weight: bold; | |||
} | |||
@font-face { | |||
font-family: 'Neoverdana'; | |||
src: url('https://xion.mt/nverdani.woff') format('woff'); | |||
font-style: italic; | |||
} | |||
@font-face { | |||
font-family: 'Neoverdana'; | |||
src: url('https://xion.mt/nverdanz.woff') format('woff'); | |||
font-weight: bold; | |||
font-style: italic; | |||
} | |||
@font-face { | |||
font-family: 'Source Sans Pro'; | |||
src: url('https://xion.mt/sourcesanspro.woff') format('woff'); | |||
} | |||
@font-face { | |||
font-family: 'Source Sans Pro'; | |||
src: url('https://xion.mt/sourcesansprob.woff') format('woff'); | |||
font-weight: bold; | |||
} | |||
@font-face { | |||
font-family: 'Source Sans Pro'; | |||
src: url('https://xion.mt/sourcesansproi.woff') format('woff'); | |||
font-style: italic; | |||
} | |||
@font-face { | |||
font-family: 'Source Sans Pro'; | |||
src: url('https://xion.mt/sourcesansproz.woff') format('woff'); | |||
font-style: italic; | |||
font-weight: bold; | |||
} | |||
@font-face { | |||
font-family: 'Source Code Pro'; | |||
src: url('https://xion.mt/scpro.woff') format('woff'); | |||
} | |||
@font-face { | |||
font-family: 'Source Code Pro'; | |||
src: url('https://xion.mt/scprob.woff') format('woff'); | |||
font-weight: bold; | |||
} | |||
@font-face { | |||
font-family: 'Source Code Pro'; | |||
src: url('https://xion.mt/scproi.woff') format('woff'); | |||
font-style: italic; | |||
} | |||
@font-face { | |||
font-family: 'Source Code Pro'; | |||
src: url('https://xion.mt/scproz.woff') format('woff'); | |||
font-style: italic; | |||
font-weight: bold; | |||
} | |||
@font-face { | |||
font-family: 'Source Han Mono'; | |||
src: url('https://xion.mt/sourcehanmono.woff') format('woff'); | |||
} | |||
@font-face { | |||
font-family: 'Source Han Mono'; | |||
src: url('https://xion.mt/sourcehanmonob.woff') format('woff'); | |||
font-weight: bold; | |||
} | |||
body { | |||
font-family: 'Neoverdana', 'Source Sans Pro', 'Source Han Sans', sans-serif; | |||
} | |||
pre, .mw-code, code, tt, .mw-editfont-monospace { | |||
font-family: 'Source Code Pro', 'Source Han Mono', monospace; | |||
} | |||
/* Xion Megatrends faculty */ | |||
span.history-user[href="/User:Alexander"]:before, | |||
div.mw-body[href="/User:Alexander"]:before, | |||
div.mw-warning-with-logexcerpt[href="/User:Alexander"]:before, | |||
a.mw-userlink[href="/User:Alexander"]:before { | |||
content: 'χ'; | |||
padding-right: 0.25em; | |||
font-family: 'Vollkorn', serif; | |||
font-style: normal; | |||
font-weight: bold; | |||
color: rgb(96, 96, 96); | |||
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75); | |||
} | |||
/* Webmasters */ | /* Webmasters */ | ||
| Line 25: | Line 127: | ||
font-weight: bold; | font-weight: bold; | ||
color: rgb(230, 118, 53); | color: rgb(230, 118, 53); | ||
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75); | |||
} | |||
/* Administrators */ | |||
span.history-user[href="/User:Rune"], | |||
div.mw-body[href="/User:Rune"], | |||
div.mw-warning-with-logexcerpt[href="/User:Rune"], | |||
a.mw-userlink[href="/User:Rune"] { | |||
font-style: italic; | |||
} | |||
span.history-user[href="/User:Rune"]:after, | |||
div.mw-body[href="/User:Rune"]:after, | |||
div.mw-warning-with-logexcerpt[href="/User:Rune"]:after, | |||
a.mw-userlink[href="/User:Rune"]:after { | |||
content: 'α'; | |||
padding-left: 0.25em; | |||
font-family: 'Vollkorn', serif; | |||
font-style: normal; | |||
font-weight: bold; | |||
color: rgb(181, 48, 36); | |||
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75); | |||
} | |||
/* Bots */ | |||
span.history-user[href="/User:MediaWiki_default"], | |||
div.mw-body[href="/User:MediaWiki_default"], | |||
div.mw-warning-w7ith-logexcerpt[href="/User:MediaWiki_default"], | |||
a.mw-userlink[href="/User:MediaWiki_default"] { | |||
font-style: italic; | |||
} | |||
span.history-user[href="/User:MediaWiki_default"]:after, | |||
div.mw-body[href="/User:MediaWiki_default"]:after, | |||
div.mw-warning-with-logexcerpt[href="/User:MediaWiki_default"]:after, | |||
a.mw-userlink[href="/User:MediaWiki_default"]:after { | |||
content: 'π'; | |||
padding-left: 0.25em; | |||
font-family: 'Vollkorn', serif; | |||
font-style: normal; | |||
font-weight: bold; | |||
color: rgb(37, 62, 154); | |||
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75); | text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75); | ||
} | } | ||
/* The "star" in C*, F*, A*, ... */ | /* The "star" in C*, F*, A*, ... */ | ||
._star { | ._star {} | ||
/* The "flat" in C♭ and then the "sharp" in C♯ */ | |||
._music {} | |||
} | |||
/* Make hidden explanatory text noticeable */ | /* Make hidden explanatory text noticeable */ | ||
.abbr { | .abbr { | ||
border-bottom: | border-bottom: 1px dotted #000; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
| Line 44: | Line 186: | ||
/* Make examples stand out */ | /* Make examples stand out */ | ||
.example { | .example { | ||
background-color: rgb(248, 249, 250); | background-color: rgb(248, 249, 250); | ||
background-color: rgba(248, 249, 250, 0.5); | background-color: rgba(248, 249, 250, 0.5); | ||
| Line 53: | Line 194: | ||
.roundy { | .roundy { | ||
border | border-radius: 5px 5px 10px 10px; | ||
} | } | ||
| Line 71: | Line 209: | ||
span.sig > a:hover { | span.sig > a:hover { | ||
text-decoration: none; | text-decoration: none; | ||
} | |||
ul.gallery.gallery.gallery { | |||
margin: 10px auto; | |||
} | |||
.mw-gallery-nolines { | |||
border: 2px solid rgba(88, 88, 88, 0.6); | |||
border-bottom: none; | |||
background-color: rgba(88, 88, 88, 0.05); | |||
border-radius: 5px 5px 10px 10px; | |||
} | |||
div.thumbinner { | |||
min-width: 100px; | |||
} | } | ||
Latest revision as of 10:45, 2 February 2025
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@700');
@font-face {
font-family: 'Neoverdana';
src: url('https://xion.mt/nverdan.woff') format('woff');
}
@font-face {
font-family: 'Neoverdana';
src: url('https://xion.mt/nverdanb.woff') format('woff');
font-weight: bold;
}
@font-face {
font-family: 'Neoverdana';
src: url('https://xion.mt/nverdani.woff') format('woff');
font-style: italic;
}
@font-face {
font-family: 'Neoverdana';
src: url('https://xion.mt/nverdanz.woff') format('woff');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('https://xion.mt/sourcesanspro.woff') format('woff');
}
@font-face {
font-family: 'Source Sans Pro';
src: url('https://xion.mt/sourcesansprob.woff') format('woff');
font-weight: bold;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('https://xion.mt/sourcesansproi.woff') format('woff');
font-style: italic;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('https://xion.mt/sourcesansproz.woff') format('woff');
font-style: italic;
font-weight: bold;
}
@font-face {
font-family: 'Source Code Pro';
src: url('https://xion.mt/scpro.woff') format('woff');
}
@font-face {
font-family: 'Source Code Pro';
src: url('https://xion.mt/scprob.woff') format('woff');
font-weight: bold;
}
@font-face {
font-family: 'Source Code Pro';
src: url('https://xion.mt/scproi.woff') format('woff');
font-style: italic;
}
@font-face {
font-family: 'Source Code Pro';
src: url('https://xion.mt/scproz.woff') format('woff');
font-style: italic;
font-weight: bold;
}
@font-face {
font-family: 'Source Han Mono';
src: url('https://xion.mt/sourcehanmono.woff') format('woff');
}
@font-face {
font-family: 'Source Han Mono';
src: url('https://xion.mt/sourcehanmonob.woff') format('woff');
font-weight: bold;
}
body {
font-family: 'Neoverdana', 'Source Sans Pro', 'Source Han Sans', sans-serif;
}
pre, .mw-code, code, tt, .mw-editfont-monospace {
font-family: 'Source Code Pro', 'Source Han Mono', monospace;
}
/* Xion Megatrends faculty */
span.history-user[href="/User:Alexander"]:before,
div.mw-body[href="/User:Alexander"]:before,
div.mw-warning-with-logexcerpt[href="/User:Alexander"]:before,
a.mw-userlink[href="/User:Alexander"]:before {
content: 'χ';
padding-right: 0.25em;
font-family: 'Vollkorn', serif;
font-style: normal;
font-weight: bold;
color: rgb(96, 96, 96);
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}
/* Webmasters */
span.history-user[href="/User:Alexander"],
div.mw-body[href="/User:Alexander"],
div.mw-warning-with-logexcerpt[href="/User:Alexander"],
a.mw-userlink[href="/User:Alexander"] {
font-style: italic;
font-weight: bold;
}
span.history-user[href="/User:Alexander"]:after,
div.mw-body[href="/User:Alexander"]:after,
div.mw-warning-with-logexcerpt[href="/User:Alexander"]:after,
a.mw-userlink[href="/User:Alexander"]:after {
content: 'ξ';
padding-left: 0.25em;
font-family: 'Vollkorn', serif;
font-style: normal;
font-weight: bold;
color: rgb(230, 118, 53);
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}
/* Administrators */
span.history-user[href="/User:Rune"],
div.mw-body[href="/User:Rune"],
div.mw-warning-with-logexcerpt[href="/User:Rune"],
a.mw-userlink[href="/User:Rune"] {
font-style: italic;
}
span.history-user[href="/User:Rune"]:after,
div.mw-body[href="/User:Rune"]:after,
div.mw-warning-with-logexcerpt[href="/User:Rune"]:after,
a.mw-userlink[href="/User:Rune"]:after {
content: 'α';
padding-left: 0.25em;
font-family: 'Vollkorn', serif;
font-style: normal;
font-weight: bold;
color: rgb(181, 48, 36);
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}
/* Bots */
span.history-user[href="/User:MediaWiki_default"],
div.mw-body[href="/User:MediaWiki_default"],
div.mw-warning-w7ith-logexcerpt[href="/User:MediaWiki_default"],
a.mw-userlink[href="/User:MediaWiki_default"] {
font-style: italic;
}
span.history-user[href="/User:MediaWiki_default"]:after,
div.mw-body[href="/User:MediaWiki_default"]:after,
div.mw-warning-with-logexcerpt[href="/User:MediaWiki_default"]:after,
a.mw-userlink[href="/User:MediaWiki_default"]:after {
content: 'π';
padding-left: 0.25em;
font-family: 'Vollkorn', serif;
font-style: normal;
font-weight: bold;
color: rgb(37, 62, 154);
text-shadow: 0.07em 0.07em 0.05em rgba(0,0,0,0.75);
}
/* The "star" in C*, F*, A*, ... */
._star {}
/* The "flat" in C♭ and then the "sharp" in C♯ */
._music {}
/* Make hidden explanatory text noticeable */
.abbr {
border-bottom: 1px dotted #000;
cursor: pointer;
}
/* Make examples stand out */
.example {
background-color: rgb(248, 249, 250);
background-color: rgba(248, 249, 250, 0.5);
border-color: rgb(170, 170, 170);
border-color: rgba(170, 170, 170, 0.5);
border-radius: 0.2rem;
}
.roundy {
border-radius: 5px 5px 10px 10px;
}
hr {
margin-top: 1em;
margin-bottom: 1em;
}
.mw-wiki-logo {
background-size: 155px;
}
span.sig > a, span.sig > a:link, span.sig > a:visited, span.sig > a:active,
span.sig > a:hover {
text-decoration: none;
}
ul.gallery.gallery.gallery {
margin: 10px auto;
}
.mw-gallery-nolines {
border: 2px solid rgba(88, 88, 88, 0.6);
border-bottom: none;
background-color: rgba(88, 88, 88, 0.05);
border-radius: 5px 5px 10px 10px;
}
div.thumbinner {
min-width: 100px;
}