MediaWiki:Common.css: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 38:
clear: both;
}
}
 
/* Front page stuff */
.fp-container {
display: grid;
gap: 10px;
grid-template-columns: 3fr 1fr 1fr;
margin: 0 auto;
width: 70%;
}
 
.fp-item {
background-color: #eaeaea;
border-radius: 10px;
overflow: hidden;
padding: 0;
}
 
.fp-item-header {
background-color: #dadada;
font-weight: bold;
margin: 0;
padding: 4px;
text-align: center;
}
 
.fp-item-content {
margin: 0;
padding: 10px;
}
 
.fp-item-splash {
background-image: url('BG_View_Kivotos2.jpg');
background-position: center;
background-size: cover;
grid-column: 1;
grid-row: 1 / span 3;
height: 500px;
}
 
.fp-item-splash .logo {
width: 400px;
}
 
.fp-item-current-gacha {
grid-column: 2;
grid-row: 1;
}
 
.fp-item-current-raid {
grid-column: 2;
grid-row: 2;
}
 
.fp-item-recent-updates {
grid-column: 2;
grid-row: 3;
}
 
.fp-item-twitter {
background: none;
grid-column: 3;
grid-row: 1 / span 3;
max-height: 500px;
}
 
.fp-item-links {
display: flex;
grid-column: 1 / span 3;
grid-row: 4;
justify-content: center;
padding: 10px;
}
 
.fp-item-links .link {
margin: 0 10px;
}
 
.fp-item-links .link-image {
background-position: center;
background-size: 100%;
border-radius: 50%;
width: 100px;
height: 100px;
}
 
.fp-item-links .link-text {
text-align: center;
}

Revision as of 22:47, 18 June 2021

/* CSS placed here will be applied to all skins */
table.batable {
    background-color: #ecf5f9;
}

table.batable th.mainheader {
    background-color: #2d4c72;
    color: #ffffff;
}

table.batable th.bigheader {
    background-color: #d9edfb;
    color: #000000;
}


/*** SkillTable and EXSkillTable ***/
table.skilltable {
	width: 100%;
	min-width: 575px;
	max-width: 900px;
	background-color: #ecf5f9;
}
table.skilltable tr.summary {
	background-color:#d9edfb;
}
table.skilltable tr.summary td {
	text-align:center;
}
@media (max-width: 1500px) {
	table.skilltable {
		width: calc(100% - 350px);
	}
}
@media (max-width: 1200px) {
	table.skilltable {
		width: 100%;
		clear: both;
	}
}

/* Front page stuff */
.fp-container {
    display: grid;
    gap: 10px;
    grid-template-columns: 3fr 1fr 1fr;
    margin: 0 auto;
    width: 70%;
}

.fp-item {
    background-color: #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
}

.fp-item-header {
    background-color: #dadada;
    font-weight: bold;
    margin: 0;
    padding: 4px;
    text-align: center;
}

.fp-item-content {
    margin: 0;
    padding: 10px;
}

.fp-item-splash {
    background-image: url('BG_View_Kivotos2.jpg');
    background-position: center;
    background-size: cover;
    grid-column: 1;
    grid-row: 1 / span 3;
    height: 500px;
}

.fp-item-splash .logo {
    width: 400px;
}

.fp-item-current-gacha {
    grid-column: 2;
    grid-row: 1;
}

.fp-item-current-raid {
    grid-column: 2;
    grid-row: 2;
}

.fp-item-recent-updates {
    grid-column: 2;
    grid-row: 3;
}

.fp-item-twitter {
    background: none;
    grid-column: 3;
    grid-row: 1 / span 3;
    max-height: 500px;
}

.fp-item-links { 
    display: flex;
    grid-column: 1 / span 3;
    grid-row: 4;
    justify-content: center;
    padding: 10px;
}

.fp-item-links .link {
    margin: 0 10px;
}

.fp-item-links .link-image {
    background-position: center;
    background-size: 100%;
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.fp-item-links .link-text {
    text-align: center;
}