MediaWiki:Common.css: Difference between revisions
From Ethene
Content deleted Content added
m Remove h3. |
m Move toolbar margins down just a bit. |
||
(30 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=Varela+Round'); |
||
/* Changes the default font used for MediaWiki |
/* Changes the default font used for MediaWiki body text (does not include headings or monospaced text): */ |
||
body { |
body { |
||
font-family: "Varela Round", sans-serif; |
font-family: "Varela Round", sans-serif; |
||
} |
} |
||
/* Changes the default font used for MediaWiki headings |
/* Changes the default font used for MediaWiki headings: */ |
||
#content h1, |
#content h1, |
||
#content h2 |
#content h2, |
||
#content h3, |
|||
⚫ | |||
#content h4, |
|||
#content h5 { |
|||
⚫ | |||
} |
|||
/* 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; |
|||
} |
|||
} |
} |
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;
}
}