Ativa o menu
Toggle preferences menu
Alternar menu pessoal
Não autenticado(a)
Your IP address will be publicly visible if you make any edits.

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

Página de Interface do MediaWiki
Sem resumo de edição
mSem resumo de edição
 
(254 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
/* CSS placed here will be applied to all skins */
/*text formatting*/
@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@300&display=swap');


/* Changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text): */
body {
body {
  font-family: 'Spectral', serif;
font-family: 'Spectral', serif;
}
}


/* Changes the default font used for MediaWiki headings to Spectral: */
.wpb-topbanner .wpb-name {
#content p {
    font-size: 2.2em;
  text-align: justify;
    white-space: normal;
    overflow: hidden;
}
}
h1 {
 
  border-bottom: 3px solid;
@media (max-width: 600px) {
body {
text-align: left;
}
}
}
#content h1,
@media (min-width: 680px) {
#content h2,
body {
#content h3 {
text-align: justify;
  font-family: 'Spectral', serif;
}
}
}


.three-column{
a {
display: grid;
color: #A88541;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
}


/** o código CSS colocado aqui será aplicado a todos os temas */
a:hover {
/* {{pp|small=yes}} */
color: #800A0C;
}


/*.mw-headline:target { */
#content p {
/*  background-color: gold;*/
text-align: justify;
/*}*/
}


#mp-topbanner {
#content h1,
clear: both;
#content h2,
position: relative;
#content h3 {
box-sizing: border-box;
font-family: 'Spectral', serif;
width: 100%;
margin-top: 1.2em;
min-width: 47em;
border-color: #ddd;
background-color: #f9f9f9;
white-space: nowrap;
}
}


.mp-bordered,
.mw-collapsible-toggle .mw-collapsible-toggle-default {
.mp-h2,
float: right;
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
}
border-width: 1px;
table.wikitable {
border-style: solid;
    border: 2px solid #897051;
    margin: auto;
}
}


#mp-topbanner,
th,
.mp-h2,
td {
#mp-left {
text-align: justify;
color: #000;
padding: 5px;
}
}


#mp-welcomecount {
.section-subheading span:empty {
margin: 0.4em;
display: none;
width: 22em;
text-align: center;
}
}


#mp-welcome {
/*Citizen Skin*/
font-size: 162%;
.skin-citizen-dark,
padding: 0.1em;
.skin-citizen-dark .mw-body-header,
}
.skin-citizen-dark #content {
background: url(https://rec.institutodaguerra.com/images/d/d9/Background-black-noise.jpg);
}


#mp-free {
.skin-citizen-light,
font-size: 95%;
.skin-citizen-light .mw-body-header,
.skin-citizen-light #content {
background: url(https://rec.institutodaguerra.com/images/f/f3/Hero-background.jpg);
}
.citizen-overflow-wrapper {
box-shadow: none;
}
.citizen-body-header--sticky .mw-body-header::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: calc(var(--padding-page) * -1.5);
    left: calc(var(--padding-page) * -1.5);
    height: 100%;
    backdrop-filter: saturate(50%) blur(16px);
    background-color: transparent !important;
    content: '';
}
}


#articlecount {
.citizen-table-wrapper {
font-size: 85%;
overflow-x: visible !important;
}
}


#mp-portals {
.citizen-body h3,
position: absolute;
.citizen-body h4,
right: -1em;
.citizen-body h5,
top: 50%;
.citizen-body h6 {
margin-top: -2.4em;
margin-top: 10px;
width: 38%;
margin-bottom: 7px;
min-width: 25em;
}
font-size: 95%;
}
.citizen-footer {
margin-top:0;
}


#mp-portals li {
position: absolute;
left: 0;
top: 0;
}


#mp-portals .portal-hmid {
/*Specific Page style*/
left: 33%;
}


#mp-portals .portal-hright {
/*Página Principal*/
left: 66%;
.page-Página_Principal .tabber h5 {
}
margin-top: 0px !important;
margin-bottom: 0px !important;
}
.page-Página_Principal .firstHeading,
.page-Página_Principal .mw-side,
.page-Página_Principal #siteSub {
display: none !important;
}


#mp-portals .portal-vmid {
.page-Página_Principal h5 {
top: 1.6em;
margin-top: 0px !important;
}
}


#mp-portals .portal-vbot {
/*Rune RPG*/
top: 3.2em;
}


