Difference between revisions of "MediaWiki:Fandomdesktop.css"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(Created page with "→‎CSS placed here will affect users of the Fandomdesktop skin: →‎Fonts: @font-face { font-family: 'Franklin Gothic'; } /* For elements which only display in the mob...")
 
old>Realpsojed
Line 16: Line 16:
     border-width: 25px;
     border-width: 25px;
     border-style: solid;
     border-style: solid;
     padding: 0;
     padding-left: 10px;
     margin-right: 1em;
     margin-right: 1em;
    margin-left: 15em;
    margin-top: 20px;
}
}



Revision as of 20:59, 9 June 2021

/* CSS placed here will affect users of the Fandomdesktop skin */
/* Fonts */
@font-face {
    font-family: 'Franklin Gothic';
}

/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}

.page__main {
	background-color: transparent;
    border-color: transparent;
    border-image: url(https://static.wikia.nocookie.net/stoneshard_gamepedia_en/images/6/6a/Content_border.jpg/revision/latest) 25 fill round;
    border-width: 25px;
    border-style: solid;
    padding-left: 10px;
    margin-right: 1em;
}

/* front page styles */
.fpbox .heading,
.fpbox .mainheading {
    border: 0;
    border-bottom: 2px solid #9c9c9c;
    color: #fff;
    font-family: 'Franklin Gothic';
    text-transform: uppercase;
	font-size: 18px;
	letter-spacing: 1px;
}

.fpbox {
    background: #161527;
    border: 2px solid #000;
    color: #B3B4B7;
}

/* Tooltip: [[File:Tooltip Border.png]] */
.tooltip {
    border-image-source: url(https://static.wikia.nocookie.net/stoneshard_gamepedia_en/images/b/bc/Tooltip_Border.png/revision/latest);
    border-image-slice: 32;
    border-image-repeat: round;
    border-width: 24px;
    border-style: solid;
    display: inline-block;
    max-width: 300px;
    background: #1b1926;
    text-shadow: black 2px 1px 4px; 
    font-size: 90%; 
    color: #ffffff; 
    line-height: 1.6;
}

/* Hide elements that should be collapsed and elements that collapse them in the tooltips */
.to_tooltip .mw-collapsed,
.to_tooltip span[id^="mw-customcollapsible-"] {
	display: none;
}