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
mSem resumo de edição
mSem resumo de edição
 
(171 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
/*text formatting*/
/*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');
body {
font-family: 'Spectral', serif;
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;
}
th, td {
text-align: justify;
}


/*Custom classes*/
body {
.sublinhado{
font-family: 'Spectral', serif;
border-bottom: 1px solid;
}
.tabulado{
margin-left: 3%;
}
.loretext{
margin-left: 5%;
margin-right: 5%;
font-style: italic;
}
.trait{
margin-left: 3%;
text-indent: -25px
}
.three-column{
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.btn-div{
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.btn {
background-color: #800A0C;
border: none;
padding: 10px 24px;
margin:15px;
border-radius: 12px;
display:flex;
align-content: center;
text-align: center;
font-family: 'Spectral', serif;
text-decoration:none;
transition-duration: 0.4s;
}
.btn:hover{
background-color: #A88541;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
/*Home Cards*/
#home-nav {
margin-top: 1rem;
}
}


#home-nav .home-card__background:after {
.wpb-topbanner .wpb-name {
position: absolute;
     font-size: 2.2em;
     pointer-events: none;
     white-space: normal;
     top: 0;
     overflow: hidden;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
     content: "";
}
}


#home-nav .home-card__foreground {
@media (max-width: 600px) {
pointer-events: none;
body {
height: 100%;
text-align: left;
    width: 100%;
}
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #fff;
    font-weight: 500;
}
}
.home-grid {
@media (min-width: 680px) {
display: grid;
body {
grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
text-align: justify;
grid-auto-rows: minmax( 3rem, auto );
}
grid-gap: 0.625rem;
}
}


.home-grid--col2 {
a {
grid-template-columns: 1fr 1fr;
color: #A88541;
}
}


.home-grid a.external {
a:hover {
background-image: none;
color: #800A0C;
}
}


.home-card {
#content p {
position: relative;
text-align: justify;
padding: 15px;
background: var( --color-surface-1 );
border-radius: 8px;
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
font-size: 0.875rem;
}
}


.home-card table.timeline {
#content h1,
margin-top: 0.2rem;
#content h2,
#content h3 {
font-family: 'Spectral', serif;
}
}


.home-card--col2 {
.mw-collapsible-toggle .mw-collapsible-toggle-default {
grid-column: span 2;
float: right;
}
}
 
table.wikitable {
.home-card--row3 {
    border: 2px solid #897051;
grid-row: span 3;
    margin: auto;
}
}


.home-card--row4 {
th,
grid-row: span 4;
td {
text-align: justify;
padding: 5px;
}
}


.home-card--row8 {
.section-subheading span:empty {
grid-row: span 8 / auto;
display: none;
}
}


.home-card__label {
/*Citizen Skin*/
color: var( --color-base--subtle );
.skin-citizen-dark,
font-size: 0.8125rem;
.skin-citizen-dark .mw-body-header,
letter-spacing: 0.75px;
.skin-citizen-dark #content {
}
background: url(https://rec.institutodaguerra.com/images/d/d9/Background-black-noise.jpg);
}


h3.home-card__header {
.skin-citizen-light,
margin-top: 0;
.skin-citizen-light .mw-body-header,
font-size: 1rem;
.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: '';
}
}


.home-card__header a {
.citizen-table-wrapper {
display: flex;
overflow-x: visible !important;
align-items: center;
}
justify-content: space-between;
}


.home-card__header a:after {
.citizen-body h3,
content: '▶';
.citizen-body h4,
font-size: 0.8125rem;
.citizen-body h5,
}
.citizen-body h6 {
margin-top: 10px;
margin-bottom: 7px;
}
.citizen-footer {
margin-top:0;
}


.home-card__background {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #242a31;
border-radius: 8px;
}


.home-card__background img {
/*Specific Page style*/
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}


.home-card__foreground {
/*Página Principal*/
position: absolute;
.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;
}


.home-card__foreground .home-card__label {
.page-Página_Principal h5 {
color: #bababa;
margin-top: 0px !important;
}
}


.home-card__foreground .home-card__header {
/*Rune RPG*/
color: #fff;
}


.home-card p {
.page-Rune_RPG .firstHeading,
margin-top: 0.2rem;
.page-Rune_RPG .mw-side,
font-size: 0.875rem;
.page-Rune_RPG #siteSub {
}
display: none !important;
}


.home-card.home-card--button {
/*Page Banner*/
overflow: hidden;
.ext-wpb-pagebanner .wpb-banner-image-panorama a img {
padding: 0;
margin-top: 0 !important;
background: #242a31;
}
}


.home-card--button a {
.ext-wpb-pagebanner .wpb-banner-image-panorama {
display: flex;
max-height: none !important;
height: 100%;
justify-content: center;
align-items: center;
padding: 0 15px;
background: transparent;
color: #fff;
font-weight: 500;
}
}


.home-card--button .home-card__background a {
/*Tabber Config*/
padding: 0;
}


.home-card--button img {
.tabber ul {
transition: transform 0.2s ease;
margin: 0.2rem 0 0.2rem 1.6rem
}
}


.home-card--button:hover img {
.tabber__header {
transform: scale(1.1);
margin-bottom: 1em;
}
}


.home-link {
display: grid;
margin-top: 6px;
font-size: 0.875rem;
font-weight: 500;
grid-gap: 6px;
text-align: center;
}


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


.home-link__button a {
.tabulado {
flex-grow: 1;
margin-left: 3%;
padding: 0.3rem 0.6rem;
border: 1px solid;
border-color: var( --border-color-base );
background: var( --background-color-framed );
border-radius: 12px;
color: var( --color-base--emphasized );
}
}


