MediaWiki:Common.css: Difference between revisions
From The Wild Beyond the Witchlight
No edit summary |
No edit summary |
||
Line 332: | Line 332: | ||
vertical-align: bottom; | vertical-align: bottom; | ||
display: table-cell; | display: table-cell; | ||
font-size:10px; | |||
} | } | ||
Revision as of 14:12, 26 October 2024
/* 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');
@import url('https://fonts.googleapis.com/css?family=Almendra');
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');
:root {
--font-family__header--campaign: 'Almendra', 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:11px !important;
line-height:15px !important;
}
/* 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;
}
figure[typeof~='mw:File'].mw-halign-right {
margin: 2px 0 2px 10px;
}
figure[typeof~='mw:File'].mw-halign-left,
figure[typeof~='mw:File/Frameless'].mw-halign-left {
margin: 2px 20px 2px 0;
}
/* Base font */
html, body, button, input, select, textarea {
font-family: Verdana, Geneva, sans-serif;
}
span.circle {
height: 12px;
width: 12px;
border: 1px solid #202122;
border-radius: 50%;
display: inline-block;
vertical-align: middle;
font-size: 10px;
text-align: center;
line-height: 12px;
margin-bottom:1px;
}
span.circle.black {
background-color:#202122;
color: #fff;
}
span.circle.small {
height: 8px;
width: 8px;
line-height: 8px;
}
/**************/
/* RPG Tables */
/**************/
.rpgtable img,
.mw-body-content table.rpgtable a > img,
.mw-body-content table.rpgtable .floatnone > img {
max-width:100% !important;
height:auto !important;
}
.rpgtable {
background-color: rgba(255,255,255,0.5);
color: #202122;
margin: 12px 0;
border-collapse:collapse;
width:100%;
/*border: 1px solid #000;*/
outline: 1px solid #999;
outline-offset: -1px;
margin-top:0px;
}
.rpgtable td p {
margin: 8px 0px 0px 0px;
}
.rpgtable th {
font-family: var(--font-family__header--campaign, var(--font-family__header)) !important;
height:24px;
padding:0px;
}
.rpgtable th div.shortinfo {
font-weight: normal;
font-size: 10px;
float: right;
margin-top: 4px;
}
.rpgtable > tr > th,
.rpgtable > tr > td,
.rpgtable > * > tr > th,
.rpgtable > * > tr > td {
padding: 1px 4px;
text-align: left;
}
.rpgtable > tr > th,
.rpgtable > * > tr > th {
border: 1px solid #aaa;
}
.rpgtable > tr > td,
.rpgtable > * > tr > td {
border: 1px solid #ccc;
font-size: 12px;
line-height: 16px;
}
.rpgtable > tr > th,
.rpgtable > * > tr > th {
background-color: rgba(50,50,50,0.3);
}
.rpgtable > caption {
font-weight: bold;
}
.rpgtable td {
height:18px;
line-height:18px;
font-family: roboto, cambria,Verdana,Geneva,sans-serif;
}
div .rpgtable td.smaller {
line-height:14px;
height:15px;
}
.leftcolumn {
float:left;
width: 141px;
}
.rightcolumn {
float:right;
width: 141px;
}
/*******************/
/* CHARACTER SHEET */
/*******************/
.rpgtable.character td {
border:0px;
vertical-align: top;
padding: 1px 0px 1px 4px;
}
.rpgtable.character td:nth-child(1),
.rpgtable.character td:nth-child(3)
{
font-size:12px;
}
.rpgtable.character td:nth-child(2),
.rpgtable.character td:nth-child(4)
{
font-size:14px;
}
.rpgtable.character tr:nth-child(7) td {
width:25%;
}
/* Stats */
.rpgtable.stats tr.big
{
height: 50.5px;
}
.rpgtable.stats .statModifier {
border-radius: 50%;
width: 46px;
height: 46px;
border: 2px solid #999;
text-align: center;
font-size: 26px;
margin-left: 20px;
margin-top: 1px;
margin-bottom: 1px;
float:left;
display: flex;
align-items: center;
justify-content: center;
background-color: #666;
border: 2px solid #666;
color:#fff;
}
.rpgtable.stats .statNumber {
float: right;
width: 46%;
font-size: 26px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
height:100%;
}
.rpgtable.stats td
{
height: 16px;
line-height:14px;
border-right:0px;
border-left:0px;
}
.rpgtable.stats tr td
{
border-top:0px;
border-bottom:0px;
}
.rpgtable.stats tr:nth-child(3) td
{
border-top:1px solid #ccc;
border-bottom:1px solid #ccc;
}
.rpgtable.stats tr:nth-child(3) td {
font-weight:bold;
}
.rpgtable.stats tr.big td
{
font-size:20px;
text-align: center;
}
.rpgtable.stats.heroic tr.big td {
font-size:40px;
}
.rpgtable.stats tr.big td:nth-child(2)
{
font-size:30px;
text-align: center;
}
.rpgtable.stats td:nth-child(2)
{
font-size:12px;
text-align:right;
padding-right:0px;
}
.rpgtable.stats td:nth-child(3)
{
font-size:12px;
}
/* AC, death saves, etc armorclass deathsaves hitpoints hitdice */
.rpgtable.armorclass td,
.rpgtable.deathsaves td,
.rpgtable.hitpoints td,
.rpgtable.hitdice td {
border:0px;
}
.rpgtable.armorclass tr.big td {
text-align:center;
}
.rpgtable.armorclass td:nth-child(1),
.rpgtable.hitpoints tr:nth-child(2) td:nth-child(2)
{
font-size:16px;
}
.rpgtable.armorclass tr:nth-child(3) td
{
font-size:10px;
}
.rpgtable.armorclass tr:nth-child(2) td div.armorClass
{
height: 32px;
width: 32px;
float: left;
border: 2px solid #666;
border-radius: 50% 50% 50% 50% / 0% 0% 50% 50%;
background-color: #666;
color: #fff;
line-height: 30px;
font-size: 20px;
margin: 1px;
margin-left: 52px;
}
.rpgtable.armorclass tr:nth-child(2) td div.armorClassShield
{
height: 38px;
width: 60px;
text-align: right;
vertical-align: bottom;
display: table-cell;
font-size:10px;
}
.rpgtable.hitdice td
{
width:25%
}
/* More boxes*/
.rpgtable.box tr.big td
{
text-align:center;
font-size:16px;
}
.rpgtable.box tr.big.smallerfont td
{
font-size:14px;
}
/* Image */
.image .rpgtable td {
height:143px;
padding:0px;
background-color: #000;
}
.image .rpgtable .portrait {
height: 180px;
overflow: hidden;
}
/* Weapons */
.weapons .rpgtable tr.weapon td:nth-child(2),
.weapons .rpgtable tr.weapon td:nth-child(3) {
text-align:center;
}
.weapons .rpgtable tr.weapon td {
border-bottom-style: dotted;
}
.weapons .rpgtable tr.notes td {
border-top-style: dotted;
font-size:11px;
font-style:italic;
line-height: 14px;
}
.weapons .rpgtable tr.weapon td:nth-child(1) {
font-weight:bold;
}
.rpgtable.spellslots tr td:nth-child(1),
.rpgtable.spellslots tr td:nth-child(3),
.rpgtable.spellslots tr td:nth-child(5)
{
border-right:0px;
width:20%;
}
.rpgtable.spellslots tr td:nth-child(2),
.rpgtable.spellslots tr td:nth-child(4),
.rpgtable.spellslots tr td:nth-child(6)
{
border-left:0px;
width:13%;
font-weight:bold;
}
/* 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;
max-height: 1285px;
/*border-bottom: 2px dotted #ccc;*/
overflow: hidden;
}
.container tr th {
font-size:14px;
vertical-align:middle;
text-align:center;
}
/* Background story */
.background {
page-break-before: always;
font-size:90%;
}
.container ul {
margin: 0 0 0 1.6em;
padding:0px;
}
/****************************/
/* CHARACTER STATS OVERVIEW */
/****************************/
.statstable .image {
width:128px;
height: 80px;
overflow:hidden;
margin-left: -6px;
}
.statstable {
font-family: var(--font-family__header--campaign, var(--font-family__header));
width:auto;
}
.statstable tr td, .statstable tr th {
text-align:center !important;
width: 110px;
font-size:14px;
line-height: 24px;
max-width:110px;
overflow:hidden;
white-space: nowrap;
position:relative;
}
.statstable td:nth-child(1), .statstable th:nth-child(1) {
width: 140px;
max-width:140px;
}
.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.ColorExtremeHigh {
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.ColorAlmostExtremeHigh{
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.ColorVeryHigh {
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.ColorHigh {
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.ColorAvg {
color: #000 !important;
font-size: 16px !important;
}
td.ColorLow {
color: #888 !important;
font-size: 14px !important;
}
/**************/
/* ARK SHEET */
/**************/
.cheatsheet .rpgtable {
margin: 0px;
}
.cheatsheet tr td {
font-size: 90%;
height: auto;
}
.cheatsheet p {
margin: 0 0;
}
.cheatsheet ul {
margin: 0.3em 0 0.3em 1.6em;
padding:0px;
}
.cheatsheet .content-table-wrapper,
.cheatsheet .content-table,
.cheatsheet .rpgtable,
.cheatsheet .rpgtable tr:nth-child(2) {
height:100%;
}
.container.cheatsheet .rpgtable td {
vertical-align: top;
}
.cheatsheet .range th:nth-child(2),
.cheatsheet .range th:nth-child(3),
.cheatsheet .range th:nth-child(4),
.cheatsheet .range th:nth-child(5),
.cheatsheet .cover th:nth-child(2),
.cheatsheet .cover th:nth-child(4){
font-size: 80%;
}
.cheatsheet .range th:nth-child(4),
.cheatsheet .range td:nth-child(4),
.cheatsheet .range th:nth-child(5),
.cheatsheet .range td:nth-child(5),
.cheatsheet .cover th:nth-child(2),
.cheatsheet .cover td:nth-child(2),
.cheatsheet .cover th:nth-child(4),
.cheatsheet .cover td:nth-child(4) {
text-align:center;
}
/**************/
/* ARK SHEET */
/**************/
.arksheet.arksheet2 .ark {
grid-column: 1 / span 2;
grid-row: 1;
}
.arksheet .rpgtable {
margin: 0px;
}
.arksheet tr td {
font-size: 90%;
}
.arksheet .ark td:nth-child(1) {
width:100px;
border-right:none;
}
.arksheet .ark td:nth-child(2) {
border-left:none;
}
.arksheet .ark td:nth-child(3) {
width:100px;
border-right:none;
}
.arksheet .ark td:nth-child(4) {
width:110px;
border-left:none;
}
.arksheet .ark tr:nth-child(3) td:nth-child(1) {
border-left:1px solid #999;
border-right:1px solid #999;
}
.arksheet .ark tr:nth-child(3) td:nth-child(2) {
border-left:1px solid #999;
border-right:none
}
.arksheet .ark tr:nth-child(3) td:nth-child(3) {
width:100px;
border-left:none;
}
.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:237px;
}
.arksheet .arkimage .content-table {
overflow:hidden;
}
.arksheet .arkmap {
grid-column: 2 / span 2;
grid-row: 1;
}
.arksheet .arkimage td,
.arksheet .arkmap td,
.arksheet .arkmaparea td {
padding:0px;
overflow:hidden;
}
.arksheet .overflowed {
margin:0px;
}
.arksheet.arksheet2 .ark {
grid-column: 1 / span 2;
grid-row: 1;
}
.arksheet.arksheet2 .other {
grid-column: 2 / span 1;
grid-row: 2;
}
.arksheet.arksheet2 .devlevel {
grid-column: 2 / span 1;
grid-row: 2;
}
.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;
}
.arksheet.arksheet2 .arkmaparea {
grid-column: 1 / span 3;
grid-row: 5;
}
/****************/
/* SESSION LOG */
/****************/
.sessionlog {
margin: auto;
max-width: 850px;
}
.sessionlog p {
margin: 0 0 1em 0;
}
.sessionlog h2 {
text-align:center;
}
.sessionlog .date {
float: right;
}
.sessionlog .author {
padding-bottom: 5px;
}
.sessionlog .authorimage {
width: 100px;
height: 100px;
overflow:hidden;
margin-right:10px;
float: left;
position: relative;
z-index: 999;
border: 1px solid black;
box-shadow: 0px 0px 5px 0px #888;
}
.sessionlogs .logrow td:nth-child(1),
.sessionlogs th:nth-child(1) {
text-align: center;
max-width:25px;
}
.sessionlogs .sessionrow td {
border-top:unset;
}
.sessionlogs td {
font-size:90%;
}
.sessionlogs .logrow td:nth-child(2),
.sessionlogs .logrow td:nth-child(4),
.sessionlogs .logrow td:nth-child(5) {
max-width:100px;
}
.sessionlogs tr.even {
background-color: rgb(0,0,0,0.05);
}
/**********************/
/* SESSION NAVIGATION */
/**********************/
.rpgtable.sessionnav {
width:auto;
margin: 0 auto;
background:none;
border:0px;
outline: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(7)
{
min-width:300px;
}
.rpgtable.glossary td:nth-child(1) {
width:80px;
}
.rpgtable.glossary td:nth-child(2) {
white-space: nowrap;
}
.rpgtable.glossary tr:nth-child(odd) td {
background-color: rgba(0,0,0,0.04);
}
.rpgtable.glossary td.image {
padding:0px;
text-align:center;
overflow:hidden;
}
.rpgtable.glossary .npcrow.dead {
background-color: rgba(0,0,0,0.2);
}
.rpgtable.glossary .npcrow.dead img {
filter: brightness(60%);
}
.rpgtable.glossary .npcimage {
width:80px;
max-height: 61px;
overflow:hidden;
margin-left: 0px;
margin-top:-5px;
}
.npcpageimage {
float:right;
width:40%;
padding-left:10px
}
/* 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;
}
/* Zone Map */
.mapcontrols {
cursor: pointer;
color:#fff;
position: absolute;
z-index:1;
font-family: 'Material Symbols Outlined';
text-shadow: 2px 2px 4px black;
}
#zonemap:fullscreen .mapcontrols {
position: fixed;
}
#zonemap .mapfullscreen {
font-size: 42px;
right: 20px;
margin-top:10px;
}
#zonemap .zoominput {
bottom: 35px;
right: 94px;
}
#zonemap .zoominput input{
-webkit-appearance: none;
background: #fff;
border-radius: 3px;
height:6px;
box-shadow: 2px 2px 4px black;
}
#zonemap .zoominput input::-webkit-slider-thumb {
height: 16px;
width: 16px;
border-radius: 8px;
background: #fff;
box-shadow: 2px 2px 4px black;
-webkit-appearance: none;
}
#zonemap .mylocation {
font-size: 42px;
right: 20px;
bottom: 10px;
}
#zonemap .resetzoom {
font-size: 16px;
right: 73px;
bottom: 31px;
}
#zonemap {
background-color: #999;
}
.gridmap {
width:2400px;
display: grid;
grid-template-columns: repeat(30, 80px);
grid-template-rows: repeat(19,80px);
border: 1px solid black;
background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.4)),url(https://rpg.sandcat.nl/myz2024/images/3/39/Zonemap.jpg);
background-size: 2400px;
background-position: 0px 0px;
padding-bottom: 32px;
}
.gridsector {
background: url(https://rpg.sandcat.nl/myz2024/images/3/39/Zonemap.jpg);
background-size: 2400px;
justify-content: center;
display: flex;
align-items: center;
height: 78px;
width: 78px;
text-shadow: 2px 2px 4px black;
position: relative;
border: 1px solid transparent;
text-align:center;
}
.gridsector.unknown {
background:none;
}
.gridmap .reddot {
border-radius: 8px;
background-color: red;
width: 16px;
height: 16px;
color: #fff;
font-size: 12px;
line-height: 16px;
text-align: center;
position: absolute;
margin-top: -54px;
margin-left: 54px;
z-index:1;
}
.gridsector.rotlevel0 {
border: 1px solid rgb(255,255,255,0.8);
}
.gridsector.rotlevel1 {
box-shadow: 0px 0px 10px 0px rgba(255,0,255,0.2) inset;
border: 1px solid rgba(255,0,255,0.1);
}
.gridsector.rotlevel2 {
box-shadow: 0px 0px 25px 0px rgba(255,0,255,0.3) inset;
border: 1px solid rgba(255,0,255,0.2);
}
.gridsector.rotlevel3 {
box-shadow: 0px 0px 35px 0px rgba(225,0,255,0.6) inset;
border: 1px solid rgba(255,0,255,0.4);
}
.tooltiptext .rotlevel0,
.tooltiptext .rotlevel1,
.tooltiptext .rotlevel2,
.tooltiptext .rotlevel3,
.tooltiptext .rotlevelUnknown {
font-size:70%;
color: fuchsia;
}
.tooltiptext .rotlevel0 {
color: #cccccc;
}
.tooltiptext .rotlevel1 {
color: #cc66cc;
}
.tooltiptext .rotlevel2 {
color: #dd33dd;
}
.tooltiptext .rotlevel3 {
color: #ff00ff;
}
.tooltiptext .rotlevelUnknown {
color: #cccc33;
}
.tooltiptext .found {
font-family: 'Material Symbols Outlined';
text-shadow:none;
}
/* Zone Map tooltip */
.gridsector .tooltiptext {
visibility: hidden;
font-size: 16px;
background-color: rgb(0,0,0,0.7);
color: #fff;
text-align: center;
padding: 5px;
border-radius: 6px;
position: absolute;
z-index: 1;
width: 160px;
bottom: 105%;
left: 50%;
margin-left: -85px;
}
.arkprojectname {
position:relative;
}
.arkprojectname .tooltiptext {
position: absolute;
visibility: hidden;
font-size: 90%;
background-color: rgb(0,0,0,0.7);
color: #fff;
padding: 5px;
border-radius: 6px;
font-weight:normal;
width: 300px;
top: -5px;
left: 105%;
z-index: 1;
min-height:26px;
}
.gridsector .reddot .tooltiptext {
bottom: 200%;
}
.gridsector .tooltiptext a,
.arkprojectname .tooltiptext a {
color:#fff !important;
text-decoration: underline !important;
}
.arkprojectname .tooltiptext p {
margin: 1px 0;
}
.gridsector .tooltiptext::after {
content: " ";
position: absolute;
top: 100%; /* At the bottom of the tooltip */
left: 50%;
margin-left: -12px;
border-width: 12px;
border-style: solid;
border-color: rgb(0,0,0,0.7) transparent transparent transparent;
}
.arkprojectname .tooltiptext::after {
content: " ";
position: absolute;
top: 18px;
right: 100%; /* To the left of the tooltip */
margin-top: -8px;
border-width: 8px;
border-style: solid;
border-color: transparent rgb(0,0,0,0.7) transparent transparent;
}
/* Show the tooltip text when you mouse over the tooltip container */
.gridsector:hover .tooltiptext,
.arkprojectname:hover .tooltiptext {
visibility: visible;
}
.gridsector .tooltiptext,
.arkprojectname .tooltiptext {
opacity: 0;
transition: opacity 0.2s;
}
.gridsector:hover .tooltiptext,
.arkprojectname:hover .tooltiptext {
opacity: 1;
}
.arkprojects tr:nth-child(odd) td {
background-color: rgba(0,0,0,0.04);
}
.arkprojects td:nth-child(1),
.arkprojects td:nth-child(4) {
font-size:80%;
}
.arkprojects th:nth-child(4),
.arkprojects th:nth-child(5),
.arkprojects th:nth-child(6),
.arkprojects th:nth-child(7),
.arkprojects th:nth-child(8),
.arkprojects th:nth-child(9),
.arkprojects th:nth-child(10) {
font-size:90%;
}
.arkprojects th:nth-child(2),
.arkprojects td:nth-child(2),
.arkprojects th:nth-child(10),
.arkprojects td:nth-child(10) {
text-align:center;
width:4px;
}
.arkprojects th:nth-child(5),
.arkprojects th:nth-child(6),
.arkprojects th:nth-child(7),
.arkprojects th:nth-child(8),
.arkprojects th:nth-child(9),
.arkprojects td:nth-child(5),
.arkprojects td:nth-child(6),
.arkprojects td:nth-child(7),
.arkprojects td:nth-child(8),
.arkprojects td:nth-child(9) {
text-align:center;
width:50px;
}
.arkprojects .build0 a,
.arkprojects .build0 .bar {
opacity: 0.7;
color: rgb(0,0,0,1);
}
.arkprojects .build0 {
color: rgb(0,0,0,0.5);
/*opacity: 0.8;*/
}
.arkprojects .build1 {
}
.arkprojects .build2 {
}
.arkprojects .buildtext2 {
font-weight:bold;
}
.arkprojects .build a,
.arkprojects .build .bar {
opacity: 0.5;
color: rgb(0,0,0,1);
}
.arkprojects .build {
/*opacity: 0.5;*/
color: rgb(0,0,0,0.3);
background-color: rgba(0,0,0,0.2);
}
.arkprojects .bonus {
width:100%;
display: block;
}
.arkprojects .bar {
display: inline-block;
text-align:center;
}
.arkprojects .food {
background-color:rgb(121, 195, 20,0.4);
}
.arkprojects .culture {
background-color:rgb(255, 165, 0,0.4);
}
.arkprojects .tech {
background-color:rgb(72, 125, 231,0.4);
}
.arkprojects .warfare {
background-color:rgb(232, 20, 22, 0.4);
}
.arkprojects.index td,
.arkprojects.index th {
width:25%;
text-align:left;
font-size:100%;
}
/**********************/
/* 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);
}
/* One-sided navigation menu */
@media screen and (min-width: 1340px) and (max-width:1460px) {
#mw-content-block {
display: block;
}
#mw-content,
#content-bottom-stuff {
margin-left: 14em;
}
#mw-content-wrapper {
float: right;
margin-left: -14em;
width: 100%;
}
#mw-related-navigation {
width: 14em;
padding: 0 1em 0 0;
}
div.color-middle {
margin-right: 0;
}
.mw-wiki-logo {
display: inline-block;
}
}
/*.notebookpages .notebook.paper {
display:none;
}*/
.notebookpages .notebook.paper.active {
display:block;
opacity:1;
}
.notebookpages .prev,
.notebookpages .next,
.notebookpages .first,
.notebookpages .last {
user-select: none;
cursor: pointer;
}
.notebookpages .prev:hover,
.notebookpages .next:hover,
.notebookpages .first:hover,
.notebookpages .last:hover {
color:#9a2e00;
}
.notebookpages .prev.disabled,
.notebookpages .next.disabled,
.notebookpages .prev.disabled:hover,
.notebookpages .next.disabled:hover {
color:#ccc;
}
/* Title improvement */
body.skin-timeless #p-logo-text a.long {
padding:0px 20px;
font-variant:small-caps;
font-size: 1.5em;
font-weight: bold;
}