.page-Rune_RPG .firstHeading,
.page-Rune_RPG .mw-side,
.page-Rune_RPG #siteSub {
display: none !important;
}


#mp-banner {
/*Page Banner*/
margin-top: 4px;
.ext-wpb-pagebanner .wpb-banner-image-panorama a img {
padding: 0.5em;
margin-top: 0 !important;
background-color: #43B1EB
border-color: #f2e0ce;
}
}


.mp-h2,
.ext-wpb-pagebanner .wpb-banner-image-panorama {
body.skin-timeless .mp-h2 { /* Timeless needs a higher specificity */
max-height: none !important;
margin: 0.5em;
padding: 0.2em 0.4em;
font-size: 120%;
font-weight: bold;
font-family: inherit;
}
}


h2.mp-h2::after { /* Remove borders in Timeless */
/*Tabber Config*/
border: none;
 
.tabber ul {
margin: 0.2rem 0 0.2rem 1.6rem
}
}


.mp-later {
.tabber__header {
font-size: 85%;
margin-bottom: 1em;
font-weight: normal;
}
}


#mp-upper {
width: 100%;
margin-top: 4px;
margin-bottom: 0;
border-spacing: 0;
border-collapse: separate;
}


#mp-upper .mid-table {
/*Custom classes*/
border-color: transparent;
.sublinhado {
border-bottom: 1px solid;
max-width: auto;
}
}


#mp-left {
.tabulado {
width: 55%;
margin-left: 3%;
border-color: #cef2e0;
background: #43B1EB;
}
}


#mp-right {
.loretext {
width: 45%;
margin-left: 5%;
border-color: #cedff2;
margin-right: 5%;
background: #43B1EB;
font-style: italic;
}
}


#mp-left,
.indent {
#mp-right {
text-indent: 25px
padding: 0;
vertical-align: top;
}
}


#mp-left .mp-h2 {
.trait {
background: #cef2e0;
margin-left: 3%;
border-color: #43B1EB;
text-indent: -25px
}
}


#mp-right .mp-h2 {
.three-column {
background: #cedff2;
display: grid;
border-color: #43B1EB;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
}


#mp-tfa,
.column-three {
#mp-dyk,
column-count: 3;
#mp-itn,
#mp-otd,
#mp-other-lower > div {
padding: 0.1em 0.6em;
}
}


#mp-dyk-h2,
.column-three .citizen-body h5 {
#mp-otd-h2 {
margin-top: 0px !important;
clear: both;
margin-bottom: 5px !important;
}
}


#mp-middle {
.navegador {
margin-top: 4px;
width: 100%;
border-color: #f2cedd;
table-layout: fixed;
background: #43B1EB;
margin: auto;
margin-bottom: 2em;
vertical-align: bottom;
}
}


#mp-middle,
.navegador table {
#mp-lower,
vertical-align: bottom;
#mp-other-lower {
overflow: auto;
}
}


#mp-tfl-h2 {
/*Sidebar*/
background: #43B1EB;
.mw-portlet-External {
border-color: #bfa3af;
    position: sticky;
    bottom: 0;
    margin-top: var(--space-md);
    padding: var(--space-xs) 0;
    border-top: 1px solid var(--border-color-base);
    background: var(--color-surface-1);
    font-size: var(--font-size-x-small);
    grid-column: 1 / -1;
    white-space: nowrap;
}
}
 
.mw-portlet-External ul {
#mp-tfl {
    display: flex;
padding: 0.3em 0.7em;
    overflow: auto;
}
}
 
.mw-portlet-External .citizen-menu__heading {
#mp-lower {
    display: none;
margin-top: 4px;
border-color: #ddcef2;
background: #43B1EB;
}
}
 
#n-sidebar-icon-discord a:before {
#mp-tfp-h2 {
    mask-image: url(https://media.starcitizen.tools/7/77/Discord_-_Simple_Icons.svg);
background: #43B1EB;
border-color: #afa3bf;
}
}
 
#n-sidebar-icon-twitch a:before {
#mp-tfp {
    mask-image: url(https://rec.institutodaguerra.com/images/2/29/Twitch-Logo.svg);
margin: 0.1em 0.4em 0.6em;
}
}
 
