MediaWiki:Common.css: Difference between revisions

From Mutant Year Zero
No edit summary
No edit summary
Tag: Reverted
Line 7: Line 7:
}
}


/* Hide Toolbox */
 
.vector-main-menu-group.mw-portlet-tb {
/* TIMELESS  Skin customizations */
   display:none;
 
/* title height  */
body.skin-timeless #p-logo-text a.long {
    font-size: 1.7em;
    font-weight: bold;
    padding: 0.2em 0.75em 0 0;
    font-family: var(--font-family__header--campaign,var(--font-family__header));
}
body.skin-timeless .mw-portlet a:visited {
  color: #9a2e00 !important;
}
body.skin-timeless #mw-content-container {
background:none;
}
body.skin-timeless #mw-header-container {
  background: url(https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/wood.jpg) repeat scroll 0 0 #ab8b4e;
}
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-content,
body.skin-timeless #site-navigation,
body.skin-timeless #site-tools,
body.skin-timeless #mw-related-navigation  {
    background: url(https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/paper.jpg) repeat scroll 0 0 #ab8b4e;
}
body.skin-timeless .mw-body h1.firstHeading,
body.skin-timeless .tools-inline li.selected {
  border-bottom: solid 1px #a2a9b1;
}
}
/* END TIMELESS Skin customizations */


/* Wood background */
/* Wood background */
Line 19: Line 53:
     background: none;
     background: none;
}
}
.catlinks,pre, code, .mw-code {
 
  background-color: rgba(255,255,255,0.5);
}


/* Paper background and border for relevant modules */
/* Paper background and border for relevant modules */
.vector-menu-content.vector-dropdown-content {
  border: none;
}
.vector-main-menu, .vector-toc, mw-body, .mw-content-container, .vector-user-links, .vector-sticky-header {
.vector-main-menu, .vector-toc, mw-body, .mw-content-container, .vector-user-links, .vector-sticky-header {
   background: url("https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/paper.jpg") repeat scroll 0 0 #ab8b4e;   
   background: url("https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/paper.jpg") repeat scroll 0 0 #ab8b4e;   
   border: 1px solid black;
   border: 1px solid black;
}
.vector-main-menu {
    margin-left:0px !important;
    margin-top:0px !important;
    padding:10px !important;
}
.vector-dropdown .vector-dropdown-content, .vector-dropdown > .vector-menu-content {
    background: url("https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/paper.jpg") repeat scroll 0 0 #ab8b4e; 
    border: 1px solid #000;
}
.vector-feature-page-tools-disabled .vector-main-menu-group,
.vector-feature-page-tools-disabled .vector-main-menu-action-item {
    margin: 0px;
    padding: 0px;
}
/* Hide Help */
div#mw-indicator-mw-helplink{
  display:none;
}
.vector-feature-page-tools-disabled.vector-feature-toc-pinned-enabled #mw-panel-toc,
.vector-feature-page-tools-enabled.vector-feature-toc-pinned-enabled #mw-panel-toc {
    margin-left: 0px !important;
}
.vector-feature-page-tools-disabled #vector-toc-pinned-container .vector-toc:after,
.vector-feature-page-tools-disabled #vector-toc-pinned-container .vector-toc,
.vector-feature-page-tools-disabled .vector-main-menu {
    width: auto;
}
}


Line 68: Line 69:
   padding-right:10px;
   padding-right:10px;
   min-width:900px;
   min-width:900px;
  max-width:100%;
}
.vector-main-menu-action-opt-out {
  display:none;
}
/* some side menu fixes */
@media screen and (min-width: 1000px)
.vector-feature-page-tools-disabled .vector-main-menu {
    margin-left: 0px;
}
.vector-feature-page-tools-disabled .vector-main-menu {
    padding: 0px;
}
.vector-feature-page-tools-disabled .vector-main-menu-group .vector-menu-content li,
.vector-feature-page-tools-disabled .vector-main-menu-action-item .vector-menu-content li {
    font-size: 0.875em;
}
.vector-feature-page-tools-disabled .vector-pinnable-element .mw-list-item a,
.vector-feature-page-tools-enabled .vector-pinnable-element .mw-list-item a,
.vector-dropdown-content .mw-list-item a {
    padding: 3px 10px;
}
.vector-feature-page-tools-disabled .vector-pinnable-element .vector-menu-heading,
.vector-feature-page-tools-enabled .vector-pinnable-element .vector-menu-heading,
.vector-dropdown-content .vector-menu-heading {
  padding-left: 0px;
}
.vector-feature-page-tools-disabled .vector-main-menu-group .vector-menu-heading,
.vector-feature-page-tools-disabled .vector-main-menu-action-item .vector-menu-heading {
  border:0px solid #fff;
  margin:0px;
  padding:0px;
}
}


