MediaWiki:Common.css
From Mutant Year Zero
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.
/* CSS placed here will be applied to all skins */
/* Get nice font! */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Indie Flower');
:root {
--font-family__header--campaign: 'Chakra Petch', sans-serif;
}
/* Wood background */
body {
background: url("https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/wood.jpg") repeat scroll 0 0 #ab8b4e;
}
/* Lighter background code sections */
.catlinks, pre, code, .mw-code {
background-color: rgba(255,255,255,0.5);
}
/* Hide Help Icon */
div#mw-indicator-mw-helplink{
display:none;
}
/* Page title + h1/h2 color+font */
.mw-page-title-main, h1, .mw-body h1, .mw-body-content h1, .mw-body-content h2 {
color: #9a2e00;
font-family: var(--font-family__header--campaign, var(--font-family__header));
}
.smallfont {
font-size:80%;
}
/* Links color*/
a, a:visited {
color: #9a2e00 !important;
text-decoration: none;
}
a.new, a.new:visited {
color: red !important;
text-decoration: none;
}
/* Footer color */
#footer-places a, #footer-places a:visited {
color: #ccc!important;
}
/* Base font */
html, body, button, input, select, textarea {
font-family: Verdana, Geneva, sans-serif;
}
/**************/
/* RPG Tables */
/**************/
.rpgtable {
background-color: rgba(255,255,255,0.5);
color: #202122;
margin: 1em 0;
border: 1px solid #999;
border-collapse: collapse;
width:100%;
}
.rpgtable th {
font-family: var(--font-family__header--campaign, var(--font-family__header)) !important;
}
.rpgtable > tr > th,
.rpgtable > tr > td,
.rpgtable > * > tr > th,
.rpgtable > * > tr > td {
border: 1px solid #999;
padding: 1px 4px;
text-align: left;
}
.rpgtable > tr > th,
.rpgtable > * > tr > th {
background-color: rgba(50,50,50,0.3);
}
.rpgtable > caption {
font-weight: bold;
}
.rpgtable td {
height:22px;
line-height:18px;
}
/*******************/
/* CHARACTER SHEET */
/*******************/
/* Attributes */
.attributes .rpgtable td:nth-child(1) {
width: 64px;
}
.attributes .rpgtable td:nth-child(2) {
font-weight: bold;
background-color: #ffffba;
width: 22px;
text-align: center;
font-size:120%;
line-height: 22px;
}
.attributes .rpgtable td:nth-child(3) {
font-size: 90%;
border-right:none;
}
.attributes .rpgtable td:nth-child(4) {
border-left:none;
text-align: right;
padding-right:6px;
}
/* Conditions */
.conditions .rpgtable td:nth-child(1), .conditions .rpgtable td:nth-child(3) {
border-right:none;
}
.conditions .rpgtable td:nth-child(2), .conditions .rpgtable td:nth-child(4) {
border-left:none;
padding-right: 6px;
text-align: right;
}
.conditions .rpgtable tr:nth-child(4) {
font-size: 90%;
}
/* Rot/XP/Dice */
.rot .rpgtable td, .mutationpoints .rpgtable td {
text-align: center;
}
.rot .rpgtable.dice td:nth-child(1) {
background-color: #ffffba;
width: 22px;
}
.rot .rpgtable.dice td:nth-child(3) {
background-color: #666;
color:#fff;
width: 22px;
}
.rot .rpgtable.dice td:nth-child(5) {
background-color: #ffffba;
width: 22px;
}
.rot .rpgtable.dice td:nth-child(6) {
background-color: #baffc9;
width: 22px;
}
.rot .rpgtable.dice td:nth-child(7) {
background-color: #666;
width: 22px;
color:#fff;
}
.rot .rpgtable.dice td:nth-child(2), .rot .rpgtable.dice td:nth-child(4), .rot .rpgtable.dice td:nth-child(8) {
font-size:80%;
}
/* Skills */
.skills .rpgtable td:nth-child(2) {
background-color: #ffffba;
width: 22px;
text-align: center;
}
.skills .rpgtable td:nth-child(3) {
font-weight: bold;
background-color: #baffc9;
width: 22px;
text-align: center;
font-size:120%;
line-height: 22px;
}
.skills .rpgtable td.empty {
background-color: transparent;
}
/* Personal */
.personal .rpgtable td:nth-child(1) {
font-size: 90%;
width: 50px;
border-right:none;
vertical-align:top;
line-height: 22px;
}
.personal .rpgtable td:nth-child(2) {
border-left:none;
}
/* Gear */
.gear .rpgtable td:nth-child(1) {
font-size: 70%;
width:10px;
border-right:none;
}
.gear .rpgtable td:nth-child(2) {
border-left:none;
}
.gear .rpgtable tr:nth-child(12), .gear .rpgtable tr:nth-child(13) {
font-size:120%;
line-height: 22px;
}
/* Image */
.image .rpgtable td {
height:193px;
padding:0px;
background-color: #000;
}
.image .rpgtable .portrait {
height: 193px;
overflow: hidden;
}
/* Weapons */
.weapons td.special {
font-size: 80%;
line-height:16px;
}
.weapons .rpgtable th:nth-child(2), .weapons .rpgtable th:nth-child(3), .weapons .rpgtable th:nth-child(4)
, .weapons .rpgtable th:nth-child(5), .weapons .rpgtable th:nth-child(6) {
font-size: 80%;
text-align:center;
}
.weapons .rpgtable td:nth-child(2), .weapons .rpgtable td:nth-child(3), .weapons .rpgtable td:nth-child(4)
, .weapons .rpgtable td:nth-child(5), .weapons .rpgtable td:nth-child(6) {
text-align: center;
}
.weapons .rpgtable td:nth-child(4) {
font-weight:bold;
background-color: #666;
color:#fff;
width: 22px;
}
.weapons .rpgtable td:nth-child(4) {
font-size: 120%;
line-height: 22px;
width: 14px;
}
.weapons .rpgtable td:nth-child(5) {
font-size: 120%;
width: 22px;
}
.weapons .rpgtable td:nth-child(6) {
font-size: 70%;
}
.weapons .rpgtable td:nth-child(2) {
background-color: #ffffba;
width:14px;
}
.weapons .rpgtable td:nth-child(3) {
background-color: #baffc9;
width:14px;
}
.weapons .rpgtable td.empty {
background-color: transparent;
}
/* Armor */
.armor .rpgtable th:nth-child(2) {
font-size: 80%;
text-align:center;
}
.armor .rpgtable td:nth-child(2) {
width:40px;
}
/* Relations */
.relations .rpgtable th:nth-child(2), .relations .rpgtable td:nth-child(3) {
font-size: 80%;
text-align:center;
}
.relations .rpgtable td:nth-child(1) {
width: 40px;
font-size: 80%;
border-right: none;
}
.relations .rpgtable td:nth-child(2) {
font-size: 80%;
border-left: none;
}
.relations .rpgtable td:nth-child(3) {
width: 50px;
}
.relations .rpgtable td {
white-space: normal;
line-height: 16px;
}
/* Den */
.den .rpgtable td {
font-size: 80%;
white-space: normal;
}
/* Character container */
.container {
display: grid;
grid-template-columns: 32.5% 32.5% 32.5%;
column-gap: 10px;
row-gap: 10px;
font-family: var(--font-family__header--campaign, var(--font-family__header)) !important;
width:900px;
}
.container th {
font-size:16px;
vertical-align:middle;
}
/* Background story */
.background {
page-break-before: always;
font-size:90%;
}
/****************************/
/* CHARACTER STATS OVERVIEW */
/****************************/
.statstable .image {
width:128px;
height: 80px;
overflow:hidden;
margin-left: -10px;
}
.statstable {
font-family: var(--font-family__header--campaign, var(--font-family__header));
width:auto;
}
.statstable td, .statstable th {
text-align:center !important;
width: 100px;
line-height: 24px;
max-width:100px;
overflow:hidden;
white-space: nowrap;
}
.statstable td:nth-child(1), .statstable th:nth-child(1) {
width: 120px;
max-width:120px;
}
.statstable td:nth-child(1), .statstable th:nth-child(1) {
text-align:right !important;
}
.statstable td:has(> div.image) {
padding: 0px;
width: 128px;
}
.statstable tr:nth-child(odd) td {
background-color: rgba(0,0,0,0.04);
}
td.attrdice5, td.skilldice9, td.skilldice10 {
font-weight: bold !important;
color: #000 !important;
font-size: 18px !important;
text-shadow:
0 -0.05em 0.2em #fff,
0.01em -0.02em 0.15em #fe0,
0.01em -0.05em 0.15em #fc0,
0.02em -0.15em 0.2em #f90,
0.04em -0.2em 0.3em #f70,
0.05em -0.25em 0.4em #f70,
0.06em -0.2em 0.9em #f50,
0.1em -0.1em 1em #f40;
}
td.skilldice8 {
font-weight: bold !important;
color: #000 !important;
font-size: 18px !important;
text-shadow:
0 -0.05em 0.2em rgba(255,255,255, 0.7),
0.01em -0.02em 0.15em rgba(255, 238, 0, 0.7),
0.01em -0.05em 0.15em rgba(255,204,0, 0.7),
0.02em -0.15em 0.2em rgba(255,153,0, 0.7),
0.04em -0.2em 0.3em rgba(255,119,0, 0.7),
0.05em -0.25em 0.4em rgba(255,85,0, 0.7),
0.06em -0.2em 0.9em rgba(255,68,0, 0.7),
0.1em -0.1em 1em rgba(255,68,0, 0.7);
}
td.skilldice7 {
font-weight: bold !important;
color: #000 !important;
font-size: 18px !important;
text-shadow:
0 -0.05em 0.2em rgba(255,255,255, 0.4),
0.01em -0.02em 0.15em rgba(255, 238, 0, 0.4),
0.01em -0.05em 0.15em rgba(255,204,0, 0.4),
0.02em -0.15em 0.2em rgba(255,153,0, 0.4),
0.04em -0.2em 0.3em rgba(255,119,0, 0.4),
0.05em -0.25em 0.4em rgba(255,85,0, 0.4),
0.06em -0.2em 0.9em rgba(255,68,0, 0.4),
0.1em -0.1em 1em rgba(255,68,0, 0.4);
}
td.attrdice4, td.skilldice5, td.skilldice6 {
color: #000 !important;
font-size: 18px !important;
text-shadow:
0 -0.05em 0.2em rgba(255,255,255, 0.15),
0.01em -0.02em 0.15em rgba(255, 238, 0, 0.15),
0.01em -0.05em 0.15em rgba(255,204,0, 0.15),
0.02em -0.15em 0.2em rgba(255,153,0, 0.15),
0.04em -0.2em 0.3em rgba(255,119,0, 0.15),
0.05em -0.25em 0.4em rgba(255,85,0, 0.15),
0.06em -0.2em 0.9em rgba(255,68,0, 0.15),
0.1em -0.1em 1em rgba(255,68,0, 0.15);
}
td.attrdice3, td.skilldice4 {
color: #000 !important;
font-size: 16px !important;
}
td.attrdice0, td.attrdice1, td.attrdice2, td.skilldice0, td.skilldice1, td.skilldice2, td.skilldice3 {
color: #888 !important;
font-size: 14px !important;
}
/**************/
/* ARK SHEET */
/**************/
.arksheet .ark {
grid-column: 1 / span 2;
grid-row: 2;
}
.arksheet .rpgtable {
margin: 0px;
}
.arksheet .ark tr:nth-child(2) td:nth-child(1),
.arksheet .ark tr:nth-child(2) td:nth-child(3),
.arksheet .ark tr:nth-child(3) td:nth-child(1) {
font-size: 90%;
}
.arksheet .ark td:nth-child(1) {
width:50px;
border-right:none;
}
.arksheet .ark td:nth-child(2) {
border-left:none;
}
.arksheet .ark td:nth-child(3) {
width:50px;
border-right:none;
}
.arksheet .ark td:nth-child(4) {
border-left:none;
}
.arksheet .ark tr:nth-child(3) td {
border-bottom: 1px solid transparent;
}
.arksheet .ark tr:nth-child(4) td {
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
}
.arksheet .ark tr:nth-child(5) td {
border-top: 1px solid transparent;
}
.arksheet .projects {
grid-column: 1 / span 3;
grid-row: 3;
}
.arksheet .projects td {
font-size: 90%;
}
.arksheet .projects td:nth-child(1) {
width:10px;
font-size: 70%;
border-right:none;
}
.arksheet .projects td:nth-child(2) {
border-left:none;
}
.arksheet .projects td:nth-child(5) {
width:60px;
}
.arksheet .projects td:nth-child(6) {
width:20px;
}
.arksheet .projects th:nth-child(2),.arksheet .projects th:nth-child(3),.arksheet .projects th:nth-child(4),.arksheet .projects th:nth-child(5) {
font-size: 80%;
}
.arksheet .bosses {
grid-column: 1 / span 2;
grid-row: 4;
}
.arksheet .bosses td {
font-size: 90%;
}
.arksheet .bosses td:nth-child(1) {
width:10px;
border-right:none;
font-size: 70%;
}
.arksheet .bosses td:nth-child(2) {
border-left:none;
}
.arksheet .bosses th:nth-child(2) {
font-size: 80%;
}
.arksheet .devlevel {
grid-column: 3 / span 1;
grid-row: 2;
}
.arksheet .devlevel td:nth-child(1) {
width:140px;
border-right:none;
}
.arksheet .devlevel td:nth-child(2) {
border-left:none;
}
.arksheet .other {
grid-column: 3 / span 1;
grid-row: 4;
}
.arksheet .other td:nth-child(1) {
width:140px;
border-right:none;
}
.arksheet .other td:nth-child(2) {
border-left:none;
}
.arksheet .arkimage{
grid-column: 1 / span 1;
grid-row: 1;
}
.arksheet .arkimage .image{
height:287px;
}
.arksheet .arkimage .content-table {
overflow:hidden;
}
.arksheet .arkmap {
grid-column: 2 / span 2;
grid-row: 1;
}
.arksheet .arkimage td,
.arksheet .arkmap td {
padding:0px;
overflow:hidden;
}
.arksheet .overflowed {
margin:0px;
}
.arksheet.arksheet2 .ark {
grid-column: 1 / span 1;
grid-row: 1;
}
.arksheet.arksheet2 .devlevel {
grid-column: 2 / span 1;
grid-row: 1;
}
.arksheet.arksheet2 .arkimage{
grid-column: 3 / span 1;
grid-row: 1 / span 2;
}
.arksheet.arksheet2 .bosses {
grid-column: 1 / span 1;
grid-row: 2;
}
.arksheet.arksheet2 .other {
grid-column: 2 / span 1;
grid-row: 2;
}
.arksheet.arksheet2 .projects {
grid-column: 1 / span 3;
grid-row: 3;
}
.arksheet.arksheet2 .arkmap {
grid-column: 1 / span 3;
grid-row: 4;
}
/****************/
/* SESSION LOG */
/****************/
.sessionlog .date {
float: right;
}
.sessionlog .author {
padding-bottom: 5px;
}
.sessionlogs td:nth-child(1),
.sessionlogs th:nth-child(1) {
text-align: center;
width:25px;
}
.sessionlogs .sessionrow td {
border-bottom:unset;
}
.sessionlogs .sessionrow td:nth-child(2),
.sessionlogs .sessionrow td:nth-child(3) {
font-size:90%;
}
.sessionlogs .logrow td {
border-top:unset;
border-bottom:unset;
}
/**********************/
/* SESSION NAVIGATION */
/**********************/
.rpgtable.sessionnav {
width:auto;
margin: 0 auto;
background:none;
border:0px;
}
.rpgtable.sessionnav td {
width:100px;
text-align:center;
line-height:20px;
border:0px;
width:20%;
}
.rpgtable.sessionnav tr:nth-child(1) td {
font-family: var(--font-family__header--campaign, var(--font-family__header));
border-bottom:0px;
font-size: 70%;
color:#666;
}
.rpgtable.sessionnav tr:nth-child(2) td {
border-top:0px;
border-bottom:0px;
color: #9a2e00;
font-family: var(--font-family__header--campaign, var(--font-family__header));
font-weight:bold;
font-size:22px;
}
.rpgtable.sessionnav tr:nth-child(3) td {
border-top:0px;
font-size: 90%;
vertical-align: top;
}
.rpgtable.sessionnav tr:nth-child(2) td.disabled {
color: rgba(50,50,50, 0.3);
}
.rpgtable.sessionnav tr:nth-child(2) td.selected {
color: #9a2e00;
}
.rpgtable.sessionnav tr:nth-child(2) td a,
.rpgtable.sessionnav tr:nth-child(2) td a:visited,
.rpgtable.sessionnav tr:nth-child(2) td a:hover {
color: #9a2e00!important;
text-decoration:none !important;
}
/**********************/
/* ROT CRITICAL TABLE */
/**********************/
.rpgtable.rotcritical {
font-family: var(--font-family__header--campaign,var(--font-family__header)) !important;
}
.rpgtable.rotcritical td:nth-child(1),
.rpgtable.rotcritical td:nth-child(2),
.rpgtable.rotcritical td:nth-child(3),
.rpgtable.rotcritical td:nth-child(4)
{
border-right:none;
padding-right:0px;
text-align:center;
}
.rpgtable.rotcritical td:nth-child(5),
.rpgtable.rotcritical td:nth-child(2),
.rpgtable.rotcritical td:nth-child(3),
.rpgtable.rotcritical td:nth-child(4)
{
border-left:none;
padding-left:0px;
text-align:center;
}
.rpgtable.rotcritical th:nth-child(2),
.rpgtable.rotcritical th:nth-child(3),
.rpgtable.rotcritical th:nth-child(4),
.rpgtable.rotcritical th:nth-child(5),
.rpgtable.rotcritical th:nth-child(6) {
font-size: 90%;
}
.rpgtable.rotcritical tr:nth-child(odd) td {
background-color: rgba(0,0,0,0.04);
}
.rpgtable.rotcritical td {
font-size: 90%;
}
.rpgtable.rotcritical td:nth-child(9)
{
font-size: 80%;
}
.rpgtable.rotcritical td:nth-child(9) {
text-wrap: wrap;
}
.rpgtable.glossary td:nth-child(3),
.rpgtable.glossary td:nth-child(4),
.rpgtable.glossary td:nth-child(5),
.rpgtable.glossary td:nth-child(6),
.rpgtable.glossary td:nth-child(7)
{
font-size: 80%;
}
.rpgtable.glossary td:nth-child(1) {
width:80px;
}
.rpgtable.glossary td:nth-child(2) {
white-space: nowrap;
}
.rpgtable.glossary td.image {
padding:0px;
text-align:center;
}
.rpgtable.glossary tr:nth-child(odd) td {
background-color: rgba(0,0,0,0.04);
}
.rpgtable.glossary .npcimage {
width:80px;
height: 60px;
overflow:hidden;
margin-left: 0px;
}
/* Page title + h1/h2 color+font */
/* styling paper */
.notebook.paper {
max-width: 600px;
min-height: 700px;
height: 100%;
position: relative;
margin: 20px auto;
padding-top: 40px;
padding-bottom: 40px;
background-color: rgba(255, 255, 250, 0.8);
box-shadow: 0px 0px 5px 0px #888;
}
/* styling blue horizontal lines */
.notebook.pattern {
height: 100%;
background-image: repeating-linear-gradient(transparent 0px, transparent 24px, rgba(0,128,128,0.6) 25px);
}
/* styling text content */
.notebook.content {
padding-top: 7px;
padding-left: 32px;
padding-right: 32px;
min-height: 700px;
height: 100%;
line-height: 25px;
font-family: 'Indie Flower';
font-size: 20px;
letter-spacing: 0px;
word-spacing: 1px;
}
.notebook p {
margin: 25px 0;
}
.notebook ul {
list-style: none;
padding: 0px;
margin: 0 0 0 16px;
}
.notebook ul li:before {
content: '-';
float: left;
font-weight: bold;
margin-left: -16px;
}
/**********************/
/* TIMELESS SKIN CUST */
/**********************/
/* title height */
body.skin-timeless #p-logo-text a.long {
font-size: 1.6em;
padding: 0.3em 0.75em 0 0;
font-family: var(--font-family__header--campaign,var(--font-family__header));
font-variant: normal;
}
body.skin-timeless .mw-page-title-main,
body.skin-timeless h1,
body.skin-timeless h2,
body.skin-timeless h3,
body.skin-timeless .mw-body h1,
body.skin-timeless .mw-body-content h1,
body.skin-timeless .mw-body-content h2,
body.skin-timeless #mw-site-navigation h2,
body.skin-timeless #mw-related-navigation h2
body.skin-timeless #personal h2 {
font-family: var(--font-family__header--campaign,var(--font-family__header)) !important;
}
body.skin-timeless h3 {
font-size: 1.2em !important;
font-weight:bold;
}
body.skin-timeless .mw-portlet a:visited,
body.skin-timeless .toctogglelabel {
color: #9a2e00 !important;
}
body.skin-timeless #mw-content-container {
background:none;
}
body.skin-timeless .color-bar .color-left,
body.skin-timeless .color-bar .color-right,
body.skin-timeless .color-bar .color-middle {
background: #9a2e00;
}
body.skin-timeless #mw-header-container,
body.skin-timeless #mw-header-nav-hack,
body.skin-timeless #mw-content,
body.skin-timeless #site-navigation,
body.skin-timeless #site-tools,
body.skin-timeless #catlinks-sidebar,
body.skin-timeless #page-tools,
body.skin-timeless #content-bottom-stuff
{
background: url(https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/paper.jpg) repeat scroll 0 0 #ab8b4e;
}
body.skin-timeless .sidebar-inner,
body.skin-timeless #personal-inner {
background: url(https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/paper.jpg) repeat scroll 0 0 #ab8b4e;
}
body.skin-timeless #simpleSearch {
background: rgba(255,255,255,0.7);
}
/* Hiden Wiki tools on left panel*/
body.skin-timeless #site-tools {
display:none;
}
body.skin-timeless .mw-body h1.firstHeading,
body.skin-timeless .tools-inline li.selected {
border-bottom: 1px solid #a2a9b1;
}
body.skin-timeless #mw-content-container {
border-bottom: solid 4px #9a2e00;
}
/* stretch with content for small screen*/
body.skin-timeless center {
overflow:auto;
}
body.skin-timeless .mw-image-border > a:first-child > *:first-child:not(.mw-broken-media),
body.skin-timeless .mw-image-border > span:first-child > *:first-child:not(.mw-broken-media) {
border: 1px solid #9a2e00;
}
body.skin-timeless ul#filetoc,
body.skin-timeless .toc,
body.skin-timeless .toccolours,
body.skin-timeless .mw-warning {
background: rgba(255,255,255,0.5);
}
@media screen and (min-width: 1340px) {
body.skin-timeless #mw-site-navigation .sidebar-chunk {
padding: 1em 1em 0;
}
}
@media print
{
body.skin-timeless #mw-content {
background:none;
}
body.skin-timeless center {
overflow:visible;
}
}
/* width */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
/* Track */
::-webkit-scrollbar-track {
background-color: rgba(0,0,0,0.15);
border-radius: 8px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background-color: rgba(0,0,0,0.3);
border-radius: 8px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background-color: rgba(0,0,0,0.5);
}