Pantheon: Rise of the Fallen Wiki
m (recommended for CSS for a JS enhancement)
Tag: Reverted
m (unused css)
Tag: Manual revert
Line 256: Line 256:
 
table.zebra tr.odd {
 
table.zebra tr.odd {
 
background-color: #000000;
 
background-color: #000000;
}
 
 
 
/************************************************************/
 
/* This is CSS Style that we recommended /*
 
/* For WdsTooltips (https://dev.fandom.com/wiki/WdsTooltips) /*
 
/************************************************************/
 
.custom-tooltip .wds-dropdown__toggle {
 
border-bottom: 1px dotted #aaa;
 
cursor: help;
 
}
 
.custom-tooltip .wds-dropdown__toggle:hover {
 
border-bottom: 1px solid #888;
 
}
 
.custom-tooltip .wds-dropdown__content {
 
min-width: 100px;
 
max-width: 250px;
 
max-height: 200px !important;
 
overflow: hidden;
 
padding: 0;
 
text-align: center;
 
font-size: 12px;
 
background: #fff;
 
box-shadow: 0px 0px 15px gray;
 
}
 
.custom-tooltip .wds-dropdown__content .inset {
 
color: #565656;
 
margin: 4px;
 
max-height: 192px;
 
max-width: 100%;
 
overflow-y: auto;
 
background-image: radial-gradient(farthest-side at 50% 0,rgba(26, 26, 26, 0.42),transparent),radial-gradient(farthest-side at 50% 100%,rgba(26, 26, 26, 0.42),transparent);
 
background-position: 0 0,0 100%;
 
background-repeat: no-repeat;
 
background-size: 100% 9px;
 
position: relative;
 
z-index: 1;
 
}
 
.custom-tooltip .wds-dropdown__content .inset::before {
 
background-color: #fff;
 
content: '';
 
display: block;
 
height: 30px;
 
margin: 0 0 -30px;
 
position: relative;
 
z-index: -1;
 
}
 
.custom-tooltip .wds-dropdown__content .inset::after {
 
background-color: #fff;
 
margin: -29px 0 0;
 
content: '';
 
display: block;
 
height: 30px;
 
position: relative;
 
z-index: -1;
 
}
 
.custom-tooltip .wds-dropdown__content .inset h2 {
 
margin: 0;
 
}
 
.custom-tooltip .wds-dropdown__content img {
 
margin: 4px 4px;
 
max-width: 90%;
 
height: auto;
 
 
}
 
}

Revision as of 20:31, 22 June 2022

/***************************************/
/* CSS placed here affects all users */
/***************************************/

.mobileonly {
    display: none;
}


/***********************/
/* Background Styles /* 
/***********************/

.page__main {
    background-color: #1a1b1eE6;
}

/***********************************************/
/* Color fixes for the searchable datatables /* 
/***********************************************/

/* Changes the color of the text within the show entries table */
.dataTables_wrapper .dataTables_length select {
    color: #5477dd !important; /* This is the blue accent color from the Theme Designer */
}

/* Changes the font color for most of the font used by datatables */
.dataTables_wrapper, .dataTables_length, .dataTables_wrapper, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_filter input, .dataTables_wrapper .dataTables_info, body .dataTables_wrapper .dataTables_paginate .paginate_button, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: white !important;
}

/************************************/
/* Testing Front Page Layout Area /* 
/************************************/

/* Front page structure */
.fpbox {
    margin: 5px;
    padding: 5px;
    overflow: auto;
    width: calc(100% - 2px);
}

.fpbox.plain {
    background: transparent;
    border: none;
    box-shadow: none;
}

.fpbox .heading,
.fpbox .mainheading,
.fpbox .welcome {
    margin: 0 0 10px;
    padding: 0 0 5px;
    overflow: auto;
}

.fpbox .mainheading,
.fpbox .welcome {
    font-size: 150%;
    font-weight: bold;
}

.fpbox .heading {
    text-align: center;
    font-size: 132%;
}

.linkslabel {
    margin: 15px 5px 5px;
    padding: 0 0 5px;
}

/* Template:FP links styles */
.fplinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
    text-align: center;
}

.fplink-outer {
    padding: 5px;
    flex-basis: calc(25% - 10px);
    width: calc(25% - 15px);
    min-width: 115px;
    display: inline-block;
    vertical-align: middle;
}

.fplink-wide {
    flex-basis: calc(33% - 10px);
    width: calc(33% - 15px);
}

.fplink-fullwidth {
    flex-basis: 100%;
    width: calc(100% - 15px);
    font-weight: bold;
}

.fplink {
    padding: 0.5em;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: table;
}

.fplink-plain {
    background: transparent;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.fplink-inner {
    display: table-row;
}

.fplink a {
    display: table-cell;
    vertical-align: middle;
}

.fplink img {
    max-width: 150px;
    width: 100%;
    height: auto;
}


/* this CSS governs the responsive 2 column main page layout */
#fp-2column.fp-container {
    display: grid;
    grid-template-areas: "a" "b" "c";
    grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
    #fp-2column.fp-container {
        grid-template-areas: "a b" "c c";
        grid-template-columns: 50% 50%;
    }
}
@media screen and (min-width:1350px) {
    #fp-2column.fp-container {
        grid-template-areas: "a b" "c b";
        grid-template-columns: auto 520px;
    }
}

#fp-top {
    grid-area: a;
}

#fp-flex {
    grid-area: b;
}

#fp-bottom {
    grid-area: c;
}

/* end responsive 2 column main page layout */

/* Front page appearance styles */
.fpbox .heading,
.fpbox .mainheading {
    border: 0;
    border-bottom: 1px solid #ffffff66;
}

.fpbox {
    background: #1a1b1eE6;
    border: 1px solid #ffffff66;
    box-shadow: 0 2px 5px #505050;
}

.fplink:not(.fplink-plain) {
  
    border: 1px solid #ffffff66;
}

.fplink-fullwidth .fplink:not(.fplink-plain) {
    background: #1a1b1eE6;
}

.linkslabel {
    border-bottom: 5px solid #ffffff66;
}

/* Template:FP links styles */
.fplinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: stretch;
    text-align: center;
}

.fplink-outer {
    padding: 5px;
    flex-basis: calc(25% - 10px);
    width: calc(25% - 15px);
    min-width: 115px;
    display: inline-block;
    vertical-align: middle;
}

.fplink-wide {
    flex-basis: calc(33% - 10px);
    width: calc(33% - 15px);
}

.fplink-fullwidth {
    flex-basis: 100%;
    width: calc(100% - 15px);
    font-weight: bold;
}

.fplink {
    padding: 0.5em;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: table;
}

.fplink-plain {
    background: transparent;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.fplink-inner {
    display: table-row;
}

.fplink a {
    display: table-cell;
    vertical-align: middle;
}

.fplink img {
    max-width: 150px;
    width: 100%;
    height: auto;
}

/******************/
/* Table Stripes /* 
/*****************/

table.zebra tr.odd {
	background-color: #000000;
}