Line 137: Line 106:


/* Page title + h1 color/font*/
/* Page title + h1 color/font*/
.mw-page-title-main, h1, vector-page-titlebar, .mw-body h1, .mw-body-content h1, .mw-body-content h2 {
.mw-page-title-main, h1 {
   color: #9a2e00;
   color: #9a2e00;
   font-family: var(--font-family__header--campaign, var(--font-family__header));
   font-family: var(--font-family__header--campaign, var(--font-family__header));
}
.vector-menu-heading, .vector-pinnable-header-label {
  font-family: var(--font-family__header--campaign, var(--font-family__header));
  font-size: 16px !important;
}
}


Line 153: Line 118:
a:visited {
a:visited {
     color: #742d0f !important;
     color: #742d0f !important;
}
.vector-main-menu a:visited {
    color: #9a2e00 !important;
}
#footer-places a, #footer-places a:visited {
  color: #ccc!important;
}
}


Line 168: Line 127:
/* Character Sheet Styling*/
/* Character Sheet Styling*/
.rpgtable {
.rpgtable {
   background-color: rgba(255,255,255,0.5);
   background-color: #fff;
   color: #202122;
   color: #202122;
   margin: 1em 0;
   margin: 1em 0;
Line 174: Line 133:
   border-collapse: collapse;
   border-collapse: collapse;
   width:100%;
   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 {
.rpgtable > tr > th,.rpgtable > tr > td,.rpgtable > * > tr > th,.rpgtable > * > tr > td {
Line 183: Line 139:
}
}
.rpgtable > tr > th,.rpgtable > * > tr > th {
.rpgtable > tr > th,.rpgtable > * > tr > th {
   background-color: rgba(50,50,50,0.25);
   background-color: #ccc;
   text-align: left;
   text-align: left;
  }
  }
Line 346: Line 302:
   text-align:center;
   text-align:center;
}
}
.relations .rpgtable td:nth-child(1) {
.relations .rpgtable td:nth-child(1), .relations .rpgtable td:nth-child(2) {
  width: 40px;
  font-size: 80%;
  border-right: none;
}
.relations .rpgtable td:nth-child(2) {
   font-size: 80%;
   font-size: 80%;
  border-left: none;
}
.relations .rpgtable td:nth-child(3) {
  width: 50px;
}
}
.relations .rpgtable td {
.relations .rpgtable td {
Line 365: Line 312:
   font-size: 80%;
   font-size: 80%;
   white-space: normal;
   white-space: normal;
}
.rpgtable.sessionnav {
  width:100px;
}
.rpgtable.sessionnav td {
  vertical-align: top;
}
}


Line 389: Line 344:
   font-size:90%;
   font-size:90%;
}
}
/* Character Overview page*/
.statstable .image {
  width:128px;
  height: 80px;
  overflow:hidden;
}
.statstable {
  font-family: var(--font-family__header--campaign, var(--font-family__header));
  width:auto;
}
.statstable td, .statstable th {
  text-align:center !important;
  width: 120px;
  line-height: 24px;
  max-width:120px;
  overflow:hidden;
}
.statstable td:nth-child(1), .statstable th:nth-child(1) {
  text-align:right !important; 
}
.statstable td:has(> div.image) {
  padding: 0px;
  width: 128px;
}
td.skilldice7, td.skilldice8, td.skilldice9, td.skilldice10, td.attrdice5 {
    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.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.attrdice1, td.attrdice2, td.skilldice1, td.skilldice2, td.skilldice3 {
    color: #888 !important;
    font-size: 14px !important;
}
/* Ark sheet */
.arksheet .ark {
  grid-column: 1 / span 2;
  grid-row: 1;
}
.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: 2;
}
.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: 3;
}
.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: 1;
}
.arksheet .devlevel td:nth-child(1) {
  width:50px;
  border-right:none;
}
.arksheet .devlevel td:nth-child(2) {
  border-left:none;
}
.arksheet .other {
  grid-column: 3 / span 1;
  grid-row: 3;
}
.arksheet .other td:nth-child(1) {
  width:50px;
  border-right:none;
}
.arksheet .other td:nth-child(2) {
  border-left:none;
}
/* Sessions */
.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;
}
.rpgtable.sessionnav {
  width:auto;
  margin: 0 auto;
  background:none;
  border:0px;
}
.rpgtable.sessionnav td {
  width:100px;
  text-align:center;
  line-height:20px;
  border:0px;
}
.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;
}