#n-sidebar-icon-youtube a:before {
#mp-other-lower {
    mask-image: url(https://rec.institutodaguerra.com/images/3/34/Youtube_logo.svg);
padding: 0;
border-color: #e2e2e2;
margin-top: 4px;
}
}
 
#n-sidebar-icon-site a:before {
#mp-dyk,
    mask-image: url(https://rec.institutodaguerra.com/images/c/cf/LogoBlack.svg);
#mp-otd,
#mp-other-lower {
padding-bottom: 0.5em;
}
}
 
#n-sidebar-icon-twitter a:before {
#mp-other-lower .mp-h2 {
    mask-image: url(https://media.starcitizen.tools/6/6a/Twitter_-_Simple_Icons.svg);
background: #eee;
border-color: #ddd;
color: #222;
}
}
 
#n-sidebar-icon-apoiase a:before {
@media (max-width: 875px) {
    mask-image: url(https://rec.institutodaguerra.com/images/2/2e/Apoiase.svg);
    width: 90px;
body.skin--responsive #mp-welcomecount {
width: auto;
}
 
body.skin--responsive #mp-topbanner {
min-width: 0;
white-space: normal;
}
body.skin--responsive #mp-portals {
display: block;
position: static;
width: auto;
min-width: 0;
text-align: center;
border-top: 1px solid #ddd;
padding: 0.4em 0;
margin: 0 0.4em;
}
body.skin--responsive #mp-portals li {
position: static;
display: inline;
padding: 0 5px;
}
body.skin--responsive #mp-topbanner .portal-hright {
white-space: nowrap;
}
body.skin--responsive table,
body.skin--responsive tr,
body.skin--responsive td,
body.skin--responsive tbody {
display: block !important;
width: 100% !important;
box-sizing: border-box;
}
 
body.skin--responsive #mp-tfp tr:first-child td:first-child a {
text-align: center;
display: table;
margin: 0 auto;
}
#mp-sumbanner{
clear: both;
position: relative;
box-sizing: border-box;
width: 100%;
margin-top: 1.2em;
min-width: 47em;
border-color: #ddd;
background-color: #FFFFFF;
white-space: nowrap;
}
}
#mp-summary {
.citizen-drawer__menu [id^="n-sidebar-icon-"] a {
    position: absolute;
     font-size: 0;
    right: -1em;
     content-visibility: auto;
    top: 0%;
    margin-top: -2.4em;
     width: 38%;
    min-width: 25em;
     font-size: 100%;
}
}
#mp-summary .summary-hmid {
.citizen-drawer__menu [id^="n-sidebar-icon-"] a:before {
     left: 33%;
     display: block;
    content: "";
    width: var(--size-icon);
    height: var(--size-icon);
    background-color: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
}
#mp-summary .summary-hright {
.mw-portlet-External .mw-list-item a {
     left: 66%;
     gap: 0;
}
}
.citizen-dropdown .citizen-menu__card {
    max-width: 70vw;
}
}

Edição atual tal como às 17h56min de 16 de fevereiro de 2025

/*text formatting*/
@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@300&display=swap');

body {
	font-family: 'Spectral', serif;
}

.wpb-topbanner .wpb-name {
    font-size: 2.2em;
    white-space: normal;
    overflow: hidden;
}

@media (max-width: 600px) {
	body {
	text-align: left;
	}
}
@media (min-width: 680px) {
body {
	text-align: justify;
	}
}

a {
	color: #A88541;
}

a:hover {
	color: #800A0C;
}

#content p {
	text-align: justify;
}

#content h1,
#content h2,
#content h3 {
	font-family: 'Spectral', serif;
}

.mw-collapsible-toggle .mw-collapsible-toggle-default {
	float: right;
}
table.wikitable {
    border: 2px solid #897051;
    margin: auto;
}

th,
td {
	text-align: justify;
	padding: 5px;
}

.section-subheading span:empty {
	display: none;
}

