Ero sivun ”Järjestelmäviesti:Common.css” versioiden välillä

KKWikistä
 
Rivi 98: Rivi 98:
 
@media screen and (max-width: 768px) {
 
@media screen and (max-width: 768px) {
 
.infobox {
 
.infobox {
display: block;
 
 
float: none;
 
float: none;
 +
margin-left: auto;
 +
margin-right: auto;
 +
width: 100%;
 
}
 
}
 
}
 
}

Nykyinen versio 28. tammikuuta 2022 kello 16.31

/*
*  XenoCSS
*   copyright (c) Roni Lehto 2017
*/

/* hide the navbar thing */
#mw-page-header-links {
	display: none !important;
}

/* Timeless skin: no indefinite content width */
@media screen and (min-width: 851px) {
    .color-middle-container, .ts-inner {
    	max-width: 1500px;
    	
    }
}

.person {
	color: black;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	float: right;
	clear: right;
	font-size: 88%;
}

/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
}
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}
.infobox td,
.infobox th {
	vertical-align: top;
	/* @noflip */
	text-align: left;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

.infobox.sisterproject {
	width: 20em;
	font-size: 90%;
}

.infobox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
	border: 1px solid #c0c090;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #a2a9b1;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

@media screen and (max-width: 768px) {
	.infobox {
		float: none;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}
}

#frontBg {
	background-image: url('https://projektit.lehtodigital.fi/kkwiki/images/9/99/Bg_wooley.png');
	background-repeat: repeat;
	background-size: 120px;
	border-radius: 0px;
	border: 3px solid rgba(0,0,0,0.3);
	/*background: #90b1e5;
	border-radius: 20px;*/
	padding: 15px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.frontBg2 {
	background-image: url('https://projektit.lehtodigital.fi/kkwiki/images/9/99/Bg_wooley.png');
	background-repeat: repeat;
	background-size: 120px;
	border-radius: 0px;
	border: 3px solid rgba(0,0,0,0.3);
	padding: 15px;
}
.frontblob {
	background: rgba(255,255,255,0.2);
	border: 2px solid rgba(255,255,255,0.2);
	border-radius: 5px;
	padding: 5px;
	margin-left: 3px;
	margin-right: 3px;
}
.frontblob:hover {
	background: rgba(255,255,255,0.3);
	border: 2px solid rgba(255,255,255,0.4);
}
.frontblob3 {
	padding: 5px;
	margin-left: 3px;
	margin-right: 3px;
}


.x-icon-inline {
	width: 1.2em;
	display: inline-block;
	vertical-align: middle;
	margin-top: -0.15em;
}





.x-crafting {
        
        display: block;
        position: relative;
        
        margin: 5px;
        width: 350px;
        height: 220px;
        
        background: #d4d4d4;
        
        border-top: 3px solid rgba(255,255,255,0.7);
        border-left: 3px solid rgba(255,255,255,0.7);
        border-bottom: 3px solid rgba(0,0,0,0.5);
        border-right: 3px solid rgba(0,0,0,0.5);
        border-radius: 3px;
        
        box-shadow: -3px 0px 0px Black, 0px -3px 0px Black, 3px 0px 0px Black, 0px 3px 0px Black;
        line-height: 1;
        
    }
    .x-crafting.blacksmith {
        background: rgb(92, 92, 92);
    }
    .x-crafting-grid {
        
        display: block;
        position: absolute;
        
        top: 41px;
        left: 21px;
        width: 150px;
        height: 150px;
        
    }
    .x-crafting-grid table, .x-crafting-grid table tr, .x-crafting-grid table td {
        padding: 0px;
        margin: 0px;
        border: none;
        border-collapse: collapse;
        border-spacing: 0;
    }
    .x-crafting-item {
        
        display: inline-block;
        
        width: 44px;
        height: 44px;
        
        border-bottom: 3px solid rgba(255,255,255,0.7);
        border-right: 3px solid rgba(255,255,255,0.7);
        border-top: 3px solid rgba(0,0,0,0.5);
        border-left: 3px solid rgba(0,0,0,0.5);
        
        background-color: rgba(0,0,0,0.1);
        background-position: center;
        background-size: auto 42px;
        background-repeat: no-repeat;
        
        cursor: pointer;
        
    }
    .x-crafting.blacksmith .x-crafting-item {
        background-color: rgba(255,255,255,0.2);
    }
    
    .x-crafting-item .x-amount {
    	position: absolute;
    	right: 0.5em;
    	bottom: 0.5em;
    	color: #ffffff;
    	font-weight: bold;
    	text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    }
    
    .x-crafting-arrow {
        
        position: absolute;
        
        width: 32px;
        height: 32px;
        
        top: 108px;
        left: 212px;
        
        background-image: url('data:image/gif;base64,R0lGODlhMAAwAIABAERERP///yH+EUNyZWF0ZWQgd2l0aCBHSU1QACH5BAEKAAEALAAAAAAwADAAAAKEjI+pB70Po2xA2gsp3pxqDj6eE5bIWJkq+qkdm7obHMsX3doZXusL3/sBh8Md8QgzIpe5BPM5UkCnQSpUap0yslcDtxv4isfksvmMTqvH2zWr7Y56480wnXS6V+NKdT/tI4QT+IdCKMJzKGioiPjWuCgH6SQ5ieVh6ViXaRfE2fbpqFIAADs=');
        background-repeat: no-repeat;
        background-size: 32px 32px;
        
        image-rendering: pixelated;
        opacity: 0.3;
        
    }
    .x-crafting.blacksmith .x-crafting-arrow {
    	opacity: 0.5;
        filter: invert(100%);
    }
    .x-crafting-result {
        display: inline-block;
        position: absolute;
        
        top: 98px;
        left: 278px;
        
    }
    .x-crafting-title {
        
        display: inline-block;
        position: absolute;
        
        top: 12px;
        left: 21px;
        
        font-family: 'Arial', sans-serif;
        font-weight: bold;
        color: rgba(0,0,0,0.5);
        
    }
    .x-crafting.blacksmith .x-crafting-title {
        color: #ffffff;
    }
    .x-crafting-tooltip {
        
        position: fixed;
        
        top: 0px;
        left: 0px;
        padding: 5px;
        
        background-color: #2f184f;
        border: 3px solid rgba(0,0,0,0.7);
        border-radius: 3px;
        color: #ffffff;
        
        font-family: 'Arial', sans-serif;
        font-weight: bold;
        
    }


.x-item {
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
	width: 128px;
	height: 128px;
	padding: 0.5em;
	cursor: default;
}

.x-pykala-left {
	width: calc(50% - 10px);
	float: left;
}
.x-pykala-right {
	width: calc(50% - 10px);
	float: left;
}
@media screen and (max-width: 850px) {
	.x-pykala-left, .x-pykala-right {
		display: block;
		float: none;
		width: 100%;
	}
}

.x-large-front {
	width: 90%;
	max-width: 800px;
	border-color: rgba(0,0,0,0.3);
	margin-bottom: 15px;
}

.x-responsive-front {
	display: inline-block;
	width: 45%;
	max-width: 375px;
	margin-right: 10px;
	text-align: left;
	min-height: 210px;
	vertical-align: middle;
}

.x-responsive-front.x-left {
	margin-left: 10px;
}

@media screen and (max-width: 1430px) {
	.x-responsive-front {
		display: block !important;
		width: 90% !important;
		max-width: 800px;
		margin: 0px;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 25px;
		min-height: auto;
	}
	.x-responsive-front.x-left {
		margin-left: auto;
		margin-right: auto;
	}
}

.x-drink-star {
	display: inline-block;
	margin: 0 2px 0 2px;
	font-size: 16pt;
	vertical-align: middle;
	color: gold;
	-webkit-text-stroke: 1px black;
	text-stroke: 1px black;
}



.x-flexbox {
	display: flex;
	flex-wrap: wrap;
	flex-basis: 100%;
}

.x-flex-1 { flex: calc(100%/12); }
.x-flex-2 { flex: calc(calc(100%/12)*2); }
.x-flex-3 { flex: calc(calc(100%/12)*3); }
.x-flex-4 { flex: calc(calc(100%/12)*4); }
.x-flex-5 { flex: calc(calc(100%/12)*5); }
.x-flex-6 { flex: calc(calc(100%/12)*6); }
.x-flex-7 { flex: calc(calc(100%/12)*7); }
.x-flex-8 { flex: calc(calc(100%/12)*8); }
.x-flex-9 { flex: calc(calc(100%/12)*9); }
.x-flex-10 { flex: calc(calc(100%/12)*10); }
.x-flex-11 { flex: calc(calc(100%/12)*11); }
.x-flex-12 { flex: 100%; }

@media (max-width: 768px) {
	.x-flexbox .x-flex {
		flex: 100% !important;
	}
	.x-flexbox .x-flex-1, .x-flexbox .x-flex-2 {
		flex: 50% !important;
	}
}

.x-front-bg-2 {
	background-image: url('https://kk.xeno.fi/wiki/images/a/ab/Kk_bg_tile_2.png');
	background-repeat: repeat;
	background-position: center;
}