/* Fixes for generic layout*/
/* Fixes for generic layout*/
Line 625: Line 353:
   padding-bottom:10px !important;
   padding-bottom:10px !important;
}
}
.vector-feature-page-tools-disabled .vector-pinnable-element > *:not(:last-child):not(.mw-portlet-),
.vector-feature-page-tools-enabled .vector-pinnable-element > *:not(:last-child), .vector-dropdown-content > *:not(:last-child) {
.vector-feature-page-tools-enabled .vector-pinnable-element > *:not(:last-child):not(.mw-portlet-),  
.vector-dropdown-content > *:not(:last-child) {
     border-bottom: 1px solid #999;
     border-bottom: 1px solid #999;
}
}
 
.vector-feature-page-tools-enabled .vector-dropdown .vector-dropdown-content, .vector-feature-page-tools-enabled .vector-dropdown > .vector-menu-content {
.vector-feature-page-tools-disabled .vector-dropdown .vector-dropdown-content,
.vector-feature-page-tools-enabled .vector-dropdown .vector-dropdown-content {
  padding:10px !important;
}
.vector-feature-page-tools-disbled .vector-dropdown > .vector-menu-content,
.vector-feature-page-tools-enabled .vector-dropdown > .vector-menu-content {
   padding:0px;
   padding:0px;
}
}
Line 658: Line 378:
   .mw-header, .vector-main-menu-container, .vector-sitenotice-container, .mw-panel-toc, .vector-page-toolbar, .vector-column-end {
   .mw-header, .vector-main-menu-container, .vector-sitenotice-container, .mw-panel-toc, .vector-page-toolbar, .vector-column-end {
     height:0px;
     height:0px;
    display:none;
  }
  .mw-category-generated {
     display:none;
     display:none;
   }
   }
Line 678: Line 395:
     content: none !important;
     content: none !important;
   }
   }
   .container .rpgtable td, .container .rpgtable th {
   .container .rpgtable td,   .container .rpgtable th {
    font-family: var(--font-family__header--campaign, var(--font-family__header)) !important;
font-size:90%;
font-size:90%;
   }  
   }  
  .rpgtable td, .rpgtable th  {
    height: 28px;
  }
  .printfooter {
    display: none;
  }
}
}

Revision as of 11:43, 9 December 2023

/* 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');
:root {
  --font-family__header--campaign: 'Chakra Petch', sans-serif;
}


/* TIMELESS  Skin customizations */

/* title height  */
body.skin-timeless #p-logo-text a.long {
    font-size: 1.7em;
    font-weight: bold;
    padding: 0.2em 0.75em 0 0;
    font-family: var(--font-family__header--campaign,var(--font-family__header));
}
body.skin-timeless .mw-portlet a:visited {
  color: #9a2e00 !important;
}
body.skin-timeless #mw-content-container {
	background:none;
}
body.skin-timeless #mw-header-container {
  background: url(https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/wood.jpg) repeat scroll 0 0 #ab8b4e;
}
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-content,
body.skin-timeless #site-navigation,
body.skin-timeless #site-tools,
body.skin-timeless #mw-related-navigation  {
	    background: url(https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/paper.jpg) repeat scroll 0 0 #ab8b4e;
}
body.skin-timeless .mw-body h1.firstHeading, 
body.skin-timeless .tools-inline li.selected {
  border-bottom: solid 1px #a2a9b1;
}


/* END TIMELESS Skin customizations */


/* Wood background */
body {
    background: url("https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/wood.jpg") repeat scroll 0 0 #ab8b4e;
}
.mw-page-container {
    background: none;
}


/* Paper background and border for relevant modules */
.vector-main-menu, .vector-toc, mw-body, .mw-content-container, .vector-user-links, .vector-sticky-header {
  background: url("https://rpg.sandcat.nl/.sws/themes/wood-responsive//img/paper.jpg") repeat scroll 0 0 #ab8b4e;  
  border: 1px solid black;
}

/* Improve some paddings */
.vector-user-links {
  padding: 5px 10px 5px 10px;
}
.mw-content-container {
  padding-left:10px;
  padding-right:10px;
  min-width:900px;
}

