MediaWiki:Common.css: mudanças entre as edições

De PokeXGames
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 367: Linha 367:
flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: flex-start;
}
}



Edição das 13h16min de 15 de março de 2023

/** o código CSS colocado aqui será aplicado a todos os temas */
#ca-viewsource { display: none !important; }

#ca-history { display: none !important;}

/* Efeitos */
	.hover-minimizeAndRotateContainer a,
	.hover-minimizeAndRotate img{
		transition: transform .25s ease;
	}
	
	.hover-minimizeAndRotateContainer a:hover,
	.hover-minimizeAndRotate img:hover{
		transform: scale(.95) rotateZ(-4deg);
	}
	
	.hover-minimize img, 
	.hover-minimize a img {
		transition: transform .25s ease;
	}
	
	.hover-minimize img:hover,
	.hover-minimize a img:hover{
		transform: scale(.95);
	}
/* Efeitos */

body {
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: url('https://media.discordapp.net/attachments/1063632353597079592/1080671160204800021/fundo_wiki_1.png') no-repeat;
	filter: brightness(0.8);
  
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: -1;
}

.mw-body {
	border-right: 0 !important;
}

.mw-body, .parsoid-body, #mw-panel {
	background: #fffffff0;
	border-radius: 6px;
	border: 5px solid transparent;
	border-image: url('https://cdn.discordapp.com/attachments/1082451514053890089/1082781921311985764/afafasf_1.png') 15 stretch;
}

#p-logo a {
	background-size: contain;
}

.mw-list-item a {
	color: white;
}

.mw-list-item a:visited {
	color: #dddddd;
}

@media screen and (min-width: 982px) { 
	.mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer {
    	margin-left: 13em;
	}
}

#mw-panel {
	width: 10.5em;
	margin-top: 2.2rem;
	border-left: none;
}

/*Ocultamentos e Remoções de estilo*/
.firstHeading {display: none;}

.vector-menu-tabs-legacy .selected { background: none!important; }

.vector-menu-tabs-legacy li { background: none!important; }

#mw-page-base { background: none!important;}

#ca-view { display: none; }

#ca-talk {display: none;}

.vector-search-box-input:focus, .vector-search-box-inner:hover .vector-search-box-input:focus {
	border-color: #cc7ee0;
    box-shadow: inset 0 0 0 1px #cc7ee0;
}

.vector-search-box-inner:hover .vector-search-box-input { border-color: #cc7ee0; }

.vector-search-box-input { 
	border: 1px solid #9f4eea; 
	background: white;
}

/*Wikitable*/

.wikitable th,
.wikitable td {
	color : #202122 !important;
}

.wikitable td.table-no-background {
	background-color: none;
}

.wikitable th {
	background-color: #d1c1e0 !important;
}

.wikitable td {
	background-color: #f2e8f8 !important;
}

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
	border-color: white !important;
	border-width: 2px !important;
}

/*Wikitable*/

/*Ajustes visuais de elementos da wiki*/

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
	background-image: none;
}

#right-navigation {
	margin-top: 2em;
}

.mw-list-item.selected{
	margin-top: -.2rem;
	display: block;
	border-radius: 6px;
	border: 5px solid transparent;
	border-image: url('https://cdn.discordapp.com/attachments/1082451514053890089/1082781921311985764/afafasf_1.png') 15 stretch;
}

.mw-list-item.selected a {
	padding: .35rem;
	background: white;
	height: auto !important;
}

/* Utilitarios */
.d-none {
	display: none!important;
}

.d-flex {
	display: flex;
}

.w-100 {
	width: 100%;
}

.align-center {
	align-items: center;
}

.justify-center, .list-center, .center-tab .tabber__tabs {
	justify-content: center;
}

.margin-center {
	margin-left: auto !important;
	margin-right: auto !important;
}

.mx-2 {
	margin-right: 1rem;
	margin-left: 1rem;
}

.mr-4 {
	margin-right: 2rem !important;
}

.mr-2 {
	margin-right: 1rem !important;
}

.mb-2 {
	margin-bottom: 1rem;
}

.flex-center {
	display: flex;
	justify-content:center;
	align-items: center;
}

.flex-wrap, .break-row {
	flex-wrap: wrap;
}
/* Utilitarios */

/* Cartões dos NPCs */
.npcCard {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    background-color: rgb(250, 250, 250);
    padding: 1rem .75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    height: 9.5rem;
    width: 11.5rem;

    border-top: 5px solid;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all .25s ease;
}

h2.npcCard__title{
	border: none;
    font-size: 1.25rem !important;
    font-weight: 400;
}

.npcCard__link {
	display: table;
}

.npcCard__link:hover {
	text-decoration: none !important;
}

.npcCard__link:hover .npcCard {
	transform: scale(.98);
}

.npcCard__portrait {
    padding: .55rem .8rem;
    border-radius: 50%;
    margin-bottom: .5rem;
}

.npcCard__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.npcCard__list .npcCard {
	margin-bottom: 1rem;
}

.npcCard__list a {
	display: block;
	margin-right: 1rem;
}

