MediaWiki:Fandomdesktop.css

From Stoneshard wiki
Revision as of 20:59, 9 June 2021 by old>Realpsojed
Jump to navigation Jump to search

CSS and Javascript changes must comply with the wiki design rules.


Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* 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;
}