.home-link__button a:hover {
.loretext {
background: var( --background-color-framed--hover );
margin-left: 5%;
margin-right: 5%;
font-style: italic;
}
}


.home-link__button a:active {
.indent {
background: var( --background-color-framed--active );
text-indent: 25px
}
}


#home-content {
.trait {
margin-top: 1.6rem;
margin-left: 3%;
text-indent: -25px
}
}


.home-stats {
.three-column {
flex-grow: 1;
display: grid;
line-height: 1;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
}


.home-stats__value {
.column-three {
font-size: 1.5rem;
column-count: 3;
font-weight: 600;
}
}


.home-stats__unit {
.column-three .citizen-body h5 {
margin-top: 0.2rem;
margin-top: 0px !important;
color: var( --color-base--subtle );
margin-bottom: 5px !important;
font-size: 0.8125rem;
}
}


#home-card-discord {
.navegador {
background: #5865f2;
width: 100%;
table-layout: fixed;
margin: auto;
margin-bottom: 2em;
vertical-align: bottom;
}
}


#home-card-drive {
.navegador table {
background: #fff;
vertical-align: bottom;
}
}


#home-card-apoio {
/*Sidebar*/
background: #FF5733;
.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 {
#home-card-apoio {
    display: flex;
background: #fff;
    overflow: auto;
}
 
#home-card-twitter {
background: #fff;
}
}
 
.mw-portlet-External .citizen-menu__heading {
.home-footer {
    display: none;
font-size: 0.8125rem;
font-family: monospace;
text-align: center;
}
}
.home-header {
#n-sidebar-icon-discord a:before {
margin-top: 2rem;
    mask-image: url(https://media.starcitizen.tools/7/77/Discord_-_Simple_Icons.svg);
margin-bottom: 2rem;
padding-top: 1rem;
}
}
 
#n-sidebar-icon-twitch a:before {
.home-header__title {
    mask-image: url(https://rec.institutodaguerra.com/images/2/29/Twitch-Logo.svg);
margin-top: 0;
font-size: 1.5rem;
}
}
 
#n-sidebar-icon-youtube a:before {
.home-header .home-header__subtitle {
    mask-image: url(https://rec.institutodaguerra.com/images/3/34/Youtube_logo.svg);
margin-top: 0.4rem;
color: var( --color-base--subtle );
font-size: 0.875rem;
}
}
 
#n-sidebar-icon-site a:before {
.home-header__search {
    mask-image: url(https://rec.institutodaguerra.com/images/c/cf/LogoBlack.svg);
max-width: 600px;
padding: 0.6rem 0.8rem;
margin: 0.8rem auto 0 auto;
background: var( --color-surface-1 );
border-radius: 100px;
box-shadow: var( --box-shadow-card );
color: var( --color-base--subtle );
cursor: pointer;
font-size: 0.875rem;
}
}
 
#n-sidebar-icon-twitter a:before {
.home-header__searchIcon img {
     mask-image: url(https://media.starcitizen.tools/6/6a/Twitter_-_Simple_Icons.svg);
margin-right: 0.5rem;
     opacity: var( --opacity-icon-base );
}
}
 
#n-sidebar-icon-apoiase a:before {
.keyboard-text {
    mask-image: url(https://rec.institutodaguerra.com/images/2/2e/Apoiase.svg);
padding: 0 5px;
    width: 90px;
border: 1px solid;
margin: 0 2px;
border-radius: 4px;
}
}
 
.citizen-drawer__menu [id^="n-sidebar-icon-"] a {
html.skin-citizen-dark .home-header__searchIcon img {
    font-size: 0;
filter: invert( 1 );
    content-visibility: auto;
}
}
 
.citizen-drawer__menu [id^="n-sidebar-icon-"] a:before {
@media ( min-width: 682px ) {
    display: block;
.home-header {
    content: "";
text-align: center;
    width: var(--size-icon);
}
    height: var(--size-icon);
}
    background-color: currentColor;
 
    mask-size: contain;
@media ( hover: none ) {
     mask-repeat: no-repeat;
.desktoponly {
    mask-position: center;
display: none;
}
}
 
/*Header Main Page*/
 
.home-header {
margin-top: 2rem;
margin-bottom: 2rem;
padding-top: 1rem;
background-image: url(https://wiki.institutodaguerra.com/images/7/70/Pg_Inicial.png);
background-size: contain;
}
 
.home-header__title {
margin-top: 0;
font-size: 1.5rem;
}
 
.home-header .home-header__subtitle {
margin-top: 0.4rem;
color: var( --color-base--subtle );
font-size: 0.875rem;
}
 
.home-header__search {
max-width: 600px;
padding: 0.6rem 0.8rem;
margin: 0.8rem auto 0 auto;
background: var( --color-surface-1 );
border-radius: 100px;
box-shadow: var( --box-shadow-card );
color: var( --color-base--subtle );
cursor: pointer;
font-size: 0.875rem;
}
 
.home-header__searchIcon img {
margin-right: 0.5rem;
     opacity: var( --opacity-icon-base );
}
 
.keyboard-text {
padding: 0 5px;
border: 1px solid;
margin: 0 2px;
border-radius: 4px;
}
 
html.skin-citizen-dark .home-header__searchIcon img {
filter: invert( 1 );
}
}
 
.mw-portlet-External .mw-list-item a {
@media ( min-width: 682px ) {
    gap: 0;
.home-header {
text-align: center;
}
}
}
 
.citizen-dropdown .citizen-menu__card {
@media ( hover: none ) {
    max-width: 70vw;
.desktoponly {
display: none;
}
}
}

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;
}