MediaWiki:Common.css

From Artifact Wiki
Revision as of 05:38, 20 July 2019 by Tim3303 (talk | contribs) (Fix ability infobox link indicator for new pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
/* Card Styling */

.ability_infobox_description a, .ability_infobox_description a.new {
	color: white;
}

.ability_infobox_description a:hover {
	color: white;
	text-decoration: underline;
	text-decoration-color: white;
}

.ability_infobox_description a.new:hover {
	color: white;
	text-decoration: underline;
	text-decoration-color: red;
}

.card_name a:hover {
	text-decoration: underline;
	text-decoration-color: white;
}

.tip_box {
	display: inline-block; 
	top: 0; right: 100%;
	padding: 3px; 
	color: #95959f; 
	background-color: rgba(20, 20, 20, 0.7); 
	border-radius: 3px;
	width: 200px;
}

.image-link {
	white-space: nowrap;
}

.card_des .image {
    border-bottom: none;
}

/* Infobox */
.card_infobox {
	display: inline-block;
	float: right;
}

/* Tabs */
.card_tab_container {
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
	margin-bottom: 5px;
}
.card_tab {
	min-width: 100px;
	text-align: center;
	padding-left: 5px;
	padding-right: 5px;
	margin: 5px -1px 0px -1px;
}
.card_tab_seperator {
	height: inherit;
	width: 5px;
}
.card_tab_filler {
	flex-grow: 1;
	height: inherit;
	margin-top: 5px;
}
.card_tab_active {
	margin: 0px -0.5px 0px -0.5px;
}
/* Main Page */
#main_header {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	padding: 5px;
	border: solid black 1px;
	background-color: lightblue;
}
#main_welcome {
	display: flex;
	flex-flow: column nowrap;
	align-content: center;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	flex-basis: 500px;
}
#main_welcome p {
	padding: 0;
	font-size: 90%;
}
#main_welcome h3 {
	margin: 0;
	padding: 0;
}
#main_resources {
	display: flex;
	flex-flow: row nowrap;
	align-content: stretch;
	align-items: stretch;
}
.main_resource {
	margin-left: 10px;
	border-left: solid black 1px;
}

.main_card_container {
	display: flex;
	flex-flow: row wrap;
	align-content: stretch;
	align-items: stretch
}
.main_card {
	padding: 10px;
	flex-grow: 1;
}
.main_card_h1 {
	padding: 5px; 
	font-weight: bold; 
	font-size: 120%;
	text-align: center;
}
.main_link_container {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: center;
	align-content: center;

	margin: 10px;
}
.main_link_inner {
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	text-align: center;
}
.main_link_h1 {
	font-size: 120%;
	font-weight: bold;
}
.main_link_h2 {
	font-weight: bold;
}
.main_link_a {
	
}
.main_link_icon {
	
}
/* Mobile support */
@media screen and (max-width: 700px) {
	#mw-panel,
	#left-navigation {   
        display: none;
    }
    #left-navigation,
    #content {
    	margin-left: 0;
    }
    #p-personal ul {
    	padding-left: 0;
    }
    #right-navigation {
    	margin-right: 0;
    	width: 100%;
    }
    #ca-view {
    	padding-left: 10px;
    }
    #simpleSearch {
    	width: 100%;
    }
}

/* Infobox styling */
.infobox {
    background: #ffffff;
    width: 256px;
    float: right;
    clear: right;
    margin: 0.5em 0 1em 0.5em;
    border: 1px solid black;
    padding: 2px;
}

.infobox .section {
    background: #C0DFFF;
    color: black;
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    padding: 3px;
    clear: both;
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltipbox {
    visibility: hidden;
    position: absolute;
    z-index: 9999;
}

.tooltip:hover .tooltipbox {
    visibility: visible;
}

.tooltip2 {
    position: relative;
    display: inline-block;
}

.tooltip2 .tooltipbox2 {
    visibility: hidden;
    position: absolute;
    z-index: 9999;
}

.tooltip2:hover .tooltipbox2 {
    visibility: visible;
}
/* Misc */
#mw-panel,
#mw-navigation {
	z-index: 2;
}
#content {
	z-index: 3;
}

/* ---------------------------------------------------------
   -------------------   FONTS    --------------------------
   --------------------------------------------------------- */

/* Radiance Font */

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-Regular.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-Light.otf') format('opentype');
	font-weight: 300; /* Light */
	font-style: normal;
}

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-UltraLight.otf') format('opentype');
	font-weight: 200; /* Ultra-Light / Thin */
	font-style: normal;
}

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-SemiBold.otf') format('opentype');
	font-weight: 500; /* Medium */
	font-style: normal;
}

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-Bold.otf') format('opentype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-RegularItalic.otf') format('opentype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-LightItalic.otf') format('opentype');
	font-weight: 300; /* Light */
	font-style: italic;
}

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-BoldItalic.otf') format('opentype');
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: 'Radiance';
	src: url('https://playartifact.com/public/fonts/Radiance-Black.otf') format('opentype');
	font-weight: 900; /* Black */
	font-style: normal;
}

@font-face {
	font-family: 'Goudy Trajan';
	src: url('https://playartifact.com/public/fonts/goudytrajan-regular-pro-webfont.ttf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Goudy Trajan';
	src: url('https://playartifact.com/public/fonts/goudytrajan-medium-pro-webfont.ttf') format('opentype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Goudy Trajan';
	src: url('https://playartifact.com/public/fonts/goudytrajan-bold-pro-webfont.ttf') format('opentype');
	font-weight: bolder;
	font-style: normal;
}

@font-face {
	font-family: 'Quattrocento';
	src: url('https://playartifact.com/public/fonts/Quattrocento-Regular.ttf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Quattrocento';
	src: url('https://playartifact.com/public/fonts/Quattrocento-Bold.ttf') format('opentype');
	font-weight: bolder;
	font-style: normal;
}