/*Citizen Skin*/
	.skin-citizen-dark,
	.skin-citizen-dark .mw-body-header,
	.skin-citizen-dark #content {
		background: url(https://rec.institutodaguerra.com/images/d/d9/Background-black-noise.jpg);
	}

	.skin-citizen-light,
	.skin-citizen-light .mw-body-header,
	.skin-citizen-light #content {
		background: url(https://rec.institutodaguerra.com/images/f/f3/Hero-background.jpg);
	}
	
	.citizen-overflow-wrapper {
		box-shadow: none;
	}
	
	.citizen-body-header--sticky .mw-body-header::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: calc(var(--padding-page) * -1.5);
    left: calc(var(--padding-page) * -1.5);
    height: 100%;
    backdrop-filter: saturate(50%) blur(16px);
    background-color: transparent !important;
    content: '';
}

	.citizen-table-wrapper {
		overflow-x: visible !important;
	}

	.citizen-body h3,
	.citizen-body h4,
	.citizen-body h5,
	.citizen-body h6 {
		margin-top: 10px;
		margin-bottom: 7px;
	}
	
	.citizen-footer {
		margin-top:0;
	}


/*Specific Page style*/

	/*Página Principal*/
	.page-Página_Principal .tabber h5 {
			margin-top: 0px !important;
				margin-bottom: 0px !important;
	}
	.page-Página_Principal .firstHeading,
	.page-Página_Principal .mw-side,
	.page-Página_Principal #siteSub {
		display: none !important;
	}

	.page-Página_Principal h5 {
		margin-top: 0px !important;
	}

	/*Rune RPG*/

	.page-Rune_RPG .firstHeading,
	.page-Rune_RPG .mw-side,
	.page-Rune_RPG #siteSub {
		display: none !important;
	}

/*Page Banner*/
.ext-wpb-pagebanner .wpb-banner-image-panorama a img {
	margin-top: 0 !important;
}

.ext-wpb-pagebanner .wpb-banner-image-panorama {
	max-height: none !important;
}

/*Tabber Config*/

.tabber ul {
	margin: 0.2rem 0 0.2rem 1.6rem
}

.tabber__header {
	margin-bottom: 1em;
}


/*Custom classes*/
.sublinhado {
	border-bottom: 1px solid;
	max-width: auto;
}

.tabulado {
	margin-left: 3%;
}

.loretext {
	margin-left: 5%;
	margin-right: 5%;
	font-style: italic;
}

.indent {
	text-indent: 25px
}

.trait {
	margin-left: 3%;
	text-indent: -25px
}

.three-column {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.column-three {
	column-count: 3;
}

.column-three .citizen-body h5 {
	margin-top: 0px !important;
	margin-bottom: 5px !important;
}

.navegador {
	width: 100%;
	table-layout: fixed;
	margin: auto;
	margin-bottom: 2em;
	vertical-align: bottom;
}

.navegador table {
	vertical-align: bottom;
}

/*Sidebar*/
.mw-portlet-External {
    position: sticky;
    bottom: 0;
    margin-top: var(--space-md);
    padding: var(--space-xs) 0;
    border-top: 1px solid var(--border-color-base);
    background: var(--color-surface-1);
    font-size: var(--font-size-x-small);
    grid-column: 1 / -1;
    white-space: nowrap;
}
.mw-portlet-External ul {
    display: flex;
    overflow: auto;
}
.mw-portlet-External .citizen-menu__heading {
    display: none;
}
#n-sidebar-icon-discord a:before {
    mask-image: url(https://media.starcitizen.tools/7/77/Discord_-_Simple_Icons.svg);
}
#n-sidebar-icon-twitch a:before {
    mask-image: url(https://rec.institutodaguerra.com/images/2/29/Twitch-Logo.svg);
}
#n-sidebar-icon-youtube a:before {
    mask-image: url(https://rec.institutodaguerra.com/images/3/34/Youtube_logo.svg);
}
#n-sidebar-icon-site a:before {
    mask-image: url(https://rec.institutodaguerra.com/images/c/cf/LogoBlack.svg);
}
#n-sidebar-icon-twitter a:before {
    mask-image: url(https://media.starcitizen.tools/6/6a/Twitter_-_Simple_Icons.svg);
}
#n-sidebar-icon-apoiase a:before {
    mask-image: url(https://rec.institutodaguerra.com/images/2/2e/Apoiase.svg);
    width: 90px;
}
.citizen-drawer__menu [id^="n-sidebar-icon-"] a {
    font-size: 0;
    content-visibility: auto;
}
.citizen-drawer__menu [id^="n-sidebar-icon-"] a:before {
    display: block;
    content: "";
    width: var(--size-icon);
    height: var(--size-icon);
    background-color: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.mw-portlet-External .mw-list-item a {
    gap: 0;
}
.citizen-dropdown .citizen-menu__card {
    max-width: 70vw;
}