MediaWiki:Common.css: Difference between revisions
From Ethene
Content deleted Content added
m Another attempt at targeting the toolbar only while it's floating. Tag: Reverted |
m Move toolbar margins down just a bit. |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1:
/* CSS placed here will be applied to all skins */
@import url(
/* Changes the default font used for MediaWiki body text (does not include headings or monospaced text): */
Line 30:
#p-logo-text a.long {
line-height: 1.5;
}
Line 57 ⟶ 52:
background-repeat: repeat-x;
background-position: top;
margin-top: 2.5em;▼
}
Line 66 ⟶ 60:
}
/*
@media screen and (min-width: 851px) {
.ve-init-mw-desktopArticleTarget-toolbar {
}
}
|
Latest revision as of 14:58, 7 July 2024
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Varela+Round');
/* Changes the default font used for MediaWiki body text (does not include headings or monospaced text): */
body {
font-family: "Varela Round", sans-serif;
}
/* Changes the default font used for MediaWiki headings: */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5 {
font-family: "Varela Round", sans-serif;
}
/* Changes the default font used for the MediaWiki logo text: */
#p-logo-text a {
font-family: "Varela Round", sans-serif;
}
/* Changes the default font used for the logged in user's username: */
#personal h2 {
font-family: "Varela Round", sans-serif;
}
/* Modifies the logo text to be more centered: */
#p-logo-text a.long {
line-height: 1.5;
}
.color-middle {
background: #ffffff;
}
.color-left {
background: #ffffff;
}
.color-right {
background: #ffffff;
}
@media screen {
/* Adds a background and a few styling changes: */
#mw-content-container {
background: #ffffff;
border-bottom: unset;
background-image: url("https://static.miraheze.org/dragonquestxwiki/f/f8/Hiroba_background.jpg");
background-repeat: repeat-x;
background-position: top;
}
/* Changes padding around the page content: */
#mw-content {
padding: 0em .5em .5em;
}
}
/* Move the Visual Editor toolbar down just a bit */
@media screen and (min-width: 851px) {
.ve-init-mw-desktopArticleTarget-toolbar {
margin: -0.2em -2em 0;
}
}