MediaWiki:Common.css: Difference between revisions
From Ethene
Content added Content deleted
m (Attempt at fixing Visual Editor toolbar when not floating.) Tag: Reverted |
m (Move toolbar margins down just a bit.) |
||
(8 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 body text (does not include headings or monospaced text): */ |
/* Changes the default font used for MediaWiki body text (does not include headings or monospaced text): */ |
||
Line 30: | Line 30: | ||
#p-logo-text a.long { |
#p-logo-text a.long { |
||
line-height: 1.5; |
line-height: 1.5; |
||
} |
|||
/* Modifies the upper border from the default wiki theme: */ |
|||
#mw-header-container { |
|||
min-height: 3.4em; |
|||
} |
} |
||
Line 57: | Line 52: | ||
background-repeat: repeat-x; |
background-repeat: repeat-x; |
||
background-position: top; |
background-position: top; |
||
⚫ | |||
} |
} |
||
Line 66: | Line 60: | ||
} |
} |
||
/* |
/* Move the Visual Editor toolbar down just a bit */ |
||
@media screen and (min-width: 851px) { |
|||
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar { |
|||
.ve-init-mw-desktopArticleTarget-toolbar { |
|||
top: .8em; |
|||
⚫ | |||
} |
|||
} |
} |
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;
}
}