MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
@import url('https://fonts.googleapis.com/css2?family=Nunito|Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/*Site Font Import from Google Fonts*/
table {
display: table;
white-space: unset;
}
body {
background-image: url(https://atelier.wiki.gg/images/5/57/Site-background.png); /*Background Site Image*/
background-attachment: fixed;
background-size: cover;
overflow-x: visible;
overflow-y: visible;
position: relative;
top: 0
}
body {
font-family: Nunito; /*Site Font*/
font-size: 18px; /*Site Font Size*/
}
.mw-body {
color: #fffff75;
background: #ffffff75; /*Main Body Background Color*/
border: 1px solid #7d6192;
border-right-width: 0
}
#mw-page-base {
color: #ffffff75;
background: #ffffff75; /*background from top of the page colors*/
height: 5em
}
#mw-panel .vector-menu-portal {
background-color: #FFFFFF75; /*Sidebar Background Color*/
border: 2px solid #7d6192; /*Border Solid Violet Color for Sidebar*/
margin-left: 5px
}
#mw-panel .portal .body li {
margin: 4px ;
padding: 4px 18px;
background: url(https://atelier.wiki.gg/images/e/ed/Sidebarnightmode.png) center/100% no-repeat; /*Sidebar Background*/
line-height: inherit;
transition: transform 100ms;
}
#mw-panel div.portal div.body ul li,
#mw-panel div.portal h2 {
font-size: 0.85em; /* Sidebar text size original was 0.75em */
}
#mw-panel {
width: 14em; /* Sidebar Width; Original Size = 10em */
}
.mw-body {
margin-left: 13em; /* move content to a fitting place; was 13em */
}
#mw-panel .portal .body li:hover {
transform: scale(1.05) /*Pointer Hover Effect*/
}
.mw-wiki-logo {
background-image: url(https://atelier.wiki.gg/images/e/e6/Site-logo.png) /*Site Logo*/
}
#mw-panel.collapsible-nav .portal .vector-menu-content ul li {
padding: 0.25em 15.5px;
}
#p-logo {
width: 100%;
height: calc(var(--theme-site-logo-height) * var(--layout-logo-scale));
background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat;
display: flex;
align-items: center;
justify-content: center;
filter: var(--theme-site-logo-filter);
transition: transform 500ms; /**Logo Animation*/
margin-bottom: var(--layout-box-gap)
}
#p-logo:hover {
transform: scale(1.05) /*Logo Grows when cursor pass over logo.*/
}
.mw-body h1,.mw-body-content h1,.mw-body-content h2 {
color: Black; /*Site Titles Font*/
margin-bottom: 0.25em;
padding: 0;
font-family: Nunito; /*Site Posts Font*/
line-height: 1.3
}
.mw-body,#mw-head-base,#left-navigation,#mw-data-after-content,.mw-footer {
margin-left: 15em; /*Body Size Reduction Left*/
margin-right: 2.5em; /*Body Size Reduction Right*/
}
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
color: #2417ab; /*Visited Page Colors Body of Page*/
}
.mw-parser-output a.extiw, .mw-parser-output a.external {
color: #5f9adc;/*Not Visited Page Colors Body of Page*/
}
@media screen {
li.gallerybox div.thumb {
border: 1px solid #c8ccd1; /*Gallery Images Background Border*/
background-color: #9134a900 /*Gallery Images Background Color*/
}
}
#left-navigation {
float: left;
margin-bottom: -2.5em;
}
#right-navigation {
float: right;
}
#mw-page-base {
color: #ffffff;
background: #b77fdf00; /*background from top of the page colors*/
height: 4.25em
}
.vector-menu-portal {
margin: 0 0.6em 0.53em; /*Side-Bar Squares*/
padding: 0em 0;
direction: ltr
}
.mw-panel {
backdrop-filter: blur(1px)
}
.vector-menu-portal .vector-menu-content li a {
color: #000047 /*Side Bar Font Color Before Click*/
}
.vector-menu-portal .vector-menu-content li a:visited {
color: #000047 /*Side Bar Font Color After Click*/
}
.vector-menu-tabs-legacy {
background: #000;
color: #ffffff
}
.vector-menu-tabs-legacy li a {
background-position: right bottom;
background-color: #ffffff; /*Top Header Background Color*/
color: #0645ad;
box-sizing: border-box;
display: block;
float: left;
height: 3.07692308em;
position: relative;
padding-top: .68em;
padding-left: 15px;
padding-right: 15px;
font-size: .8125em;
cursor: pointer
}
.vector-menu-tabs-legacy .new a,.vector-menu-tabs-legacy .new a:visited {
color: #000047;
}
.vector-menu-portal .vector-menu-heading {
display: block;
color: #ffffff; /*Side-Bar Color*/
margin: .0em 2 0 .46666667em;
border: 0;
padding: .25em 0;
font-size: .75em;
font-weight: 400;
cursor: default
}
.vector-menu-portal .vector-menu-heading {
display: block;
color: #000;
margin: .0em 0 0 .46666667em;
border: 0;
padding: .25em 0;
font-size: .95em;
font-weight: 400;
cursor: default
}
.vector-menu-portal .vector-menu-content {
margin-left: 0.5em; /*Panel Margin to the Left Side*/
padding-top: 0
}
.vector-search-box-input {
background-color: rgb(97 97 97); /*Search Atelier Colors*/
color: #ffffff;
width: 100%;
height: 2.15384615em;
box-sizing: border-box;
border: 1px solid #000;
border-radius: 2px;
padding: 5px 2.15384615em 5px 0.4em;
box-shadow: inset 0 0 0 1px #000000bf;
font-family: inherit;
font-size: 0.8125em;
direction: ltr;
transition-property: border-color,box-shadow;
transition-duration: 250ms;
-webkit-appearance: none;
-moz-appearance: textfield
}
.vector-search-box-input::placeholder {
color: #ffffff; /*Search Atelier Font Color*/
opacity: 1
}
.vector-menu-dropdown .vector-menu-content {
line-height: 1.125em; /*Menu Dropdown Color*/
background-color: #fff;
border: 1px solid #a2a9b1;
border-top-width: 0;
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
transition-property: opacity;
transition-duration: 100ms
}
.vector-menu-dropdown .vector-menu-heading {
display: flex; /*More Menu, Size and Color*/
color: #000; /*Menu Font Color*/
font-size: .8125em;
background-position: right bottom;
margin: 0 -1px 0 0;
padding: 1.05em 8px 6px;
font-weight: 400
}
h1,h2,h3,h4,h5,h6 {
color: #000; /*Headers of Body Colors*/
margin: 0;
padding-top: 0.5em;
padding-bottom: 0.17em;
overflow: hidden
}
.catlinks {
border: 1px solid #a2a9b1; /*Categories Links Border*/
background-color: #F2F2F2; /*Categories Links Color*/
padding: 5px;
margin-top: 1em;
clear: both;
}
.usermessage {
background-color: #fef6e7; /*Wiki Footer Font Colors*/
border: 2px solid #fc3;
color: #000;
font-weight: bold;
margin: 2em 0 1em;
padding: 0.5em 1em;
vertical-align: middle
}
a {
text-decoration: none;
color: #5f9adc; /*Wiki Posts Link Colors*/
background: none
}
a:visited {
color: #2417ab /*Wiki Posts Link Colors After Visited*/
}
.mw-footer li {
color: #000; /*Wiki Footer Font Colors*/
margin: 1em;
padding: 0.5em 0;
font-size: .75em;
}
.mw-footer ul {
list-style: none;
background-color: transparent; /*Footer Background Color*/
border: transparent; /*Footer Box Border*/
margin: 0;
padding: 0
}
.content-body {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-content: center;
justify-content: center;
align-items: flex-start;
background-color: #a388bb00 /*Body of Pages Color*/
}
.mw-body {
margin-top: 16px; /*Margin between the Top Header and Body*/
border-right-width: 2px;
}
.mw-body {
color: #000; /*Body Paragraph Font Colors*/
background: #ffffff90;
}
/* your adjustments for mobile */
@media screen and (max-width: 720px) {
div.mobile-header {
text-align: unset;
}
body {
font-family: Nunito;
font-size: 14px;
}
#mw-head {
top: 10px;
}
#mw-head {
position: absolute;
top: 0;
right: 11px;
width: 100%;
}
.mw-body {
margin-top: 100px;
border-right-width: 0px;
}
.mw-body,#mw-head-base,#left-navigation,#mw-data-after-content,.mw-footer {
margin-left: 15em;
}
h1,h2 {
margin-bottom: .6em;
border-bottom: 5px solid #a2a9b1
}
#left-navigation, #content, footer#footer {
margin-left: 0;
}
#left-navigation {
float: left;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
color: Black;
margin-bottom: 0.25em;
padding: 0;
font-family: Nunito;
line-height: 1.3;
}
#mw-panel {
width: 25em;
}
#mw-page-base {
color: #ffffff;
background: #b77fdf00;
height: 5.25em;
}
#mw-page-base {
color: #fff;
background: #b77fdf00;
height: 1.25em;
}
.vector-menu-dropdown {
direction: ltr;
float: left;
cursor: pointer;
position: relative;
line-height: 1em;
background-color: white;
}
.mp-heading {
background: #d854aa;
font-size: 150%;
font-family:var(--heading-font-family);
color:white;
/* white border and the shadow around it to distinguish it from the wiki background */
border: 3px solid white;
box-shadow: 3px 0 5px #c097b2, -3px 0 5px #c097b2;
/* rounded corners matching somewhat closely to the ones in the image */
border-radius: 40px / 30px;
/* leave empty space around the heading */
width: 75%;
margin-inline: auto;
/* remove unneeded empty space below text */
padding: 0;
}
}
/********* wiki.gg header *********/
header#wikigg-header #p-personal ul {
white-space: nowrap; /* for "log out" */
}
header#wikigg-header #p-personal .vector-menu-content #pt-anonuserpage, header#wikigg-header #p-personal .vector-menu-content #pt-userpage a {
/* user avatar icon position fix */
padding-top: 0;
background-position: left center;
}
@media screen and (max-width: 720px) {
header#wikigg-header #p-personal li#p-themes > span {
display: inline-block;
}
}
/* Box at the top of all pages when the user has a new message on their User_talk: page */
.usermessage {
box-sizing: border-box;
border: var(--theme-box-border-width) var(--theme-box-border-style) var(--theme-box-border-color);
border-radius: var(--theme-box-border-radius);
backdrop-filter: var(--theme-box-back-backdrop-filter);
box-shadow: var(--theme-box-shadow);
background: var(--theme-box-background), var(--theme-box-back-background);
}
/*******************************
* Main page layout *
* [[Atelier Wiki]] *
********************************/
#mp-welcome-box {grid-area:welcome;}
#mp-difficulty-box {grid-area:difficulty;}
#mp-resources-box {grid-area:resources;}
#mp-wiki-box {grid-area:wiki;}
#mp-container {
display:grid;
grid-template-areas:"welcome" "difficulty" "resources" "wiki";
grid-template-columns:100%;
gap:5px;
}
@media screen and (min-width:1350px) {
#mp-container {
grid-template-areas:"welcome welcome" "difficulty resources" "wiki wiki";
grid-template-columns:1fr 1fr;
}
}
.mp-box {
width: calc(100% - 2px);
box-sizing: border-box;
border:1px solid var(240,248,255);
padding:5px;
}
.mp-box#mp-welcome-box {
text-align:center;
}
.mp-heading {
background: #d854aa;
font-size: 150%;
font-family:var(--heading-font-family);
color:white;
/* white border and the shadow around it to distinguish it from the wiki background */
border: 3px solid white;
box-shadow: 3px 0 5px #c097b2, -3px 0 5px #c097b2;
/* rounded corners matching somewhat closely to the ones in the image */
border-radius: 40px / 30px;
/* leave empty space around the heading */
width: 75%;
margin-inline: auto;
/* remove unneeded empty space below text */
padding: 0;
}
.mp-box .welcome-message {
border-bottom: 1px solid var(240,248,255);
font-size: 140%;
margin: 0 0 10px;
padding: 0 0 5px;
}
.mp-links > ul {
display: flex;
flex-flow: row wrap;
justify-content: space-evenly;
margin: 2px;
}
.mp-links > ul > li {
display: inline-block;
text-align: center;
margin: 5px;
padding: 2px;
border-top: 4px solid #d3dfe4;
border-right: 1px outset #a9e5f9;
border-bottom: 4px solid #d3dfe4;
border-left: 4px solid #a9e5f9;
background: linear-gradient(90deg, #a9dfea 0%, #d3dfe4 100%);
flex: 5em 1 1;
}
.mp-links > ul > li > a {
display: block;
}
/***********************
* End main page layout *
************************/
/* Navboxes / Template:Navbox2 */
.navbox {
--navbox-bg-color: transparent;
--navbox-text-color: black;
--navbox-title-color: white;
--navbox-header-color: #0000;
--navbox-alt-color: #e6e6e6;
--navbox-border-color: #A697C2
}
.navbox {
width: 100%;
background: var(--navbox-bg-color, white);
color: var(--navbox-text-color, black);
margin: 1em auto;
font-size: 84%;
clear: both;
padding: 2px;
border-spacing: 0;
border: 1px solid var(--navbox-border-color, #AAA);
}
.navbox-title,
table.navbox th {
padding-left: 1em;
padding-right: 1em;
text-align: center;
}
/* Even row striping */
.navbox-even {
background: var(--theme-box-border-color);
color: #000;
}
/* Odd row striping */
.navbox-odd {
background: transparent;
}
.collapseButton {
font-weight: normal;
width: auto;
}
.navbox .collapseButton {
width: 6em;
}
.navbar {
font-size: 88%;
font-weight: normal;
}
.navbox .navbar {
font-size: 100%;
}
table.collapsed tr.collapsible {
display: none;
}
/* Merges navboxes that are directly under eachother */
.navbox + .navbox {
margin-top: -11px;
}
.navbox .navbox-title {
background: var(--navbox-title-color, #CCF);
color: var(--navbox-text-color, black);
font-weight: bold;
}
.navbox .navbox-vde {
float:left;
width:65px;
}
.navbox .navbox-title-padright {
padding-right: 65px;
}
.navbox .navbox-title-padleft {
padding-left: 65px;
}
.navbox .navbox-subgroup {
border-spacing: 0;
width: 100%;
}
.navbox .navbox-gutter {
height: 2px;
}
.navbox .navbox-subgroup .navbox-gutter {
background: var(--navbox-bg-color, white);
}
.navbox .navbox-section-row > td {
padding: 0;
height: 100%;
}
.navbox .navbox-section {
width: 100%;
border-spacing: 0;
}
.navbox .navbox-above,
.navbox .navbox-below {
background: var(--navbox-header-color, #DDF);
text-align: center;
}
.navbox .navbox-image {
background: var(--navbox-bg-color, white);
text-align: center;
}
.navbox .navbox-group,
.navbox .navbox-header {
background: var(--navbox-header-color, #DDF);
color: var(--navbox-text-color, black);
font-weight: bold;
height: 100%;
padding: 2px 4px;
}
.navbox .navbox-header-collapsible {
padding-left: 65px;
}
.navbox .navbox-group {
text-align: center;
padding-left: 1em;
padding-right: 1em;
white-space: nowrap;
}
.navbox .navbox-group,
.navbox .navbox-image-left {
border-right: 2px solid var(--navbox-bg-color, white);
}
.navbox-image-right {
border-left: 2px solid var(--navbox-bg-color, white);
}
.navbox .navbox-list {
background: var(--navbox-bg-color, white);
color: var(--navbox-text-color, black);
width: 100%;
height: 100%;
padding: 0;
}
.navbox .alt > .navbox-list {
background: var(--navbox-alt-color, #F7F7F7);
}
.navbox .navbox-list div {
padding: 0px 4px;
}
.navbox .navbox-list.no-group {
text-align: center;
padding-top: 2px;
padding-bottom: 2px;
}
.navbox .mw-collapsible-toggle {
width: 65px;
}
/* hlist */
.hlist ul {
margin: 0;
list-style: none;
}
.hlist li, .hlist ul ul {
display: inline;
}
.hlist li a {
white-space: nowrap;
}
.hlist ul ul:before {
content: "("
}
.hlist ul ul:after {
content: ")"
}
.hlist li:after {
content: " • ";
}
.hlist ul ul li:after {
content: "/";
}
.hlist li:last-child:after, .hlist ul ul li:last-child:after {
content: none;
}
li.gallerybox div.thumb {
background-color: transparent;
border: 0;
}
.navbox {
width: 100%;
clear: both;
}
.info-box
{
border-image: url(https://atelier.wiki.gg/images/0/06/Infoboxtheme.jpg) stretch !important;
border: 16px solid transparent;
border-image-slice: calc(100%/3) fill !important;
color: white;
}
.portable-infobox {
border-image-source: url(https://atelier.wiki.gg/images/0/06/Infoboxtheme.jpg);
border-image-slice: fill 40;
border-image-width: 20px;
padding: 20px;
}
.portable-infobox .pi-title, .portable-infobox .pi-header {
text-align: center;
}
.portable-infobox .pi-title {
font-weight: bold;
}