/* Cartões dos NPCs - Cores */
.npcCard.default .npcCard__portrait {
    background-color: #f7eeff;
}

.npcCard.default {
    border-color: #e89dff;
}
/* Cartões dos NPCs - Cores */
/* Cartões dos NPCs */

/* Componente veja mais */
 .seeMore {
    height: 3.2rem;
    padding: .5rem .575rem;
    border: 1px dashed #e89dff;
    background-color: #f9f2ff;
    border-radius: 12px;
    margin: 1rem auto 1rem 0px;
}

.flex-center .seeMore {
	margin: 0;
}

.seeMore__image {
    text-align: center;
    width: 2rem;
}
/* Componente veja mais */

/* Cartão*/
.card {
	background: white;
    box-shadow: rgb(67 71 85 / 27%) 0px 0px 0.25em, rgb(90 125 188 / 5%) 0px 0.25em 1em;
    padding-bottom: .2rem;
    margin-bottom: .75rem;
    border-radius: 8px;
}

.card-title {
	text-align: center;
    background-color: #944EC7;
    color: white;
    padding: .25rem 1rem;
    letter-spacing: .03rem;
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
}

.card-container {
	padding: .75rem 1rem;
}

/* Cartão */

/*Navegação rápida*/
.linkWithIcon__link {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.linkWithIcon__imageContainer {
	height: 10rem;
	box-sizing: border-box;
    padding: 1rem;
    display: flex;
    align-items: flex-end;
}

.linkWithIcon__imageContainer img {
	width: 100%;
	margin-bottom: .2rem;
    height: auto;
    max-height: 10rem;
}

.linkWithIcon__link img{
	height: 100%;
}

.linkWithIcon__link span {
	font-size: 1rem;
	font-weight: bold;
    margin-top: .5rem;
}

.fastNav__linksContainer {
	margin-top: 1rem;
	margin-bottom: 1rem;
	display: flex;
	gap: 2rem 0;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}

/*Prevent paragraph spacement*/
.fastNav__linksContainer p {
	display: none;
}

.fastNav__linksContainer a:not([href]) {
	display: none;
}

.fastNav__linksContainer .linkWithIcon__link,
.fastNav__linksContainer a{
	width: 18%;
    padding: .5rem;
    box-sizing: border-box;
}

.fastNav__linksContainer a img {
	width: 100%;
	height: auto;
}

/*Navegação rápida*/
.initialPage__container {
	max-width: 1650px;
}

.initialPage__contentContainer {
	display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 1rem;
    box-sizing: border-box;
}

.initialPage__mainContent {
    margin-top: 2.5rem;
    padding: 0 2rem;
    box-sizing: border-box;
    width: 75%;
}

.initialPage__sideContent {
	margin-top: 2.5rem;
    width: 25%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.initialPage__welcomeBadge {
	text-align: center;
}

.initialPage__welcomeBadgeImg {
	max-width: 800px;
    width: 100%;	
	border-radius: 12px;
}

.initialPage__highlightCardContainer {
	display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .5rem;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.initialPage__highlightCard {
	flex: 1;
	max-width: 19rem;
	min-width: 14rem;
}

.initialPage__highlightCard .badge-img {
	cursor: pointer;
}

.badge-img {
	box-shadow: rgb(67 71 85 / 27%) 0px 0px 0.25em, rgb(90 125 188 / 5%) 0px 0.25em 1em;
	border-radius: 12px;
	width: 100%;
	transition: transform .35s ease;
}

/*Social media*/
.socialMedia__title {
	font-weight: bold;
    font-size: 1.25rem;
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #747176;
    letter-spacing: .02rem;
}

.socialMedia__linkContainer {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-top: .5rem;
}

a.socialMedia__link img {
	width: 15rem;
    height: auto;
    border-radius: 12px;
    filter: grayscale(.5);
    
    transition: all .25s ease;
}

a.socialMedia__link:hover img{ 
	filter: grayscale(0);
	transform: scale(.98);
}

/* Indice da pagina inicial */
.initialPage__indexContent {
	margin-bottom: .75rem;
}

.initialPage__indexLinks {
	display: block;
	border-bottom: 2px dotted gray;
	padding-bottom: .5rem;
}

/* Formulario poll daddy */
.css-box.pds-box {
	width: 100%!important;
	max-width: 300px;
	margin: 0 auto !important;
}

/*Topico componente*/
.initialPage__topicContainer {
	width: 45rem;
	
	display: flex;
	align-items: center;
	border: 5px solid transparent;
	border-image: url('https://cdn.discordapp.com/attachments/1082451514053890089/1082781921311985764/afafasf_1.png') 15 stretch;
}

.initialPage__topicContainer img {
	width: 12rem;
	margin-right: .5rem;
}

.initialPage__topicContent {
	padding: .5rem;	
}

@media screen and (max-width: 1360px) {
	html {
		font-size: 14px;
	}
}

@media screen and (max-width: 1250px) {
	.initialPage__mainContent {
		padding: 0;	
	}
}