MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 145: | Line 145: | ||
.bg3wiki-book-text { | .bg3wiki-book-text { | ||
padding: 30px 70px; | padding: 30px 70px; | ||
} | } | ||
Line 152: | Line 151: | ||
font-family: 'Linux Libertine', 'Georgia', 'Times', serif; | font-family: 'Linux Libertine', 'Georgia', 'Times', serif; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
} | } | ||
Revision as of 17:19, 28 August 2023
/* CSS placed here will affect users of the Vector skin */
/*
@font-face {
font-family: "EB Garamond";
src: url(/static/EBGaramond-Regular.ttf);
}
h1.mw-first-heading, .vector-body :is(h1, h2) {
font-family: "EB Garamond", "Linux Libertine", "Georgia", "Times", serif;
}
*/
html {
/* This is just for while the background image is loading. */
background-color: black !important;
/* Whole-page image background */
background-image: url(/static/background.webp);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top;
background-size: cover;
}
body.theme-dark-grey {
/* Gradient background for centered body. */
background: linear-gradient(rgba(27 27 27 / 90%) 80%, transparent);
}
.vector-body h3 {
font-size: 1.25em;
}
.vector-body h4 {
font-size: 1.2em;
}
.wikitable caption {
padding: 5px;
}
.wikitable tr :is(th, td) {
padding-left: 0.8em;
padding-right: 0.8em;
padding-top: 0.5em;
padding-bottom: 0.5em;
}
.wikitable tr td :is(ol, ul) {
margin: 0 0 0 1em;
}
/* Make some warnings more prominent */
body.theme-dark-grey .mw-userconfigpublic {
color: yellow;
}
body.theme-dark-grey .mw-userconfigdangerous {
color: red;
font-weight: bold;
}
/* Main Page stuff */
@media screen and (min-width: 780px) {
.bg3wiki-mainpage-left {
float: left;
padding-left: 10px;
padding-right: 15px;
width: calc(50% - 25px);
}
.bg3wiki-mainpage-right {
float: right;
padding-left: 15px;
padding-right: 10px;
width: calc(50% - 25px);
}
}
body:is(.page-Main_Page, .page-Template_MainPageDesktop) h2 {
text-align: center;
}
/* Conditionally hiding things on narrow screens */
@media screen and (max-width: 1199px) {
.bg3wiki-minwidth-1200 {
display: none;
}
}
/* The feedback footer */
body.theme-dark-grey .bg3wiki-article-footer {
border: 1px solid var(--bdr-color);
background-color: var(--bg-dark);
}
.bg3wiki-article-footer {
font-size: 1.1em;
margin-top: 1em;
padding: 0.5em;
}
/* Various elements used across the wiki follow */
body.theme-dark-grey .bg3wiki-info-blob {
background-color: var(--bg-dark);
}
.bg3wiki-info-blob {
font-family: monospace;
}
div.bg3wiki-info-blob {
display: inline-block;
padding: 0 1em 0 1em;
border-radius: 20px;
}
span.bg3wiki-info-blob {
display: inline-block;
padding: 0 0.5em 0 0.5em;
border-radius: 10px;
}
.bg3wiki-d20-bg {
background-image: url('/static/d20-bg.png');
background-position: center;
background-repeat: no-repeat;
background-size: 35px;
}
.bg3wiki-tooltip-box {
background: #1B1A19;
box-shadow:
rgba(0, 0, 0, 0.14) 3px 3px 6px 0px inset,
rgba(0, 0, 0, 0.14) -3px -3px 6px 1px inset;
border: 0.15rem solid #785000;
border-radius: 10px;
padding: 15px;
}
.bg3wiki-book-text {
padding: 30px 70px;
}
.bg3wiki-book-text p {
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
font-size: 1.2em;
}
.bg3wiki-tooltip-gradient-common {
background: linear-gradient(to bottom, #1B1A1999, #1B1A1999, #1B1A1999, #40295199);
}
.bg3wiki-tooltip-gradient-uncommon {
background: linear-gradient(to bottom, #00491599, #1B1A1999, #1B1A1999, #40295199);
}
.bg3wiki-tooltip-gradient-rare {
background: linear-gradient(to bottom, #00374999, #1B1A1999, #1B1A1999, #40295199);
}
.bg3wiki-tooltip-gradient-veryrare {
background: linear-gradient(to bottom, #54003299, #1B1A1999, #1B1A1999, #40295199);
}
.bg3wiki-tooltip-gradient-legendary {
background: linear-gradient(to bottom, #563E0D99, #1B1A1999, #1B1A1999, #40295199);
}
.bg3wiki-tooltip-gradient-story {
background: linear-gradient(to bottom, #561D0099, #1B1A1999, #1B1A1999, #40295199);
}