/* Logo */
.mw-logo-icon {
  width:100px;
  height:100px;
}
.mw-logo-container {
  color: #9a2e00;
  font-size: 50px;
  font-family: var(--font-family__header--campaign, var(--font-family__header));
  background-image: url(https://rpg.sandcat.nl/myz2024/images/MYZ_logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  width:300px;
  height:100px;
  max-width:300px;
}
.mw-logo-container .mw-logo-wordmark {
  display:none;
}
/* Else the MYZ logo becomes small*/
@media screen and (min-width: 1200px) {
    .vector-feature-page-tools-enabled .mw-header {
        display: grid;
        column-gap: 36px;
        grid-template: auto / 30em minmax(0,1fr);
        grid-template-areas: 'headerStart headerEnd'
    }
}

/* Footer */
.mw-footer-container li {
  color:#ccc;
}

/* Page title + h1 color/font*/
.mw-page-title-main, h1 {
  color: #9a2e00;
  font-family: var(--font-family__header--campaign, var(--font-family__header));
}

/* Links color*/
a, .vector-pinnable-header-toggle-button {
    color: #9a2e00 !important;
    text-decoration: none;
}
a:visited {
    color: #742d0f !important;
}

/* Base font */
html, body, button, input, select, textarea {
    font-family: Verdana, Geneva, sans-serif;
}

/* Character Sheet Styling*/
.rpgtable {
  background-color: #fff;
  color: #202122;
  margin: 1em 0;
  border: 1px solid #999;
  border-collapse: collapse;
  width:100%;
}
.rpgtable > tr > th,.rpgtable > tr > td,.rpgtable > * > tr > th,.rpgtable > * > tr > td {
  border: 1px solid #999;
  padding: 1px 4px;
}
.rpgtable > tr > th,.rpgtable > * > tr > th {
  background-color: #ccc;
  text-align: left;
 }
.rpgtable > caption {
  font-weight: bold;
}
.rpgtable th, .rpgtable td {
  text-align: left;
  white-space: nowrap;
}
.rpgtable td {
  height:22px;
}
/* Attributes */
.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: center;
}  
/* 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;
}
.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;  
  font-size:90%;
}
.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;
}
.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) {
  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 .rpgtable tr:nth-child(3), .weapons .rpgtable tr:nth-child(5), .weapons .rpgtable tr:nth-child(7) {
  font-size: 80%;
}
.weapons .rpgtable th:nth-child(2), .weapons .rpgtable th:nth-child(3), .weapons .rpgtable th:nth-child(4) {
  font-size: 80%;
  text-align:center;
}
.weapons .rpgtable td:nth-child(2), .weapons .rpgtable td:nth-child(3), .weapons .rpgtable td:nth-child(4) {
  text-align: center;
}
.weapons .rpgtable td:nth-child(2) {
  font-weight:bold;
  background-color: #666;
  color:#fff;
  width: 22px;
}
.weapons .rpgtable td:nth-child(3) {
  width: 22px;
}
.weapons .rpgtable td:nth-child(2), .weapons .rpgtable td:nth-child(3) {
  font-size: 120%;
  line-height: 22px;  
}
.weapons .rpgtable td:nth-child(4) {
  font-size: 80%;
}
.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), .relations .rpgtable td:nth-child(2) {
  font-size: 80%;
}
.relations .rpgtable td {
  white-space: normal;
}
/* Den */
.den .rpgtable td {
  font-size: 80%;
  white-space: normal;
}

.rpgtable.sessionnav {
  width:100px;
}

.rpgtable.sessionnav td {
  vertical-align: top;
}

/* 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;
}
.container .table {
  width:100%;
  border:1px solid black;
}
/* Background story */
.background { 
  page-break-before: always;
  font-size:90%;
}

/* Fixes for generic layout*/
.vector-toc {
  padding:10px !important;
}
.vector-pinnable-header {
  padding:0px !important;
  padding-bottom:10px !important;
}
.vector-feature-page-tools-enabled .vector-pinnable-element > *:not(:last-child), .vector-dropdown-content > *:not(:last-child) {
    border-bottom: 1px solid #999;
}
.vector-feature-page-tools-enabled .vector-dropdown .vector-dropdown-content, .vector-feature-page-tools-enabled .vector-dropdown > .vector-menu-content {
  padding:0px;
}
@media screen and (min-width: 1000px) {
	#vector-toc-pinned-container .vector-toc:after , #vector-page-tools-pinned-container .vector-page-tools:after {
		background: none;
	}
}

/* Print specific layout adjustments*/
@media print
{    
  body, .mw-page-container {
    background: none;
  }
  .vector-main-menu, .vector-toc, mw-body, .mw-content-container, .vector-user-links, .vector-sticky-header {
    background: none;
    border: none;
  }
  /* .mw-body-header,  */
  .mw-header, .vector-main-menu-container, .vector-sitenotice-container, .mw-panel-toc, .vector-page-toolbar, .vector-column-end {
    height:0px;
    display:none;
  }
  a {
	  text-decoration:none !important;
	  border-bottom: none !important;
  }
  a, .vector-pinnable-header-toggle-button {
    color: #000 !important;
    text-decoration: none !important;
  }
  a:visited {
    color: #000 !important;
	text-decoration: none !important;
  }
  a[href]:after {
    content: none !important;
  }
  .container .rpgtable td,   .container .rpgtable th {
    font-family: var(--font-family__header--campaign, var(--font-family__header)) !important;
	font-size:90%;
  } 
}