MediaWiki:Timeless.css: Difference between revisions
From Game Wiki - VortanMU
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
@media screen { | @media screen { | ||
/* Importação de fontes e definição de fontes customizadas */ | |||
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"); | |||
@font-face { | |||
font-family: 'GothamSSm-Light'; | |||
src: url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.eot"); | |||
src: url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Lightd41d.eot?#iefix") format("embedded-opentype"), | |||
url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.svg#GothamSSm-Light") format("svg"), | |||
url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.ttf") format("truetype"), | |||
url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.woff") format("woff"), | |||
url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.woff2") format("woff2"); | |||
font-weight: normal; | |||
font-style: normal; | |||
} | |||
@font-face { | |||
font-family: 'GothamSSm-Medium'; | |||
src: url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.eot"); | |||
src: url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Mediumd41d.eot?#iefix") format("embedded-opentype"), | |||
url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.svg#GothamSSm-Light") format("svg"), | |||
url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.ttf") format("truetype"), | |||
url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.woff") format("woff"), | |||
url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.woff2") format("woff2"); | |||
font-weight: normal; | |||
font-style: normal; | |||
} | |||
body { | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
background: #020307 !important; | |||
} | |||
hr { | |||
border-top: 0 !important; | |||
border-left: 0 !important; | |||
border-right: 0 !important; | |||
border-bottom: 1px solid #262932 !important; | |||
margin-top: 10px !important; | |||
} | |||
a { | |||
color: rgba(240, 240, 255, 0.7) !important; | |||
text-decoration: none !important; | |||
} | |||
a:hover { | |||
color: #ba6356 !important; | |||
text-decoration: none !important; | |||
} | |||
pre { | |||
background: #0f1116 !important; | |||
border: 1px solid #262932 !important; | |||
color: #6c757d !important; | |||
} | |||
.font-roboto { | |||
font-family: "Roboto", sans-serif; | |||
font-optical-sizing: auto; | |||
} | font-weight: 400; | ||
font-style: normal; | |||
font-variation-settings: "wdth" 100; | |||
} | |||
.mw-wiki-logo.timeless-logo img { | |||
width: 270px !important; | |||
height: auto; | |||
margin: 3.5em 0 1.5em !important; | |||
} | |||
/* | /******************************* | ||
* HEADINGS E ESTILOS DE PÁGINA | |||
.mw- | *******************************/ | ||
.mw- | .mw-body .mw-heading3, | ||
.mw-body | .mw-body h3 { | ||
padding-bottom: 8px; | |||
border-bottom: 1px solid #262932; | |||
font-size: 22px !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
} | color: rgba(240, 240, 255, 0.9) !important; | ||
line-height: 1.125 !important; | |||
margin: 1.25em 0 0.5em !important; | |||
} | |||
.mw-body .mw-heading3, | |||
.mw-body h3:before { | |||
content: '--'; | |||
position: relative; | |||
margin-right: 10px; | |||
display: inline-block; | |||
color: #ba6356; | |||
} | |||
.mw-body .mw-heading2, | |||
.mw- | .mw-body h2 { | ||
.mw- | font-size: 1.8em !important; | ||
.mw-body h2 | border-bottom: 1px solid #a23e2f !important; | ||
color: #ffffff !important; | |||
font-weight: normal !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
line-height: 150% !important; | |||
margin: 1.25em 0 10px !important; | |||
} | |||
} | |||
.mw-body .mw-heading4, | |||
.mw-body h4 { | |||
font-size: 1.4em !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
} | |||
.toc { | |||
display: none !important; | |||
} | |||
} | |||
.mw-body h1.firstHeading { | |||
display: none !important; | |||
margin-top: -5px; | |||
} | |||
} | |||
/* | /* Sidebar section headings (Site navigation / Related navigation labels) */ | ||
#mw-site-navigation. | #mw-related-navigation .sidebar-inner label, | ||
#mw-related-navigation .sidebar-inner h3, | |||
#mw-site-navigation .sidebar-chunk label, | |||
#mw-site-navigation .sidebar-chunk h3 { | |||
font-family: 'GothamSSm-Medium', sans-serif !important; | |||
font-weight: 500 !important; | |||
font-size: 18px !important; | |||
} | color: #fff !important; | ||
border-bottom: 1px solid #262932 !important; | |||
padding: 5px 0 !important; | |||
margin: 0 !important; | |||
display: block; | |||
} | |||
#mw-related-navigation .sidebar-inner label, | |||
#mw-related-navigation .sidebar-inner h3:before, | |||
#mw-site-navigation .sidebar-chunk label, | |||
#mw-site-navigation .sidebar-chunk h3:before { | |||
content: '--'; | |||
position: relative; | |||
margin-right: 10px; | |||
display: inline-block; | |||
color: #ba6356; | |||
} | |||
.sidebar-inner li a { | |||
color: #fff !important; | |||
background: #0f1116 !important; | |||
margin-bottom: 5px !important; | |||
padding: 15px 25px !important; | |||
font-size: 16px !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
} | |||
.sidebar-inner li a:hover { | |||
color: #ba6356 !important; | |||
} | |||
/* Responsividade para cabeçalhos do menu lateral em telas médias */ | |||
@media screen and (min-width: 851px) and (max-width: 1099px) { | |||
#mw-header-nav-hack { | |||
border-top: 1px solid #171a22 !important; | |||
display: block; | |||
position: absolute; | |||
z-index: 198; | |||
background: #171920 !important; | |||
width: 100%; | |||
} | |||
#mw-site-navigation h2, | |||
#mw-related-navigation h2 { | |||
font-weight: normal; | |||
font-family: 'GothamSSm-Medium', sans-serif !important; | |||
font-size: 16px !important; | |||
cursor: pointer; | |||
margin: -3px 0 -3px !important; | |||
padding: 10px 0 !important; | |||
} | |||
#mw-site-navigation .sidebar-inner { | |||
line-height: 1.125; | |||
word-wrap: break-word; | |||
font-size: 0.95em; | |||
background: #0f1116 !important; | |||
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05); | |||
position: absolute; | |||
padding: 20px 2em 0; | |||
margin: 0; | |||
min-width: 9.153em; | |||
top: 3.1em !important; | |||
left: -1em; | |||
overflow: visible; | |||
z-index: 50; | |||
border: 1px solid #0f1116 !important; | |||
} | |||
#mw-site-navigation .sidebar-chunk h2 span::before, | |||
#mw-site-navigation .sidebar-chunk h2 span::after { | |||
transform: rotate(360deg); | |||
border-bottom: 10px solid #0f1116 !important; | |||
border-left: 10px solid transparent; | |||
border-right: 10px solid transparent; | |||
content: ''; | |||
height: 0; | |||
width: 0; | |||
position: absolute; | |||
right: 1em; | |||
z-index: 51; | |||
} | |||
#mw-related-navigation .sidebar-inner { | |||
line-height: 1.125; | |||
word-wrap: break-word; | |||
font-size: 0.95em; | |||
background: #0f1116 !important; | |||
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05); | |||
position: absolute; | |||
padding: 20px 2em 0; | |||
margin: 0; | |||
min-width: 9.153em; | |||
right: -1em; | |||
overflow: visible; | |||
z-index: 50; | |||
top: 3.1em !important; | |||
border: 1px solid #0f1116 !important; | |||
} | |||
#mw-related-navigation .sidebar-inner label, | |||
#mw-related-navigation .sidebar-inner h3, | |||
#mw-site-navigation .sidebar-chunk label, | |||
#mw-site-navigation .sidebar-chunk h3 { | |||
font-size: 16px !important; | |||
} | |||
.sidebar-inner li a { | |||
margin-left: -10px !important; | |||
width: calc(100% - 10px) !important; | |||
padding: 15px 15px !important; | |||
font-size: 15px !important; | |||
font-family: 'GothamSSm-Medium', sans-serif !important; | |||
background: #171920 !important; | |||
} | |||
} | |||
@media screen and (min-width: 851px) { | |||
} | #personal .dropdown { | ||
line-height: 1.125; | |||
word-wrap: break-word; | |||
font-size: 0.95em; | |||
background: #0f1116 !important; | |||
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05); | |||
position: absolute; | |||
padding: 20px 2em 0; | |||
margin: 0; | |||
min-width: 9.153em; | |||
top: 2.95em; | |||
right: -1em; | |||
overflow: visible; | |||
z-index: 50; | |||
border: 1px solid #0f1116 !important; | |||
width: 220px !important; | |||
} | |||
#personal .dropdown label, | |||
#personal .dropdown h3 { | |||
font-weight: normal; | |||
font-size: 1em; | |||
margin: 0.25em 0 0.75em 0; | |||
padding-bottom: 8px !important; | |||
border-bottom: 1px solid #262932 !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
color: rgba(240, 240, 255, 0.9) !important; | |||
display: block; | |||
} | |||
#personal .dropdown label, | |||
#personal .dropdown h3:before { | |||
content: '--'; | |||
position: relative; | |||
margin-right: 10px; | |||
display: inline-block; | |||
color: #ba6356; | |||
} | |||
} | |||
/******************************* | |||
* MENU / SUBMENU | |||
*******************************/ | |||
/* Estilos da navegação principal */ | |||
.sidebar-inner ul { | |||
list-style: none; | |||
padding: 0; | |||
margin: 0; | |||
} | |||
} | .sidebar-inner li { | ||
margin: 0; | |||
padding: 0; | |||
} | |||
.sidebar-inner li a { | |||
display: block; | |||
padding: 8px 10px; | |||
text-decoration: none; | |||
color: #fff; | |||
} | |||
/* Indicador para li que terá submenu */ | |||
li.has-submenu { | |||
position: relative; | |||
} | } | ||
li.has-submenu > a:after { | |||
content: "▶"; | |||
font-size: 10px; | |||
margin-left: 5px; | |||
} | |||
@media screen and (min-width: 1100px) and (max-width: 1339px) { | |||
#mw-site-navigation | #mw-site-navigation { | ||
overflow: visible !important; | |||
} | |||
} | |||
} | |||
/* Estilo básico do submenu (dropdown) */ | |||
ul.submenu { | |||
} | display: none; | ||
position: absolute !important; | |||
z-index: 1000 !important; | |||
left: 100%; | |||
top: -10px; | |||
background-color: #0f1116; | |||
border-radius: 4px; | |||
box-shadow: 2px 2px 8px rgba(0,0,0,0.1); | |||
padding: 20px; | |||
width: 220px; | |||
border: 1px solid #171a22; | |||
} | |||
/* Layout multi-coluna para submenus grandes */ | |||
ul.submenu.multi-column { | |||
width: auto; | |||
} | min-width: 450px; | ||
column-count: 2; | |||
column-gap: 20px; | |||
} | |||
/* Submenu muito grande (ex: Classes) – 3 colunas */ | |||
li.has-submenu:nth-child(2) > ul.submenu { | |||
column-count: 3; | |||
min-width: 600px; | |||
} | |||
/* Evita quebras inadequadas nas colunas do submenu */ | |||
ul.submenu li { | |||
break-inside: avoid; | |||
} | page-break-inside: avoid; | ||
display: block; | |||
margin-bottom: 5px; | |||
} | |||
/* Exibe o submenu ao passar o mouse */ | |||
li.has-submenu:hover > ul.submenu { | |||
display: block; | |||
} | |||
} | |||
/* Estiliza links do submenu */ | |||
.submenu { | |||
padding: 20px !important; | |||
} | |||
} | .submenu li a { | ||
padding: 10px 10px !important; | |||
margin: 0 !important; | |||
display: block; | |||
color: rgba(255, 255, 255, 0.5) !important; | |||
transition: background-color 0.2s !important; | |||
border-bottom: 1px solid #171a22 !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
} | |||
.submenu li a:hover { | |||
color: #fff !important; | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important; | |||
text-shadow: 0 0 5px #fff !important; | |||
} | |||
/* | /* Ajustes de submenu para mobile (desabilita hover e usa toggle via JS) */ | ||
@media (max-width: 768px) { | |||
.sidebar-inner { | |||
*/ | width: 100%; | ||
overflow: hidden; | |||
} | |||
li.has-submenu { | |||
position: static; | |||
} | |||
li.has-submenu > a:after { | |||
content: "▼"; | |||
} | } | ||
li.has-submenu:hover > ul.submenu { | |||
display: none; /* não abre no hover em mobile */ | |||
} | |||
li.has-submenu.active > ul.submenu { | |||
display: block; | |||
} | |||
li.has-submenu.active > a:after { | |||
content: "▲"; | |||
} | |||
/* Submenus multi-coluna voltam para uma coluna em mobile */ | |||
li.has-submenu:nth-child(2) > ul.submenu, | |||
ul.submenu.multi-column { | |||
column-count: 1; | |||
min-width: auto !important; | |||
} | |||
} | |||
/* | @media screen and (min-width: 851px) and (max-width: 1099px) { | ||
/* Em telas médias, mantém estilo do submenu, sem background nos links (já herdado) */ | |||
.submenu { | |||
padding: 20px !important; | |||
} | |||
.submenu li a { | |||
background: transparent !important; | |||
} | |||
.submenu li a:hover { | |||
color: #fff !important; | |||
border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important; | |||
text-shadow: 0 0 5px #fff !important; | |||
} | |||
} | |||
/* | /* Estiliza o container do header */ | ||
#mw- | #mw-header-container { | ||
background: #020307 !important; | |||
color: #6c757d !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
} | |||
#personal h2 span { | |||
} | color: #6c757d !important; | ||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
font-weight: 500 !important; | |||
font-variant: none !important; | |||
} | |||
#p-logo-text a { | |||
color: #6c757d !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
font-weight: normal !important; | |||
font-size: 1em !important; | |||
} | |||
#p-logo-text a:hover { | |||
color: #ba6356 !important; | |||
text-decoration: none !important; | |||
} | |||
#p-logo-text a img { | |||
margin-right: 3px !important; | |||
} | |||
# | /* Campo de busca */ | ||
#searchInput { | |||
background: #0f1116 !important; | |||
color: #fff !important; | |||
} | font-family: 'GothamSSm-Light', sans-serif !important; | ||
font-weight: 500 !important; | |||
border: 1px solid #0f1116 !important; | |||
} | |||
#simpleSearch { | |||
background: #0f1116 !important; | |||
color: #6c757d !important; | |||
border: 1px solid #171a22 !important; | |||
} | |||
# | /* Ajustes para telas menores (max-width: 850px) */ | ||
@media screen and (max-width: 850px) { | |||
#p-logo-text { | |||
} | position: absolute; | ||
top: 0.4em !important; | |||
left: 2em !important; | |||
text-align: left; | |||
width: 300px !important; | |||
} | |||
#menus-cover { | |||
background: #0f1116 !important; | |||
} | |||
.sidebar-inner, | |||
.dropdown { | |||
display: none; | |||
background: #0f1116 !important; | |||
border: 0 solid #171a22 !important; | |||
line-height: 100% !important; | |||
word-wrap: break-word !important; | |||
font-size: 0.95em !important; | |||
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05) !important; | |||
position: absolute !important; | |||
padding: 2em 2.5em 1em !important; | |||
margin: 0 !important; | |||
min-width: 9.153em !important; | |||
max-width: 60% !important; | |||
top: 3em !important; | |||
right: 0 !important; | |||
overflow: visible !important; | |||
z-index: 350 !important; | |||
} | |||
.sidebar-inner li, | |||
.dropdown li { | |||
margin: 0 !important; | |||
margin-bottom: 5px !important; | |||
} | |||
.sidebar-inner ul li a { | |||
color: #fff !important; | |||
background: #171920 !important; | |||
margin-bottom: 5px !important; | |||
padding: 15px 25px !important; | |||
font-size: 16px !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
} | |||
.sidebar-inner ul li ul.submenu li { | |||
margin-bottom: 0 !important; | |||
} | |||
.sidebar-inner ul li ul.submenu li a { | |||
color: rgba(255, 255, 255, 0.8) !important; | |||
background: #171920 !important; | |||
margin-bottom: 2px !important; | |||
padding: 10px 20px !important; | |||
font-size: 16px !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
} | |||
.sidebar-inner ul li ul.submenu li a:hover { | |||
border-bottom: 0 !important; | |||
color: #fff !important; | |||
text-shadow: 0 0 5px #fff !important; | |||
} | |||
ul.submenu { | |||
display: none; | |||
position: relative !important; | |||
left: 0 !important; | |||
top: -10px; | |||
background-color: #0f1116 !important; | |||
border-radius: 4px; | |||
box-shadow: 2px 2px 8px rgba(0,0,0,0.1); | |||
padding: 20px; | |||
z-index: 1000 !important; | |||
width: calc(100% - 40px) !important; | |||
border: 1px solid #171920 !important; | |||
} | |||
ul.submenu.multi-column { | |||
width: auto; | |||
min-width: 450px; | |||
column-count: 2; | |||
column-gap: 20px; | |||
} | |||
ul.submenu .sidebar-inner li, | |||
.dropdown li { | |||
padding: 0 !important; | |||
max-width: 100% !important; | |||
} | |||
#mw-content { | |||
padding: 1em !important; | |||
border-width: 0; | |||
margin-top: 200px !important; | |||
} | |||
} | |||
#mw- | /* Estilização base dos containers de conteúdo */ | ||
#mw-content-container { | |||
background: #0f1116 !important; | |||
border-bottom: 1px solid #171a22 !important; | |||
} | padding-bottom: 30px !important; | ||
} | |||
#mw-content { | |||
background: #171920 !important; | |||
border: 1px solid #171a22 !important; | |||
color: #6c757d !important; | |||
} | |||
.sidebar-chunk { | |||
background: #171920 !important; | |||
border: 1px solid #171a22 !important; | |||
color: #6c757d !important; | |||
} | |||
.mw-footer-container { | |||
background: #020307 !important; | |||
border-top: 1px solid #171a22 !important; | |||
border-bottom: 1px solid #171a22 !important; | |||
} | |||
.tools-inline li.selected { | |||
border-bottom: 2px solid #a23e2f !important; | |||
} | |||
.tools-inline li.selected a { | |||
color: #6c757d !important; | |||
} | |||
.sidebar-inner ul { | |||
margin-top: 10px !important; | |||
margin-bottom: 10px !important; | |||
} | |||
/* | /* Estilo de imagens em miniatura (thumb/figuras) */ | ||
#mw | figure[typeof~="mw:File/Thumb"], | ||
figure[typeof~="mw:File/Frame"] { | |||
background-color: #0f1116 !important; | |||
border: 1px solid #0f1116 !important; | |||
} | |||
figure[typeof~="mw:File/Thumb"] > figcaption, | |||
} | figure[typeof~="mw:File/Frame"] > figcaption { | ||
background-color: #0f1116 !important; | |||
border: 1px solid #0f1116 !important; | |||
} | |||
figure[typeof~="mw:File/Thumb"] > :not(figcaption) .mw-file-element, | |||
figure[typeof~="mw:File/Frame"] > :not(figcaption) .mw-file-element { | |||
margin: 0.75em !important; | |||
border: 1px solid #171a22 !important; | |||
} | |||
.mw-content-ltr figure[typeof~="mw:File/Thumb"] > figcaption, | |||
.mw-content-ltr figure[typeof~="mw:File/Frame"] > figcaption { | |||
display: none !important; | |||
} | |||
.mw-content-ltr figure[typeof~="mw:File/Thumb"] > .mw-file-description::after, | |||
.mw-content-ltr figure[typeof~="mw:File/Thumb"] > .mw-file-magnify::after { | |||
right: 0.75em; | |||
left: auto; | |||
background: transparent !important; | |||
} | |||
/* | /* Separadores decorativos (barras coloridas) */ | ||
.color-right { | |||
background-image: linear-gradient(to right, #561f1f 0%, #a23e2f 100%) !important; | |||
height: 0.35em !important; | |||
width: 50% !important; | |||
float: left; | |||
} | |||
.color-left { | |||
height: 0.35em !important; | |||
background-image: linear-gradient(to right, #a23e2f 0%, #561f1f 100%) !important; | |||
width: 50% !important; | |||
float: left; | |||
} | |||
.color-middle { | |||
height: 0.35em; | |||
background: transparent !important; | |||
margin-left: 21em; | |||
margin-right: 17em; | |||
} | |||
.mw-body dt { | |||
font-weight: bold !important; | |||
font-family: 'GothamSSm-Medium', sans-serif !important; | |||
} | } | ||
/* | /* Botões (ooUI) estilos customizados */ | ||
.cdx-button:enabled, | |||
.cdx-button.cdx-button--fake-button--enabled { | |||
# | margin-top: 10px !important; | ||
# | background-color: #0f1116 !important; | ||
color: var(--color-base, #202122) !important; | |||
border: 1px solid #171a22 !important; | |||
} | } | ||
.cdx-button:enabled, | |||
.cdx-button.cdx-button--fake-button--enabled img { | |||
width: 201px !important; | |||
height: 32px !important; | |||
} | |||
#mw- | /* Tabelas wiki */ | ||
.wikitable { | |||
background: transparent !important; | |||
border-bottom: 0 !important; | |||
} | } | ||
.wikitable > tr > th, | |||
.wikitable > * > tr > th { | |||
background-color: #0f1116 !important; | |||
color: rgba(240, 240, 255, 0.9) !important; | |||
border: 1px solid #262932 !important; | |||
text-align: center; | |||
} | |||
.wikitable > tr > td, | |||
.wikitable > * > tr > td { | |||
background-color: #15161c !important; | |||
color: #6c757d !important; | |||
border: 1px solid #262932 !important; | |||
text-align: center; | |||
} | |||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, | |||
.mw-changeslist-legend, | |||
.mw-body .mw-search-profile-tabs, | |||
.mw-body fieldset#mw-searchoptions, | |||
.mw_metadata, | |||
.wikitable, | |||
.mw-datatable { | |||
color: rgba(240, 240, 255, 0.9) !important; | |||
} | |||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, | |||
.mw-changeslist-legend, | |||
.mw-body .mw-search-profile-tabs, | |||
.mw-body fieldset#mw-searchoptions, | |||
.mw_metadata, | |||
.wikitable, | |||
.mw-datatable { | |||
background-color: #0f1116 !important; | |||
border: 1px solid #262932 !important; | |||
padding: 1.25em 1.75em; | |||
} | |||
.oo-ui-panelLayout-framed { | |||
background-color: #0f1116 !important; | |||
border: 1px solid #262932 !important; | |||
border-radius: 0 !important; | |||
} | |||
.oo-ui-textInputWidget .oo-ui-inputWidget-input { | |||
background: #171920 !important; | |||
color: #fff !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
font-weight: 500 !important; | |||
border: 1px solid #262932 !important; | |||
border-radius: 0 !important; | |||
} | |||
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle { | |||
background: #171920 !important; | |||
color: #fff !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
font-weight: 500 !important; | |||
border: 1px solid #262932 !important; | |||
border-radius: 0 !important; | |||
} | |||
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle { | |||
color: var(--color-disabled, #72777d) !important; | |||
background: #171920 !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
font-weight: 500 !important; | |||
border: 1px solid #262932 !important; | |||
border-radius: 0 !important; | |||
} | |||
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, | |||
.mw-changeslist-legend, | |||
.mw-body .mw-search-profile-tabs, | |||
.mw-body fieldset#mw-searchoptions, | |||
.mw_metadata, | |||
.wikitable, | |||
.mw-datatable { | |||
background-color: rgba(15, 17, 22, 0.5) !important; | |||
color: #6c757d !important; | |||
border: 1px solid #262932 !important; | |||
padding: 1.25em 1.75em; | |||
} | |||
.oo-ui-tabSelectWidget-framed { | |||
background-color: rgba(15, 17, 22, 0.5) !important; | |||
} | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label { | |||
background: #171920 !important; | |||
border-bottom: 1px solid #6c757d !important; | |||
color: #fff !important; | |||
} | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected { | |||
background: #171920 !important; | |||
color: #fff !important; | |||
} | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget .oo-ui-labelElement-label { | |||
color: #6c757d !important; | |||
} | |||
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget .oo-ui-labelElement-label:hover { | |||
color: #fff !important; | |||
} | |||
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button { | |||
background-image: linear-gradient(to right, #561f1f 0%, #a23e2f 100%) !important; | |||
border: 0 !important; | |||
color: #fff !important; | |||
font-family: 'GothamSSm-Light', sans-serif !important; | |||
font-weight: normal !important; | |||
} | |||
.mw-email-not-authenticated .oo-ui-labelWidget { | |||
# | background-color: #262932; | ||
border-color: #6c757d; | |||
} | color: #ba6356 !important; | ||
width: 100% !important; | |||
} | |||
#preferences .mw-htmlform-submit-buttons { | |||
-webkit-position: sticky; | |||
position: sticky; | |||
bottom: 0; | |||
margin: -1px -1em -1em -1em; | |||
padding: 1em; | |||
background: #171920 !important; | |||
border-top: 1px solid #262932 !important; | |||
box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.25); | |||
} | |||
/* Estilo responsivo para tabelas (telas pequenas) */ | |||
@media screen and (max-width: 767px) { | |||
} | table, | ||
table thead, | |||
table tbody, | |||
table th, | |||
table td, | |||
table tr { | |||
display: block !important; | |||
} | |||
table thead tr { | |||
position: absolute !important; | |||
top: -9999px !important; | |||
left: -9999px !important; | |||
} | |||
table { | |||
width: 100% !important; | |||
} | |||
table tr { | |||
margin-bottom: 1rem !important; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important; | |||
width: 100% !important; | |||
} | |||
table th { | |||
display: none !important; | |||
} | |||
table td:first-child { | |||
position: relative !important; | |||
padding-left: 50% !important; | |||
text-align: right !important; | |||
min-height: 30px !important; | |||
} | |||
table td { | |||
position: relative !important; | |||
padding-left: 50% !important; | |||
text-align: right !important; | |||
min-height: 30px !important; | |||
} | |||
table td::before { | |||
position: absolute !important; | |||
left: 0.5rem !important; | |||
width: 45% !important; | |||
padding-right: 10px !important; | |||
text-align: left !important; | |||
font-weight: bold !important; | |||
content: attr(data-label) !important; | |||
font-size: 12px !important; | |||
color: rgba(240, 240, 255, 0.9) !important; | |||
} | |||
/* Ajustes para infoboxes e tabelas em mobile (largura total) */ | |||
.infobox, | |||
.wikitable, | |||
.sortable { | |||
overflow: visible !important; | |||
float: none !important; | |||
width: 100% !important; | |||
} | |||
} | |||
/* | /* Estilização de imagens em links no conteúdo */ | ||
# | .mw-body-content a > img, | ||
.mw-body-content .floatnone > img { | |||
} | padding: 10px !important; | ||
border: 1px solid #262932 !important; | |||
background: #0f1116 !important; | |||
margin-top: 10px !important; | |||
margin-bottom: 10px !important; | |||
max-width: calc(100% - 20px) !important; | |||
} | |||
.mw-body-content table a > img, | |||
.mw-body-content figure a > img { | |||
padding: 0 !important; | |||
border: 0 !important; | |||
} | |||
/* Força exibição vertical de itens de ferramentas (toolbox) */ | |||
.tools-inline div, | |||
.tools-inline ul, | |||
.tools-inline li { | |||
display: block !important; | |||
} | |||
/* Oculta abas não utilizadas (exemplos: Ver código-fonte, Discussão, etc.) */ | |||
#ca-viewsource, | |||
#ca-talk, | |||
} | #ca-nstab-main, | ||
#ca-unwatch { | |||
display: none !important; | |||
} | |||
#ca-history, | |||
#ca-talk, | |||
#ca-nstab-main, | |||
#ca-unwatch { | |||
display: none !important; | |||
} | |||
/* | /* Estilo dropdown de seleção de idioma (ext UniversalLanguageSelector) */ | ||
# | .uls-menu { | ||
background: #0f1116 !important; | |||
} | border-top: 1px solid #262932 !important; | ||
box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.25); | |||
} | |||
.uls-lcd { | |||
background: transparent !important; | |||
border: 1px solid #262932 !important; | |||
} | |||
#uls-settings-block { | |||
background: transparent !important; | |||
border: 1px solid #262932 !important; | |||
} | |||
.uls-search { | |||
background-color: #0f1116 !important; | |||
border: 1px solid #262932 !important; | |||
color: #6c757d !important; | |||
} | |||
.uls-filterinput { | |||
background-color: #0f1116 !important; | |||
color: #6c757d !important; | |||
} | |||
#uls-settings-block.uls-settings-block--vector-2022 > button.uls-language-settings-button { | |||
background: #a23e2f url("/extensions/UniversalLanguageSelector/resources/images/cog.svg?ce0b4") no-repeat center !important; | |||
} | |||
.cdx-message--warning { | |||
background: #171920 !important; | |||
border: 1px solid var(--border-color-warning, #987027) !important; | |||
color: var(--color-warning, #987027) !important; | |||
} | |||
.wikiEditor-ui-toolbar { | |||
background: #0f1116 !important; | |||
border: 1px solid #171a22 !important; | |||
color: #6c757d !important; | |||
} | |||
.wikiEditor-ui-toolbar .group { | |||
border: 1px solid #171a22 !important; | |||
} | |||
/* | /* Ícones do editor (substitui PNG por SVG com cor ajustada) */ | ||
.oo-ui-icon-listBullet, | |||
.mw-ui-icon-listBullet:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M7 15h12v2H7zm0-6h12v2H7zm0-6h12v2H7z'/%3E%3Ccircle fill='%236c757d' cx='3' cy='4' r='2'/%3E%3Ccircle fill='%236c757d' cx='3' cy='10' r='2'/%3E%3Ccircle fill='%236c757d' cx='3' cy='16' r='2'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-listNumbered, | |||
.mw-ui-icon-listNumbered:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M7 15h12v2H7zm0-6h12v2H7zm0-6h12v2H7zM2 6h1V1H1v1h1zm1 9v1H2v1h1v1H1v1h3v-5H1v1zM1 8v1h2v1H1.5a.5.5 0 0 0-.5.5V13h3v-1H2v-1h1.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-bold, | |||
.mw-ui-icon-bold:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M18 19h-4L5 5v14H2V1h5l8 13c-.02-.84 0-1 0-2V1h3z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-italic, | |||
.mw-ui-icon-italic:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='m5 19 .33-1.51 2.17-.66 2.9-13.66-1.9-.63L9 1h7l-.71 1.6-2.29.57-2.83 13.66 2.14.66L12 19z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-link, | |||
.mw-ui-icon-link:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M4.83 15h2.91a4.9 4.9 0 0 1-1.55-2H5a3 3 0 1 1 0-6h3a3 3 0 0 1 2.82 4h2.1a5 5 0 0 0 .08-.83v-.34A4.83 4.83 0 0 0 8.17 5H4.83A4.83 4.83 0 0 0 0 9.83v.34A4.83 4.83 0 0 0 4.83 15'/%3E%3Cpath fill='%236c757d' d='M15.17 5h-2.91a4.9 4.9 0 0 1 1.55 2H15a3 3 0 1 1 0 6h-3a3 3 0 0 1-2.82-4h-2.1a5 5 0 0 0-.08.83v.34A4.83 4.83 0 0 0 11.83 15h3.34A4.83 4.83 0 0 0 20 10.17v-.34A4.83 4.83 0 0 0 15.17 5'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-image, | |||
.mw-ui-icon-image:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M2 2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm-.17 13 4.09-5.25 2.92 3.51L12.92 8l5.25 7zM16 2a2 2 0 0 1 2 2H2a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-noWikiText, | |||
.mw-ui-icon-noWikiText:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M16 3v2h1v10l2 2V3zM9 5V3H5l2 2zM1 1 0 2l1 1v14h3v-2H3V5l2 2v10h4v-2H7V9l6 6h-2v2h4l3 3 1-1zm12 10 2 2V3h-4v2h2z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-newline, | |||
.mw-ui-icon-newline:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M17 4v6H7V6l-6 5 6 5v-4h12V4z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-bigger, | |||
.mw-ui-icon-bigger:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M14 18h-1.57a.66.66 0 0 1-.44-.13.9.9 0 0 1-.25-.34l-1-2.77H5.3l-1 2.77a.8.8 0 0 1-.24.32.65.65 0 0 1-.44.15H2L7 5.47h2zm-3.85-4.7L8.42 8.72A13 13 0 0 1 8 7.37q-.1.41-.21.75t-.21.6L5.85 13.3zM15 2l3 4h-6z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-smaller, | |||
.mw-ui-icon-smaller:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M12 16h-1.05a.44.44 0 0 1-.29-.09.6.6 0 0 1-.17-.22l-.7-1.84H6.2l-.7 1.84a.56.56 0 0 1-.16.21.43.43 0 0 1-.29.1H4l3.31-8.35h1.38zm-2.57-3.13L8.28 9.82a9 9 0 0 1-.28-.9q-.06.27-.14.5l-.14.4-1.15 3zM15 6l3-4h-6z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-superscript, | |||
.mw-ui-icon-superscript:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M18 1V0h-.5a1.5 1.5 0 0 0-1 .39 1.5 1.5 0 0 0-1-.39H15v1h.5a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H15v1h.5a1.5 1.5 0 0 0 1-.39 1.5 1.5 0 0 0 1 .39h.5V8h-.5a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5zm-4.32 15h-2.42a.67.67 0 0 1-.46-.15 1.3 1.3 0 0 1-.28-.34l-2.77-4.44a2.7 2.7 0 0 1-.28.69L5 15.51a2.2 2.2 0 0 1-.29.34.58.58 0 0 1-.42.15H2l4.15-6.19L2.17 4h2.42a.8.8 0 0 1 .41.09.8.8 0 0 1 .24.26L8 8.59a2.7 2.7 0 0 1 .33-.74L10.6 4.4a.69.69 0 0 1 .6-.4h2.32l-4 5.71z'/%3E%3C/svg%3E") !important; | |||
} | |||
.oo-ui-icon-subscript, | |||
.mw-ui-icon-subscript:before { | |||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M13.68 16h-2.42a.67.67 0 0 1-.46-.15 1.3 1.3 0 0 1-.28-.34l-2.77-4.44a2.7 2.7 0 0 1-.28.69L5 15.51a2.2 2.2 0 0 1-.29.34.58.58 0 0 1-.42.15H2l4.15-6.19L2.17 4h2.42a.8.8 0 0 1 .41.09.8.8 0 0 1 .24.26L8 8.59a2.7 2.7 0 0 1 .33-.74L10.6 4.4a.69.69 0 0 1 .6-.4h2.32l-4 5.71zm3.82-4h.5v-1h-.5a1.5 1.5 0 0 0-1 .39 1.5 1.5 0 0 0-1-.39H15v1h.5a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H15v1h.5a1.5 1.5 0 0 0 1-.39 1.5 1.5 0 0 0 1 .39h.5v-1h-.5a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5'/%3E%3C/svg%3E") !important; | |||
} | |||
/* ========================================================== | |||
AVALONMU – Overrides para menus (visuais modernos, v3) | |||
========================================================== */ | |||
:root { | |||
--vm-bg: #060a12; | |||
--vm-panel: rgba(18, 24, 34, 0.82); | |||
--vm-panel-strong: rgba(18, 24, 34, 0.92); | |||
--vm-border: rgba(198, 151, 61, 0.55); | |||
--vm-border-soft: rgba(255, 255, 255, 0.08); | |||
--vm-accent: #cf3a2a; | |||
--vm-text: #d6d9e2; | |||
--vm-muted: #9aa3b2; | |||
--vm-radius: 16px; | |||
--vm-radius-sm: 12px; | |||
--vm-shadow: 0 18px 38px rgba(0,0,0,0.55); | |||
--vm-font-title: "Cinzel", serif; | |||
--vm-font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; | |||
/* (nav widths defined later in layout section) */ | |||
} | |||
/* Tipografia geral */ | |||
body { | |||
font-family: var(--vm-font-body) !important; | |||
color: var(--vm-text); | |||
} | |||
h1, h2, h3, h4, | |||
#firstHeading, .mw-first-heading { | |||
font-family: var(--vm-font-title) !important; | |||
} | |||
/* Remove duplicação de underline em títulos (remove padrão Timeless + mantém linha vermelha personalizada) */ | |||
#firstHeading, | |||
.mw-first-heading, | |||
.mw-body h1, | |||
.mw-body h2 { | |||
border-bottom: none !important; | |||
position: relative; | |||
} | padding-bottom: 14px !important; | ||
margin-bottom: 18px !important; | |||
} | |||
#firstHeading::after, | |||
.mw-first-heading::after, | |||
.mw-body h1::after, | |||
.mw-body h2::after { | |||
content: ""; | |||
position: absolute; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
height: 2px; | |||
background: linear-gradient(90deg, var(--vm-accent), rgba(0,0,0,0)); | |||
opacity: .95; | |||
} | |||
/* | /* Torna as sidebars mais largas no desktop, ajusta margens do conteúdo para acompanhar */ | ||
#mw-site-navigation | @media (min-width: 1100px) { | ||
#mw- | #mw-site-navigation { width: var(--vm-nav-width) !important; } | ||
#mw-related-navigation { width: var(--vm-related-width) !important; } | |||
} | /* Desloca corpo e cabeçalho para abrir espaço para sidebars maiores */ | ||
.mw-body, | |||
#mw-head, | |||
#p-personal { | |||
margin-left: calc(var(--vm-nav-width) + 1em) !important; | |||
margin-right: calc(var(--vm-related-width) + 1em) !important; | |||
} | |||
} | |||
/* | /* Uniformiza o background das sidebars (usa o fundo geral transparente) */ | ||
#mw-site-navigation .sidebar-inner, | |||
#mw-related-navigation .sidebar-inner { | |||
background: transparent !important; | |||
} | |||
} | |||
/* | /* ===== Barra lateral esquerda (Menus principais) ===== */ | ||
#mw-site-navigation.vm-nav .mw-portlet { | |||
margin: 0 0 16px 0 !important; | |||
border-radius: var(--vm-radius) !important; | |||
background: linear-gradient(180deg, var(--vm-panel), rgba(18,24,34,0.65)) !important; | |||
border: 1px solid var(--vm-border-soft) !important; | |||
display: block; | box-shadow: var(--vm-shadow) !important; | ||
overflow: hidden !important; | |||
} | } | ||
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header { | |||
margin: 0 !important; | |||
padding: 16px 16px !important; | |||
font-size: 15.5px !important; | |||
letter-spacing: .6px !important; | |||
text-transform: none !important; | |||
color: #fff !important; | |||
cursor: pointer !important; | |||
user-select: none !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: space-between !important; | |||
border-left: 3px solid transparent !important; | |||
} | |||
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header:hover { | |||
background: rgba(0,0,0,0.18) !important; | |||
border-left-color: var(--vm-accent) !important; | |||
} | |||
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header::after { | |||
content: "›"; | |||
font-size: 20px; | |||
opacity: .85; | |||
transform: rotate(0deg); | |||
transition: transform .18s ease, opacity .18s ease; | |||
} | |||
#mw-site-navigation.vm-nav .mw-portlet.is-open h3.vm-portlet__header::after { | |||
transform: rotate(90deg); | |||
opacity: 1; | |||
} | |||
/* Corpo colapsável dos menus da sidebar esquerda */ | |||
#mw-site-navigation.vm-nav .mw-portlet .mw-portlet-body { | |||
padding: 12px 14px 16px 14px !important; | |||
border-top: 1px solid rgba(255,255,255,0.06) !important; | |||
display: none; | |||
} | |||
#mw-site-navigation.vm-nav .mw-portlet.is-open .mw-portlet-body { | |||
display: block; | |||
} | |||
#mw-site-navigation.vm-nav .mw-portlet .mw-portlet-body ul { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
#mw-site-navigation.vm-nav .mw-list-item { | |||
list-style: none !important; | |||
margin: 10px 0 !important; | |||
} | |||
#mw-site-navigation.vm-nav .mw-list-item a { | |||
display: block !important; | |||
padding: 14px 14px !important; | |||
border-radius: var(--vm-radius-sm) !important; | |||
background: rgba(0,0,0,0.20) !important; | |||
border: 1px solid rgba(255,255,255,0.06) !important; | |||
color: var(--vm-text) !important; | |||
font-size: 14.5px !important; | |||
text-decoration: none !important; | |||
transition: transform .12s ease, border-color .12s ease, background .12s ease; | |||
} | |||
#mw-site-navigation.vm-nav .mw-list-item a:hover { | |||
background: rgba(0,0,0,0.28) !important; | |||
border-color: var(--vm-border) !important; | |||
transform: translateY(-1px); | |||
} | |||
/* | /* **Wiki tools**: sempre mostrar links (toolbox) e esconder título duplicado */ | ||
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header { | #mw-site-navigation .sidebar-chunk h2 { | ||
opacity: .75; | |||
font-size: 12px; | |||
} | letter-spacing: .8px; | ||
text-transform: uppercase; | |||
padding: 10px 14px; | |||
margin: 6px 0 10px 0; | |||
} | |||
#mw-site-navigation.vm-nav #p-tb.is-open .mw-portlet-body { | |||
display: block !important; | |||
} | |||
#mw-site-navigation.vm-nav #p-tb h3.vm-portlet__header { | |||
cursor: default !important; | |||
} | |||
#mw-site-navigation.vm-nav #p-tb h3.vm-portlet__header::after { | |||
content: "" !important; | |||
} | |||
/* | /* ===== Barra lateral direita (ferramentas da página) ===== */ | ||
#vm- | #mw-related-navigation .mw-portlet { | ||
border-radius: var(--vm-radius) !important; | |||
background: linear-gradient(180deg, var(--vm-panel), rgba(18,24,34,0.65)) !important; | |||
border: 1px solid var(--vm-border-soft) !important; | |||
box-shadow: var(--vm-shadow) !important; | |||
overflow: hidden !important; | |||
} | |||
#mw-related-navigation .mw-portlet h3 { | |||
padding: 16px 16px !important; | |||
margin: 0 !important; | |||
border-left: 3px solid transparent !important; | |||
} | |||
#mw-related-navigation .mw-portlet h3:hover { | |||
border-left-color: var(--vm-accent) !important; | |||
background: rgba(0,0,0,0.16) !important; | |||
} | |||
#mw-related-navigation .mw-list-item a { | |||
border-radius: var(--vm-radius-sm) !important; | |||
padding: 14px 14px !important; | |||
font-size: 14.5px !important; | |||
} | |||
/* Submenus antigos (mega menus legados) - oculta para evitar conflitos, usaremos panel flutuante */ | |||
#mw-site-navigation.vm-nav .submenu, | |||
#mw-site-navigation.vm-nav .mm-submenu { | |||
display: none !important; | |||
} | |||
/* Em telas grandes, esconde o corpo original das portlets (usamos mega panel em seu lugar) */ | |||
@media (min-width: 1200px) { | |||
#mw-site-navigation.vm-nav.vm-nav--ready .mw-portlet-body { | |||
display: none !important; | |||
} | |||
} | |||
/* Em telas pequenas, usa modo acordeão (portlet-body visível quando is-open via JS) */ | |||
@media (max-width: 1199px) { | |||
#mw-site-navigation.vm-nav .mw-portlet-body { | |||
display: none; | |||
} | |||
#mw-site-navigation.vm-nav .mw-portlet.is-open .mw-portlet-body { | |||
display: block; | |||
} | |||
} | |||
/* Permite clicar no cabeçalho do portlet (já estilo pointer acima) */ | |||
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header { | |||
cursor: pointer; | |||
user-select: none; | |||
} | |||
/* Panel flutuante (mega menu) */ | |||
#vm-mega-panel { | |||
position: absolute; | |||
z-index: 99999; | |||
display: none; | |||
background: rgba(14, 18, 26, 0.92); | |||
border: 1px solid rgba(255, 255, 255, 0.10); | |||
border-radius: 16px; | |||
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55); | |||
padding: 14px; | |||
max-height: calc(100vh - 140px); | |||
overflow: auto; | |||
backdrop-filter: blur(10px); | |||
} | |||
#vm-mega-panel.is-open { | |||
display: block; | |||
} | |||
/* Grid de colunas no mega panel (número de colunas definido pela var --vm-cols via JS) */ | |||
#vm-mega-panel .vm-grid { | |||
display: grid; | |||
grid-template-columns: repeat(var(--vm-cols, 2), minmax(180px, 1fr)); | |||
column-gap: 18px; | |||
row-gap: 10px; | |||
} | |||
#vm-mega-panel ul.vm-col { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
#vm-mega-panel ul.vm-col li { | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* Estilo dos links no mega panel (card links) */ | |||
#vm-mega-panel a { | |||
display: block; | |||
padding: 10px 12px; | |||
border-radius: 12px; | |||
text-decoration: none; | |||
color: rgba(255, 255, 255, 0.92); | |||
background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); | |||
border: 1px solid rgba(255, 255, 255, 0.10); | |||
transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; | |||
} | |||
#vm-mega-panel a:hover { | |||
transform: translateY(-1px); | |||
border-color: rgba(255, 255, 255, 0.22); | |||
background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04)); | |||
} | |||
/* ========================================================== | |||
AJUSTES DE LAYOUT E ALINHAMENTO (Base RealMU) | |||
========================================================== */ | |||
/* Variáveis de layout (proporções iguais às do RealMU) */ | |||
:root { | |||
} | --vm-shell-max: 99em; /* largura máxima do "shell" (site) ~ RealMU */ | ||
--vm-edge-pad: 24px; /* espaçamento nas bordas (gutter externo) */ | |||
--vm-side-gap: 1em; /* espaçamento entre conteúdo e sidebars */ | |||
--vm-left-w: 20em; /* largura da sidebar esquerda (menu) */ | |||
--vm-right-w: 16em; /* largura da sidebar direita (ferramentas) */ | |||
--vm-nav-width: 20em; /* idem sidebar esquerda (aproveitado em override Avalon acima) */ | |||
--vm-related-width: 18em; /* largura base p/ "Wiki tools" (não usada após RealMU alignment) */ | |||
--rm-base-font: 14px; /* base font do RealMU para escala */ | |||
} | |||
body { | |||
/* Aplica tamanho de fonte base do RealMU (influencia medidas em em, ex: gap lateral) */ | |||
font-size: var(--rm-base-font) !important; | |||
} | |||
/* | /* **Desktop ≥1340px**: aplica layout simétrico de 3 colunas (sidebars fixas + conteúdo centralizado) */ | ||
#vm- | @media screen and (min-width: 1340px) { | ||
/* Header e barra de cor centralizados e com largura máxima definida */ | |||
#mw-header-container, | |||
.color-middle-container { | |||
max-width: var(--vm-shell-max) !important; | |||
} | margin: 0 auto !important; | ||
padding-left: var(--vm-edge-pad) !important; | |||
padding-right: var(--vm-edge-pad) !important; | |||
box-sizing: border-box !important; | |||
} | |||
/* Container principal do conteúdo centralizado e com largura máxima */ | |||
#mw-content-container { | |||
max-width: var(--vm-shell-max) !important; | |||
margin: 0 auto !important; | |||
padding-left: var(--vm-edge-pad) !important; | |||
padding-right: var(--vm-edge-pad) !important; | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
} | |||
/* Disposição em grade: 3 colunas (esquerda - conteúdo - direita) */ | |||
#mw-content-block { | |||
display: grid !important; | |||
grid-template-columns: var(--vm-left-w) minmax(0, 1fr) var(--vm-right-w) !important; | |||
column-gap: var(--vm-side-gap) !important; | |||
align-items: start !important; | |||
} | |||
/* Remove floats/posicionamentos antigos para evitar desalinhamento */ | |||
#mw-site-navigation, | |||
#site-navigation, | |||
#mw-related-navigation { | |||
float: none !important; | |||
position: relative !important; | |||
top: auto !important; | |||
left: auto !important; | |||
right: auto !important; | |||
} | |||
/* Remove quaisquer margens automáticas no conteúdo (vamos usar grid) */ | |||
#mw-content, | |||
#mw-content-wrapper { | |||
margin: 0 !important; | |||
} | |||
/* Garante que conteúdo central não tenha largura mínima forçada (para não estourar grid) */ | |||
#mw-content-wrapper, | |||
#mw-content, | |||
#mw-content-block > * { | |||
min-width: 0 !important; | |||
} | |||
/* Sidebars ocupam completamente suas colunas (larguras definidas pelo grid) */ | |||
#mw-site-navigation, | |||
#site-navigation, | |||
#mw-related-navigation { | |||
width: 100% !important; | |||
margin: 0 !important; | |||
} | |||
/* Espaçamento inferior entre múltiplas portlets da sidebar direita (sem margem negativa) */ | |||
#mw-related-navigation .sidebar-chunk { | |||
margin: 0 0 12px 0 !important; | |||
} | |||
/* Garante que o logo (no p-logo) respeite a largura da sidebar em grid */ | |||
#mw-site-navigation #p-logo, | |||
#mw-site-navigation #p-logo a, | |||
#mw-site-navigation #p-logo img { | |||
max-width: 100% !important; | |||
} | |||
} | |||
# | /* **Desktop 1100–1339px**: mantém sidebars visíveis sem sobreposição (empilhadas) */ | ||
@media screen and (min-width: 1100px) and (max-width: 1339px) { | |||
/* Evita sobreposição de floats: conteúdo começa após sidebars */ | |||
#mw-content-block { | |||
} | clear: both !important; | ||
} | |||
/* Exibe sidebars como blocos empilhados, largura fixa (iguais) */ | |||
#mw-site-navigation, | |||
#mw-related-navigation { | |||
display: block !important; | |||
position: relative !important; | |||
float: none !important; | |||
width: 20em !important; | |||
box-sizing: border-box; | |||
padding-right: 1em; | |||
} | |||
/* (Nota: content e headers mantêm margin-left do Timeless, o que já reserva espaço para a esquerda; | |||
essa configuração simples evita sobreposição do menu direito no conteúdo nessa faixa) */ | |||
} | |||
/* Remove limite de largura de seções especiais dentro do conteúdo para usar espaço total (conforme RealMU) */ | |||
.mw-guide-container, | |||
.mw-image-container { | |||
} | max-width: none !important; | ||
margin: 0 !important; | |||
} | |||
/* | /* Ajustes adicionais de espaçamento em elementos customizados */ | ||
# | .mw-guide-grid { | ||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | |||
gap: 10px; | |||
padding: 0; | |||
} | |||
.mw-guide-item:hover .mw-guide-text { | |||
color: #ba6356; | |||
} | |||
.mw-guide-icon { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
font-size: 32px; | |||
} | |||
.mw-guide-icon::before { | |||
/* (Caso de uso para ícones via pseudo-elemento font, mantido como possível implementação) */ | |||
} | |||
/* Links estilo "card" na seção de guias */ | |||
a.mw-guide-item { | |||
text-decoration: none; | |||
} | |||
a.mw-guide-item:visited { | |||
color: inherit; | |||
} | |||
/* Grid de imagens (5 colunas padrão, responsivo) */ | |||
.mw-image-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | |||
gap: 10px; | |||
padding: 0; | |||
} | |||
.mw-image-card { | |||
background: #15161c !important; | |||
border: 1px solid #262932; | |||
overflow: hidden; | |||
transition: all 0.3s ease; | |||
cursor: pointer; | |||
text-decoration: none; | |||
color: inherit; | |||
display: block; | |||
} | |||
.mw-image-card:hover { | |||
background: #1a1b22; | |||
border-color: #ba6356; | |||
transform: translateY(-5px); | |||
box-shadow: 0 8px 25px rgba(186, 99, 86, 0.3); | |||
} | |||
.mw-image-card:hover .mw-card-text { | |||
color: #ba6356; | |||
} | |||
.mw-card-image { | |||
width: 100%; | |||
height: 140px; | |||
overflow: hidden; | |||
position: relative; | |||
background: #15161c !important; | |||
} | |||
.mw-card-image img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
transition: transform 0.3s ease; | |||
position: relative; | |||
z-index: 2; | |||
} | |||
.mw-image-card:hover .mw-card-image img { | |||
transform: scale(1.05); | |||
} | |||
.mw-card-text { | |||
padding: 15px; | |||
text-align: center; | |||
color: #9e9e9e; | |||
font-size: 14px; | |||
transition: color 0.3s ease; | |||
text-decoration: none; | |||
display: block; | |||
line-height: 1.3; | |||
/* Não quebrar linha para nomes longos (ex: classes), cortar com reticências */ | |||
white-space: nowrap !important; | |||
overflow: hidden !important; | |||
text-overflow: ellipsis !important; | |||
} | |||
/* Ajustes responsivos para grid de imagens */ | |||
@media (max-width: 1200px) { | |||
.mw-image-grid { | |||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |||
} | |||
} | |||
@media (max-width: 900px) { | |||
.mw-image-container { | |||
padding: 20px; | |||
margin: 10px; | |||
} | |||
.mw-image-grid { | |||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | |||
gap: 15px; | |||
} | |||
.mw-card-image { | |||
height: 120px; | |||
} | |||
.mw-card-text { | |||
padding: 12px; | |||
font-size: 13px; | |||
} | |||
.mw-image-title { | |||
font-size: 20px; | |||
padding-bottom: 12px; | |||
margin-bottom: 20px; | |||
} | |||
} | |||
@media (max-width: 600px) { | |||
.mw-image-grid { | |||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |||
gap: 12px; | |||
} | |||
.mw-card-image { | |||
height: 100px; | |||
} | |||
.mw-card-text { | |||
padding: 10px; | |||
font-size: 12px; | |||
} | |||
} | |||
@media (max-width: 400px) { | |||
.mw-image-grid { | |||
grid-template-columns: 1fr; | |||
gap: 15px; | |||
} | |||
.mw-card-image { | |||
height: 120px; | |||
} | |||
.mw-card-text { | |||
padding: 12px; | |||
font-size: 14px; | |||
} | |||
} | |||
a.mw-image-card { | |||
text-decoration: none; | |||
} | |||
a.mw-image-card:visited { | |||
color: inherit; | |||
} | |||
a.mw-image-card:visited .mw-card-text { | |||
color: #9e9e9e; | |||
} | |||
/* Efeito "loading" para imagens (ícone de raio) */ | |||
.mw-card-image.loading::after { | |||
content: '⚡'; | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%, -50%); | |||
font-size: 32px; | |||
color: rgba(255, 255, 255, 0.5); | |||
z-index: 3; | |||
animation: pulse 2s infinite; | |||
} | |||
@keyframes pulse { | |||
0%, 100% { opacity: 0.5; } | |||
50% { opacity: 1; } | |||
} | |||
/* ======================================= | |||
FIM DOS AJUSTES – Estilos RealMU | |||
======================================= */ | |||
# | /* Estilos finais: imagens no conteúdo com efeito RealMU (cantos arredondados e hover) */ | ||
#mw-content-text a.image img, | |||
#mw-content-text .thumb a img, | |||
#mw-content-text img.mw-file-element { | |||
} | border-radius: 10px; | ||
outline: 2px solid transparent; | |||
transition: transform 150ms ease, box-shadow 150ms ease, outline-color 150ms ease; | |||
} | |||
#mw-content-text a.image:hover img, | |||
#mw-content-text .thumb a:hover img { | |||
transform: translateY(-2px); | |||
outline-color: rgba(255, 96, 66, 0.45); | |||
box-shadow: 0 14px 28px rgba(0,0,0,0.50); | |||
} | |||
#mw-content-text a.image:focus-visible img, | |||
#mw-content-text .thumb a:focus-visible img { | |||
outline-color: rgba(255, 96, 66, 0.65); | |||
} | |||
/* Estilo do conteúdo principal (box ao redor da página, RealMU-like) */ | |||
#mw-content { | |||
background: #0f1520; | |||
border: solid #141c29; | |||
border-width: 1px 1px 0.2em; | |||
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02); | |||
padding: 4em 1em 1em; | |||
} | |||
#mw-content | |||
} | } | ||
Revision as of 12:59, 17 January 2026
@media screen {
/* Importação de fontes e definição de fontes customizadas */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@font-face {
font-family: 'GothamSSm-Light';
src: url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.eot");
src: url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Lightd41d.eot?#iefix") format("embedded-opentype"),
url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.svg#GothamSSm-Light") format("svg"),
url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.ttf") format("truetype"),
url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.woff") format("woff"),
url("/resources/assets/fonts/GothamSSm-Light/GothamSSm-Light.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'GothamSSm-Medium';
src: url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.eot");
src: url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Mediumd41d.eot?#iefix") format("embedded-opentype"),
url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.svg#GothamSSm-Light") format("svg"),
url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.ttf") format("truetype"),
url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.woff") format("woff"),
url("/resources/assets/fonts/GothamSSm-Medium/GothamSSm-Medium.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}
body {
font-family: 'GothamSSm-Light', sans-serif !important;
background: #020307 !important;
}
hr {
border-top: 0 !important;
border-left: 0 !important;
border-right: 0 !important;
border-bottom: 1px solid #262932 !important;
margin-top: 10px !important;
}
a {
color: rgba(240, 240, 255, 0.7) !important;
text-decoration: none !important;
}
a:hover {
color: #ba6356 !important;
text-decoration: none !important;
}
pre {
background: #0f1116 !important;
border: 1px solid #262932 !important;
color: #6c757d !important;
}
.font-roboto {
font-family: "Roboto", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
font-variation-settings: "wdth" 100;
}
.mw-wiki-logo.timeless-logo img {
width: 270px !important;
height: auto;
margin: 3.5em 0 1.5em !important;
}
/*******************************
* HEADINGS E ESTILOS DE PÁGINA
*******************************/
.mw-body .mw-heading3,
.mw-body h3 {
padding-bottom: 8px;
border-bottom: 1px solid #262932;
font-size: 22px !important;
font-family: 'GothamSSm-Light', sans-serif !important;
color: rgba(240, 240, 255, 0.9) !important;
line-height: 1.125 !important;
margin: 1.25em 0 0.5em !important;
}
.mw-body .mw-heading3,
.mw-body h3:before {
content: '--';
position: relative;
margin-right: 10px;
display: inline-block;
color: #ba6356;
}
.mw-body .mw-heading2,
.mw-body h2 {
font-size: 1.8em !important;
border-bottom: 1px solid #a23e2f !important;
color: #ffffff !important;
font-weight: normal !important;
font-family: 'GothamSSm-Light', sans-serif !important;
line-height: 150% !important;
margin: 1.25em 0 10px !important;
}
.mw-body .mw-heading4,
.mw-body h4 {
font-size: 1.4em !important;
font-family: 'GothamSSm-Light', sans-serif !important;
}
.toc {
display: none !important;
}
.mw-body h1.firstHeading {
display: none !important;
margin-top: -5px;
}
/* Sidebar section headings (Site navigation / Related navigation labels) */
#mw-related-navigation .sidebar-inner label,
#mw-related-navigation .sidebar-inner h3,
#mw-site-navigation .sidebar-chunk label,
#mw-site-navigation .sidebar-chunk h3 {
font-family: 'GothamSSm-Medium', sans-serif !important;
font-weight: 500 !important;
font-size: 18px !important;
color: #fff !important;
border-bottom: 1px solid #262932 !important;
padding: 5px 0 !important;
margin: 0 !important;
display: block;
}
#mw-related-navigation .sidebar-inner label,
#mw-related-navigation .sidebar-inner h3:before,
#mw-site-navigation .sidebar-chunk label,
#mw-site-navigation .sidebar-chunk h3:before {
content: '--';
position: relative;
margin-right: 10px;
display: inline-block;
color: #ba6356;
}
.sidebar-inner li a {
color: #fff !important;
background: #0f1116 !important;
margin-bottom: 5px !important;
padding: 15px 25px !important;
font-size: 16px !important;
font-family: 'GothamSSm-Light', sans-serif !important;
}
.sidebar-inner li a:hover {
color: #ba6356 !important;
}
/* Responsividade para cabeçalhos do menu lateral em telas médias */
@media screen and (min-width: 851px) and (max-width: 1099px) {
#mw-header-nav-hack {
border-top: 1px solid #171a22 !important;
display: block;
position: absolute;
z-index: 198;
background: #171920 !important;
width: 100%;
}
#mw-site-navigation h2,
#mw-related-navigation h2 {
font-weight: normal;
font-family: 'GothamSSm-Medium', sans-serif !important;
font-size: 16px !important;
cursor: pointer;
margin: -3px 0 -3px !important;
padding: 10px 0 !important;
}
#mw-site-navigation .sidebar-inner {
line-height: 1.125;
word-wrap: break-word;
font-size: 0.95em;
background: #0f1116 !important;
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05);
position: absolute;
padding: 20px 2em 0;
margin: 0;
min-width: 9.153em;
top: 3.1em !important;
left: -1em;
overflow: visible;
z-index: 50;
border: 1px solid #0f1116 !important;
}
#mw-site-navigation .sidebar-chunk h2 span::before,
#mw-site-navigation .sidebar-chunk h2 span::after {
transform: rotate(360deg);
border-bottom: 10px solid #0f1116 !important;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
content: '';
height: 0;
width: 0;
position: absolute;
right: 1em;
z-index: 51;
}
#mw-related-navigation .sidebar-inner {
line-height: 1.125;
word-wrap: break-word;
font-size: 0.95em;
background: #0f1116 !important;
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05);
position: absolute;
padding: 20px 2em 0;
margin: 0;
min-width: 9.153em;
right: -1em;
overflow: visible;
z-index: 50;
top: 3.1em !important;
border: 1px solid #0f1116 !important;
}
#mw-related-navigation .sidebar-inner label,
#mw-related-navigation .sidebar-inner h3,
#mw-site-navigation .sidebar-chunk label,
#mw-site-navigation .sidebar-chunk h3 {
font-size: 16px !important;
}
.sidebar-inner li a {
margin-left: -10px !important;
width: calc(100% - 10px) !important;
padding: 15px 15px !important;
font-size: 15px !important;
font-family: 'GothamSSm-Medium', sans-serif !important;
background: #171920 !important;
}
}
@media screen and (min-width: 851px) {
#personal .dropdown {
line-height: 1.125;
word-wrap: break-word;
font-size: 0.95em;
background: #0f1116 !important;
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05);
position: absolute;
padding: 20px 2em 0;
margin: 0;
min-width: 9.153em;
top: 2.95em;
right: -1em;
overflow: visible;
z-index: 50;
border: 1px solid #0f1116 !important;
width: 220px !important;
}
#personal .dropdown label,
#personal .dropdown h3 {
font-weight: normal;
font-size: 1em;
margin: 0.25em 0 0.75em 0;
padding-bottom: 8px !important;
border-bottom: 1px solid #262932 !important;
font-family: 'GothamSSm-Light', sans-serif !important;
color: rgba(240, 240, 255, 0.9) !important;
display: block;
}
#personal .dropdown label,
#personal .dropdown h3:before {
content: '--';
position: relative;
margin-right: 10px;
display: inline-block;
color: #ba6356;
}
}
/*******************************
* MENU / SUBMENU
*******************************/
/* Estilos da navegação principal */
.sidebar-inner ul {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar-inner li {
margin: 0;
padding: 0;
}
.sidebar-inner li a {
display: block;
padding: 8px 10px;
text-decoration: none;
color: #fff;
}
/* Indicador para li que terá submenu */
li.has-submenu {
position: relative;
}
li.has-submenu > a:after {
content: "▶";
font-size: 10px;
margin-left: 5px;
}
@media screen and (min-width: 1100px) and (max-width: 1339px) {
#mw-site-navigation {
overflow: visible !important;
}
}
/* Estilo básico do submenu (dropdown) */
ul.submenu {
display: none;
position: absolute !important;
z-index: 1000 !important;
left: 100%;
top: -10px;
background-color: #0f1116;
border-radius: 4px;
box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
padding: 20px;
width: 220px;
border: 1px solid #171a22;
}
/* Layout multi-coluna para submenus grandes */
ul.submenu.multi-column {
width: auto;
min-width: 450px;
column-count: 2;
column-gap: 20px;
}
/* Submenu muito grande (ex: Classes) – 3 colunas */
li.has-submenu:nth-child(2) > ul.submenu {
column-count: 3;
min-width: 600px;
}
/* Evita quebras inadequadas nas colunas do submenu */
ul.submenu li {
break-inside: avoid;
page-break-inside: avoid;
display: block;
margin-bottom: 5px;
}
/* Exibe o submenu ao passar o mouse */
li.has-submenu:hover > ul.submenu {
display: block;
}
/* Estiliza links do submenu */
.submenu {
padding: 20px !important;
}
.submenu li a {
padding: 10px 10px !important;
margin: 0 !important;
display: block;
color: rgba(255, 255, 255, 0.5) !important;
transition: background-color 0.2s !important;
border-bottom: 1px solid #171a22 !important;
font-family: 'GothamSSm-Light', sans-serif !important;
}
.submenu li a:hover {
color: #fff !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
text-shadow: 0 0 5px #fff !important;
}
/* Ajustes de submenu para mobile (desabilita hover e usa toggle via JS) */
@media (max-width: 768px) {
.sidebar-inner {
width: 100%;
overflow: hidden;
}
li.has-submenu {
position: static;
}
li.has-submenu > a:after {
content: "▼";
}
li.has-submenu:hover > ul.submenu {
display: none; /* não abre no hover em mobile */
}
li.has-submenu.active > ul.submenu {
display: block;
}
li.has-submenu.active > a:after {
content: "▲";
}
/* Submenus multi-coluna voltam para uma coluna em mobile */
li.has-submenu:nth-child(2) > ul.submenu,
ul.submenu.multi-column {
column-count: 1;
min-width: auto !important;
}
}
@media screen and (min-width: 851px) and (max-width: 1099px) {
/* Em telas médias, mantém estilo do submenu, sem background nos links (já herdado) */
.submenu {
padding: 20px !important;
}
.submenu li a {
background: transparent !important;
}
.submenu li a:hover {
color: #fff !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
text-shadow: 0 0 5px #fff !important;
}
}
/* Estiliza o container do header */
#mw-header-container {
background: #020307 !important;
color: #6c757d !important;
font-family: 'GothamSSm-Light', sans-serif !important;
}
#personal h2 span {
color: #6c757d !important;
font-family: 'GothamSSm-Light', sans-serif !important;
font-weight: 500 !important;
font-variant: none !important;
}
#p-logo-text a {
color: #6c757d !important;
font-family: 'GothamSSm-Light', sans-serif !important;
font-weight: normal !important;
font-size: 1em !important;
}
#p-logo-text a:hover {
color: #ba6356 !important;
text-decoration: none !important;
}
#p-logo-text a img {
margin-right: 3px !important;
}
/* Campo de busca */
#searchInput {
background: #0f1116 !important;
color: #fff !important;
font-family: 'GothamSSm-Light', sans-serif !important;
font-weight: 500 !important;
border: 1px solid #0f1116 !important;
}
#simpleSearch {
background: #0f1116 !important;
color: #6c757d !important;
border: 1px solid #171a22 !important;
}
/* Ajustes para telas menores (max-width: 850px) */
@media screen and (max-width: 850px) {
#p-logo-text {
position: absolute;
top: 0.4em !important;
left: 2em !important;
text-align: left;
width: 300px !important;
}
#menus-cover {
background: #0f1116 !important;
}
.sidebar-inner,
.dropdown {
display: none;
background: #0f1116 !important;
border: 0 solid #171a22 !important;
line-height: 100% !important;
word-wrap: break-word !important;
font-size: 0.95em !important;
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05) !important;
position: absolute !important;
padding: 2em 2.5em 1em !important;
margin: 0 !important;
min-width: 9.153em !important;
max-width: 60% !important;
top: 3em !important;
right: 0 !important;
overflow: visible !important;
z-index: 350 !important;
}
.sidebar-inner li,
.dropdown li {
margin: 0 !important;
margin-bottom: 5px !important;
}
.sidebar-inner ul li a {
color: #fff !important;
background: #171920 !important;
margin-bottom: 5px !important;
padding: 15px 25px !important;
font-size: 16px !important;
font-family: 'GothamSSm-Light', sans-serif !important;
}
.sidebar-inner ul li ul.submenu li {
margin-bottom: 0 !important;
}
.sidebar-inner ul li ul.submenu li a {
color: rgba(255, 255, 255, 0.8) !important;
background: #171920 !important;
margin-bottom: 2px !important;
padding: 10px 20px !important;
font-size: 16px !important;
font-family: 'GothamSSm-Light', sans-serif !important;
}
.sidebar-inner ul li ul.submenu li a:hover {
border-bottom: 0 !important;
color: #fff !important;
text-shadow: 0 0 5px #fff !important;
}
ul.submenu {
display: none;
position: relative !important;
left: 0 !important;
top: -10px;
background-color: #0f1116 !important;
border-radius: 4px;
box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
padding: 20px;
z-index: 1000 !important;
width: calc(100% - 40px) !important;
border: 1px solid #171920 !important;
}
ul.submenu.multi-column {
width: auto;
min-width: 450px;
column-count: 2;
column-gap: 20px;
}
ul.submenu .sidebar-inner li,
.dropdown li {
padding: 0 !important;
max-width: 100% !important;
}
#mw-content {
padding: 1em !important;
border-width: 0;
margin-top: 200px !important;
}
}
/* Estilização base dos containers de conteúdo */
#mw-content-container {
background: #0f1116 !important;
border-bottom: 1px solid #171a22 !important;
padding-bottom: 30px !important;
}
#mw-content {
background: #171920 !important;
border: 1px solid #171a22 !important;
color: #6c757d !important;
}
.sidebar-chunk {
background: #171920 !important;
border: 1px solid #171a22 !important;
color: #6c757d !important;
}
.mw-footer-container {
background: #020307 !important;
border-top: 1px solid #171a22 !important;
border-bottom: 1px solid #171a22 !important;
}
.tools-inline li.selected {
border-bottom: 2px solid #a23e2f !important;
}
.tools-inline li.selected a {
color: #6c757d !important;
}
.sidebar-inner ul {
margin-top: 10px !important;
margin-bottom: 10px !important;
}
/* Estilo de imagens em miniatura (thumb/figuras) */
figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:File/Frame"] {
background-color: #0f1116 !important;
border: 1px solid #0f1116 !important;
}
figure[typeof~="mw:File/Thumb"] > figcaption,
figure[typeof~="mw:File/Frame"] > figcaption {
background-color: #0f1116 !important;
border: 1px solid #0f1116 !important;
}
figure[typeof~="mw:File/Thumb"] > :not(figcaption) .mw-file-element,
figure[typeof~="mw:File/Frame"] > :not(figcaption) .mw-file-element {
margin: 0.75em !important;
border: 1px solid #171a22 !important;
}
.mw-content-ltr figure[typeof~="mw:File/Thumb"] > figcaption,
.mw-content-ltr figure[typeof~="mw:File/Frame"] > figcaption {
display: none !important;
}
.mw-content-ltr figure[typeof~="mw:File/Thumb"] > .mw-file-description::after,
.mw-content-ltr figure[typeof~="mw:File/Thumb"] > .mw-file-magnify::after {
right: 0.75em;
left: auto;
background: transparent !important;
}
/* Separadores decorativos (barras coloridas) */
.color-right {
background-image: linear-gradient(to right, #561f1f 0%, #a23e2f 100%) !important;
height: 0.35em !important;
width: 50% !important;
float: left;
}
.color-left {
height: 0.35em !important;
background-image: linear-gradient(to right, #a23e2f 0%, #561f1f 100%) !important;
width: 50% !important;
float: left;
}
.color-middle {
height: 0.35em;
background: transparent !important;
margin-left: 21em;
margin-right: 17em;
}
.mw-body dt {
font-weight: bold !important;
font-family: 'GothamSSm-Medium', sans-serif !important;
}
/* Botões (ooUI) estilos customizados */
.cdx-button:enabled,
.cdx-button.cdx-button--fake-button--enabled {
margin-top: 10px !important;
background-color: #0f1116 !important;
color: var(--color-base, #202122) !important;
border: 1px solid #171a22 !important;
}
.cdx-button:enabled,
.cdx-button.cdx-button--fake-button--enabled img {
width: 201px !important;
height: 32px !important;
}
/* Tabelas wiki */
.wikitable {
background: transparent !important;
border-bottom: 0 !important;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
background-color: #0f1116 !important;
color: rgba(240, 240, 255, 0.9) !important;
border: 1px solid #262932 !important;
text-align: center;
}
.wikitable > tr > td,
.wikitable > * > tr > td {
background-color: #15161c !important;
color: #6c757d !important;
border: 1px solid #262932 !important;
text-align: center;
}
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
.mw-changeslist-legend,
.mw-body .mw-search-profile-tabs,
.mw-body fieldset#mw-searchoptions,
.mw_metadata,
.wikitable,
.mw-datatable {
color: rgba(240, 240, 255, 0.9) !important;
}
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
.mw-changeslist-legend,
.mw-body .mw-search-profile-tabs,
.mw-body fieldset#mw-searchoptions,
.mw_metadata,
.wikitable,
.mw-datatable {
background-color: #0f1116 !important;
border: 1px solid #262932 !important;
padding: 1.25em 1.75em;
}
.oo-ui-panelLayout-framed {
background-color: #0f1116 !important;
border: 1px solid #262932 !important;
border-radius: 0 !important;
}
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
background: #171920 !important;
color: #fff !important;
font-family: 'GothamSSm-Light', sans-serif !important;
font-weight: 500 !important;
border: 1px solid #262932 !important;
border-radius: 0 !important;
}
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
background: #171920 !important;
color: #fff !important;
font-family: 'GothamSSm-Light', sans-serif !important;
font-weight: 500 !important;
border: 1px solid #262932 !important;
border-radius: 0 !important;
}
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle {
color: var(--color-disabled, #72777d) !important;
background: #171920 !important;
font-family: 'GothamSSm-Light', sans-serif !important;
font-weight: 500 !important;
border: 1px solid #262932 !important;
border-radius: 0 !important;
}
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
.mw-changeslist-legend,
.mw-body .mw-search-profile-tabs,
.mw-body fieldset#mw-searchoptions,
.mw_metadata,
.wikitable,
.mw-datatable {
background-color: rgba(15, 17, 22, 0.5) !important;
color: #6c757d !important;
border: 1px solid #262932 !important;
padding: 1.25em 1.75em;
}
.oo-ui-tabSelectWidget-framed {
background-color: rgba(15, 17, 22, 0.5) !important;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected .oo-ui-labelElement-label {
background: #171920 !important;
border-bottom: 1px solid #6c757d !important;
color: #fff !important;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
background: #171920 !important;
color: #fff !important;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget .oo-ui-labelElement-label {
color: #6c757d !important;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget .oo-ui-labelElement-label:hover {
color: #fff !important;
}
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
background-image: linear-gradient(to right, #561f1f 0%, #a23e2f 100%) !important;
border: 0 !important;
color: #fff !important;
font-family: 'GothamSSm-Light', sans-serif !important;
font-weight: normal !important;
}
.mw-email-not-authenticated .oo-ui-labelWidget {
background-color: #262932;
border-color: #6c757d;
color: #ba6356 !important;
width: 100% !important;
}
#preferences .mw-htmlform-submit-buttons {
-webkit-position: sticky;
position: sticky;
bottom: 0;
margin: -1px -1em -1em -1em;
padding: 1em;
background: #171920 !important;
border-top: 1px solid #262932 !important;
box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.25);
}
/* Estilo responsivo para tabelas (telas pequenas) */
@media screen and (max-width: 767px) {
table,
table thead,
table tbody,
table th,
table td,
table tr {
display: block !important;
}
table thead tr {
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
}
table {
width: 100% !important;
}
table tr {
margin-bottom: 1rem !important;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
width: 100% !important;
}
table th {
display: none !important;
}
table td:first-child {
position: relative !important;
padding-left: 50% !important;
text-align: right !important;
min-height: 30px !important;
}
table td {
position: relative !important;
padding-left: 50% !important;
text-align: right !important;
min-height: 30px !important;
}
table td::before {
position: absolute !important;
left: 0.5rem !important;
width: 45% !important;
padding-right: 10px !important;
text-align: left !important;
font-weight: bold !important;
content: attr(data-label) !important;
font-size: 12px !important;
color: rgba(240, 240, 255, 0.9) !important;
}
/* Ajustes para infoboxes e tabelas em mobile (largura total) */
.infobox,
.wikitable,
.sortable {
overflow: visible !important;
float: none !important;
width: 100% !important;
}
}
/* Estilização de imagens em links no conteúdo */
.mw-body-content a > img,
.mw-body-content .floatnone > img {
padding: 10px !important;
border: 1px solid #262932 !important;
background: #0f1116 !important;
margin-top: 10px !important;
margin-bottom: 10px !important;
max-width: calc(100% - 20px) !important;
}
.mw-body-content table a > img,
.mw-body-content figure a > img {
padding: 0 !important;
border: 0 !important;
}
/* Força exibição vertical de itens de ferramentas (toolbox) */
.tools-inline div,
.tools-inline ul,
.tools-inline li {
display: block !important;
}
/* Oculta abas não utilizadas (exemplos: Ver código-fonte, Discussão, etc.) */
#ca-viewsource,
#ca-talk,
#ca-nstab-main,
#ca-unwatch {
display: none !important;
}
#ca-history,
#ca-talk,
#ca-nstab-main,
#ca-unwatch {
display: none !important;
}
/* Estilo dropdown de seleção de idioma (ext UniversalLanguageSelector) */
.uls-menu {
background: #0f1116 !important;
border-top: 1px solid #262932 !important;
box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.25);
}
.uls-lcd {
background: transparent !important;
border: 1px solid #262932 !important;
}
#uls-settings-block {
background: transparent !important;
border: 1px solid #262932 !important;
}
.uls-search {
background-color: #0f1116 !important;
border: 1px solid #262932 !important;
color: #6c757d !important;
}
.uls-filterinput {
background-color: #0f1116 !important;
color: #6c757d !important;
}
#uls-settings-block.uls-settings-block--vector-2022 > button.uls-language-settings-button {
background: #a23e2f url("/extensions/UniversalLanguageSelector/resources/images/cog.svg?ce0b4") no-repeat center !important;
}
.cdx-message--warning {
background: #171920 !important;
border: 1px solid var(--border-color-warning, #987027) !important;
color: var(--color-warning, #987027) !important;
}
.wikiEditor-ui-toolbar {
background: #0f1116 !important;
border: 1px solid #171a22 !important;
color: #6c757d !important;
}
.wikiEditor-ui-toolbar .group {
border: 1px solid #171a22 !important;
}
/* Ícones do editor (substitui PNG por SVG com cor ajustada) */
.oo-ui-icon-listBullet,
.mw-ui-icon-listBullet:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M7 15h12v2H7zm0-6h12v2H7zm0-6h12v2H7z'/%3E%3Ccircle fill='%236c757d' cx='3' cy='4' r='2'/%3E%3Ccircle fill='%236c757d' cx='3' cy='10' r='2'/%3E%3Ccircle fill='%236c757d' cx='3' cy='16' r='2'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-listNumbered,
.mw-ui-icon-listNumbered:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M7 15h12v2H7zm0-6h12v2H7zm0-6h12v2H7zM2 6h1V1H1v1h1zm1 9v1H2v1h1v1H1v1h3v-5H1v1zM1 8v1h2v1H1.5a.5.5 0 0 0-.5.5V13h3v-1H2v-1h1.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-bold,
.mw-ui-icon-bold:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M18 19h-4L5 5v14H2V1h5l8 13c-.02-.84 0-1 0-2V1h3z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-italic,
.mw-ui-icon-italic:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='m5 19 .33-1.51 2.17-.66 2.9-13.66-1.9-.63L9 1h7l-.71 1.6-2.29.57-2.83 13.66 2.14.66L12 19z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-link,
.mw-ui-icon-link:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M4.83 15h2.91a4.9 4.9 0 0 1-1.55-2H5a3 3 0 1 1 0-6h3a3 3 0 0 1 2.82 4h2.1a5 5 0 0 0 .08-.83v-.34A4.83 4.83 0 0 0 8.17 5H4.83A4.83 4.83 0 0 0 0 9.83v.34A4.83 4.83 0 0 0 4.83 15'/%3E%3Cpath fill='%236c757d' d='M15.17 5h-2.91a4.9 4.9 0 0 1 1.55 2H15a3 3 0 1 1 0 6h-3a3 3 0 0 1-2.82-4h-2.1a5 5 0 0 0-.08.83v.34A4.83 4.83 0 0 0 11.83 15h3.34A4.83 4.83 0 0 0 20 10.17v-.34A4.83 4.83 0 0 0 15.17 5'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-image,
.mw-ui-icon-image:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M2 2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm-.17 13 4.09-5.25 2.92 3.51L12.92 8l5.25 7zM16 2a2 2 0 0 1 2 2H2a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-noWikiText,
.mw-ui-icon-noWikiText:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M16 3v2h1v10l2 2V3zM9 5V3H5l2 2zM1 1 0 2l1 1v14h3v-2H3V5l2 2v10h4v-2H7V9l6 6h-2v2h4l3 3 1-1zm12 10 2 2V3h-4v2h2z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-newline,
.mw-ui-icon-newline:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M17 4v6H7V6l-6 5 6 5v-4h12V4z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-bigger,
.mw-ui-icon-bigger:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M14 18h-1.57a.66.66 0 0 1-.44-.13.9.9 0 0 1-.25-.34l-1-2.77H5.3l-1 2.77a.8.8 0 0 1-.24.32.65.65 0 0 1-.44.15H2L7 5.47h2zm-3.85-4.7L8.42 8.72A13 13 0 0 1 8 7.37q-.1.41-.21.75t-.21.6L5.85 13.3zM15 2l3 4h-6z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-smaller,
.mw-ui-icon-smaller:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M12 16h-1.05a.44.44 0 0 1-.29-.09.6.6 0 0 1-.17-.22l-.7-1.84H6.2l-.7 1.84a.56.56 0 0 1-.16.21.43.43 0 0 1-.29.1H4l3.31-8.35h1.38zm-2.57-3.13L8.28 9.82a9 9 0 0 1-.28-.9q-.06.27-.14.5l-.14.4-1.15 3zM15 6l3-4h-6z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-superscript,
.mw-ui-icon-superscript:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M18 1V0h-.5a1.5 1.5 0 0 0-1 .39 1.5 1.5 0 0 0-1-.39H15v1h.5a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H15v1h.5a1.5 1.5 0 0 0 1-.39 1.5 1.5 0 0 0 1 .39h.5V8h-.5a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5zm-4.32 15h-2.42a.67.67 0 0 1-.46-.15 1.3 1.3 0 0 1-.28-.34l-2.77-4.44a2.7 2.7 0 0 1-.28.69L5 15.51a2.2 2.2 0 0 1-.29.34.58.58 0 0 1-.42.15H2l4.15-6.19L2.17 4h2.42a.8.8 0 0 1 .41.09.8.8 0 0 1 .24.26L8 8.59a2.7 2.7 0 0 1 .33-.74L10.6 4.4a.69.69 0 0 1 .6-.4h2.32l-4 5.71z'/%3E%3C/svg%3E") !important;
}
.oo-ui-icon-subscript,
.mw-ui-icon-subscript:before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%236c757d' d='M13.68 16h-2.42a.67.67 0 0 1-.46-.15 1.3 1.3 0 0 1-.28-.34l-2.77-4.44a2.7 2.7 0 0 1-.28.69L5 15.51a2.2 2.2 0 0 1-.29.34.58.58 0 0 1-.42.15H2l4.15-6.19L2.17 4h2.42a.8.8 0 0 1 .41.09.8.8 0 0 1 .24.26L8 8.59a2.7 2.7 0 0 1 .33-.74L10.6 4.4a.69.69 0 0 1 .6-.4h2.32l-4 5.71zm3.82-4h.5v-1h-.5a1.5 1.5 0 0 0-1 .39 1.5 1.5 0 0 0-1-.39H15v1h.5a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H15v1h.5a1.5 1.5 0 0 0 1-.39 1.5 1.5 0 0 0 1 .39h.5v-1h-.5a.5.5 0 0 1-.5-.5v-6a.5.5 0 0 1 .5-.5'/%3E%3C/svg%3E") !important;
}
/* ==========================================================
AVALONMU – Overrides para menus (visuais modernos, v3)
========================================================== */
:root {
--vm-bg: #060a12;
--vm-panel: rgba(18, 24, 34, 0.82);
--vm-panel-strong: rgba(18, 24, 34, 0.92);
--vm-border: rgba(198, 151, 61, 0.55);
--vm-border-soft: rgba(255, 255, 255, 0.08);
--vm-accent: #cf3a2a;
--vm-text: #d6d9e2;
--vm-muted: #9aa3b2;
--vm-radius: 16px;
--vm-radius-sm: 12px;
--vm-shadow: 0 18px 38px rgba(0,0,0,0.55);
--vm-font-title: "Cinzel", serif;
--vm-font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
/* (nav widths defined later in layout section) */
}
/* Tipografia geral */
body {
font-family: var(--vm-font-body) !important;
color: var(--vm-text);
}
h1, h2, h3, h4,
#firstHeading, .mw-first-heading {
font-family: var(--vm-font-title) !important;
}
/* Remove duplicação de underline em títulos (remove padrão Timeless + mantém linha vermelha personalizada) */
#firstHeading,
.mw-first-heading,
.mw-body h1,
.mw-body h2 {
border-bottom: none !important;
position: relative;
padding-bottom: 14px !important;
margin-bottom: 18px !important;
}
#firstHeading::after,
.mw-first-heading::after,
.mw-body h1::after,
.mw-body h2::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
background: linear-gradient(90deg, var(--vm-accent), rgba(0,0,0,0));
opacity: .95;
}
/* Torna as sidebars mais largas no desktop, ajusta margens do conteúdo para acompanhar */
@media (min-width: 1100px) {
#mw-site-navigation { width: var(--vm-nav-width) !important; }
#mw-related-navigation { width: var(--vm-related-width) !important; }
/* Desloca corpo e cabeçalho para abrir espaço para sidebars maiores */
.mw-body,
#mw-head,
#p-personal {
margin-left: calc(var(--vm-nav-width) + 1em) !important;
margin-right: calc(var(--vm-related-width) + 1em) !important;
}
}
/* Uniformiza o background das sidebars (usa o fundo geral transparente) */
#mw-site-navigation .sidebar-inner,
#mw-related-navigation .sidebar-inner {
background: transparent !important;
}
/* ===== Barra lateral esquerda (Menus principais) ===== */
#mw-site-navigation.vm-nav .mw-portlet {
margin: 0 0 16px 0 !important;
border-radius: var(--vm-radius) !important;
background: linear-gradient(180deg, var(--vm-panel), rgba(18,24,34,0.65)) !important;
border: 1px solid var(--vm-border-soft) !important;
box-shadow: var(--vm-shadow) !important;
overflow: hidden !important;
}
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header {
margin: 0 !important;
padding: 16px 16px !important;
font-size: 15.5px !important;
letter-spacing: .6px !important;
text-transform: none !important;
color: #fff !important;
cursor: pointer !important;
user-select: none !important;
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
border-left: 3px solid transparent !important;
}
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header:hover {
background: rgba(0,0,0,0.18) !important;
border-left-color: var(--vm-accent) !important;
}
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header::after {
content: "›";
font-size: 20px;
opacity: .85;
transform: rotate(0deg);
transition: transform .18s ease, opacity .18s ease;
}
#mw-site-navigation.vm-nav .mw-portlet.is-open h3.vm-portlet__header::after {
transform: rotate(90deg);
opacity: 1;
}
/* Corpo colapsável dos menus da sidebar esquerda */
#mw-site-navigation.vm-nav .mw-portlet .mw-portlet-body {
padding: 12px 14px 16px 14px !important;
border-top: 1px solid rgba(255,255,255,0.06) !important;
display: none;
}
#mw-site-navigation.vm-nav .mw-portlet.is-open .mw-portlet-body {
display: block;
}
#mw-site-navigation.vm-nav .mw-portlet .mw-portlet-body ul {
margin: 0 !important;
padding: 0 !important;
}
#mw-site-navigation.vm-nav .mw-list-item {
list-style: none !important;
margin: 10px 0 !important;
}
#mw-site-navigation.vm-nav .mw-list-item a {
display: block !important;
padding: 14px 14px !important;
border-radius: var(--vm-radius-sm) !important;
background: rgba(0,0,0,0.20) !important;
border: 1px solid rgba(255,255,255,0.06) !important;
color: var(--vm-text) !important;
font-size: 14.5px !important;
text-decoration: none !important;
transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
#mw-site-navigation.vm-nav .mw-list-item a:hover {
background: rgba(0,0,0,0.28) !important;
border-color: var(--vm-border) !important;
transform: translateY(-1px);
}
/* **Wiki tools**: sempre mostrar links (toolbox) e esconder título duplicado */
#mw-site-navigation .sidebar-chunk h2 {
opacity: .75;
font-size: 12px;
letter-spacing: .8px;
text-transform: uppercase;
padding: 10px 14px;
margin: 6px 0 10px 0;
}
#mw-site-navigation.vm-nav #p-tb.is-open .mw-portlet-body {
display: block !important;
}
#mw-site-navigation.vm-nav #p-tb h3.vm-portlet__header {
cursor: default !important;
}
#mw-site-navigation.vm-nav #p-tb h3.vm-portlet__header::after {
content: "" !important;
}
/* ===== Barra lateral direita (ferramentas da página) ===== */
#mw-related-navigation .mw-portlet {
border-radius: var(--vm-radius) !important;
background: linear-gradient(180deg, var(--vm-panel), rgba(18,24,34,0.65)) !important;
border: 1px solid var(--vm-border-soft) !important;
box-shadow: var(--vm-shadow) !important;
overflow: hidden !important;
}
#mw-related-navigation .mw-portlet h3 {
padding: 16px 16px !important;
margin: 0 !important;
border-left: 3px solid transparent !important;
}
#mw-related-navigation .mw-portlet h3:hover {
border-left-color: var(--vm-accent) !important;
background: rgba(0,0,0,0.16) !important;
}
#mw-related-navigation .mw-list-item a {
border-radius: var(--vm-radius-sm) !important;
padding: 14px 14px !important;
font-size: 14.5px !important;
}
/* Submenus antigos (mega menus legados) - oculta para evitar conflitos, usaremos panel flutuante */
#mw-site-navigation.vm-nav .submenu,
#mw-site-navigation.vm-nav .mm-submenu {
display: none !important;
}
/* Em telas grandes, esconde o corpo original das portlets (usamos mega panel em seu lugar) */
@media (min-width: 1200px) {
#mw-site-navigation.vm-nav.vm-nav--ready .mw-portlet-body {
display: none !important;
}
}
/* Em telas pequenas, usa modo acordeão (portlet-body visível quando is-open via JS) */
@media (max-width: 1199px) {
#mw-site-navigation.vm-nav .mw-portlet-body {
display: none;
}
#mw-site-navigation.vm-nav .mw-portlet.is-open .mw-portlet-body {
display: block;
}
}
/* Permite clicar no cabeçalho do portlet (já estilo pointer acima) */
#mw-site-navigation.vm-nav .mw-portlet h3.vm-portlet__header {
cursor: pointer;
user-select: none;
}
/* Panel flutuante (mega menu) */
#vm-mega-panel {
position: absolute;
z-index: 99999;
display: none;
background: rgba(14, 18, 26, 0.92);
border: 1px solid rgba(255, 255, 255, 0.10);
border-radius: 16px;
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
padding: 14px;
max-height: calc(100vh - 140px);
overflow: auto;
backdrop-filter: blur(10px);
}
#vm-mega-panel.is-open {
display: block;
}
/* Grid de colunas no mega panel (número de colunas definido pela var --vm-cols via JS) */
#vm-mega-panel .vm-grid {
display: grid;
grid-template-columns: repeat(var(--vm-cols, 2), minmax(180px, 1fr));
column-gap: 18px;
row-gap: 10px;
}
#vm-mega-panel ul.vm-col {
list-style: none;
margin: 0;
padding: 0;
}
#vm-mega-panel ul.vm-col li {
margin: 0;
padding: 0;
}
/* Estilo dos links no mega panel (card links) */
#vm-mega-panel a {
display: block;
padding: 10px 12px;
border-radius: 12px;
text-decoration: none;
color: rgba(255, 255, 255, 0.92);
background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
border: 1px solid rgba(255, 255, 255, 0.10);
transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
#vm-mega-panel a:hover {
transform: translateY(-1px);
border-color: rgba(255, 255, 255, 0.22);
background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
}
/* ==========================================================
AJUSTES DE LAYOUT E ALINHAMENTO (Base RealMU)
========================================================== */
/* Variáveis de layout (proporções iguais às do RealMU) */
:root {
--vm-shell-max: 99em; /* largura máxima do "shell" (site) ~ RealMU */
--vm-edge-pad: 24px; /* espaçamento nas bordas (gutter externo) */
--vm-side-gap: 1em; /* espaçamento entre conteúdo e sidebars */
--vm-left-w: 20em; /* largura da sidebar esquerda (menu) */
--vm-right-w: 16em; /* largura da sidebar direita (ferramentas) */
--vm-nav-width: 20em; /* idem sidebar esquerda (aproveitado em override Avalon acima) */
--vm-related-width: 18em; /* largura base p/ "Wiki tools" (não usada após RealMU alignment) */
--rm-base-font: 14px; /* base font do RealMU para escala */
}
body {
/* Aplica tamanho de fonte base do RealMU (influencia medidas em em, ex: gap lateral) */
font-size: var(--rm-base-font) !important;
}
/* **Desktop ≥1340px**: aplica layout simétrico de 3 colunas (sidebars fixas + conteúdo centralizado) */
@media screen and (min-width: 1340px) {
/* Header e barra de cor centralizados e com largura máxima definida */
#mw-header-container,
.color-middle-container {
max-width: var(--vm-shell-max) !important;
margin: 0 auto !important;
padding-left: var(--vm-edge-pad) !important;
padding-right: var(--vm-edge-pad) !important;
box-sizing: border-box !important;
}
/* Container principal do conteúdo centralizado e com largura máxima */
#mw-content-container {
max-width: var(--vm-shell-max) !important;
margin: 0 auto !important;
padding-left: var(--vm-edge-pad) !important;
padding-right: var(--vm-edge-pad) !important;
width: 100% !important;
box-sizing: border-box !important;
}
/* Disposição em grade: 3 colunas (esquerda - conteúdo - direita) */
#mw-content-block {
display: grid !important;
grid-template-columns: var(--vm-left-w) minmax(0, 1fr) var(--vm-right-w) !important;
column-gap: var(--vm-side-gap) !important;
align-items: start !important;
}
/* Remove floats/posicionamentos antigos para evitar desalinhamento */
#mw-site-navigation,
#site-navigation,
#mw-related-navigation {
float: none !important;
position: relative !important;
top: auto !important;
left: auto !important;
right: auto !important;
}
/* Remove quaisquer margens automáticas no conteúdo (vamos usar grid) */
#mw-content,
#mw-content-wrapper {
margin: 0 !important;
}
/* Garante que conteúdo central não tenha largura mínima forçada (para não estourar grid) */
#mw-content-wrapper,
#mw-content,
#mw-content-block > * {
min-width: 0 !important;
}
/* Sidebars ocupam completamente suas colunas (larguras definidas pelo grid) */
#mw-site-navigation,
#site-navigation,
#mw-related-navigation {
width: 100% !important;
margin: 0 !important;
}
/* Espaçamento inferior entre múltiplas portlets da sidebar direita (sem margem negativa) */
#mw-related-navigation .sidebar-chunk {
margin: 0 0 12px 0 !important;
}
/* Garante que o logo (no p-logo) respeite a largura da sidebar em grid */
#mw-site-navigation #p-logo,
#mw-site-navigation #p-logo a,
#mw-site-navigation #p-logo img {
max-width: 100% !important;
}
}
/* **Desktop 1100–1339px**: mantém sidebars visíveis sem sobreposição (empilhadas) */
@media screen and (min-width: 1100px) and (max-width: 1339px) {
/* Evita sobreposição de floats: conteúdo começa após sidebars */
#mw-content-block {
clear: both !important;
}
/* Exibe sidebars como blocos empilhados, largura fixa (iguais) */
#mw-site-navigation,
#mw-related-navigation {
display: block !important;
position: relative !important;
float: none !important;
width: 20em !important;
box-sizing: border-box;
padding-right: 1em;
}
/* (Nota: content e headers mantêm margin-left do Timeless, o que já reserva espaço para a esquerda;
essa configuração simples evita sobreposição do menu direito no conteúdo nessa faixa) */
}
/* Remove limite de largura de seções especiais dentro do conteúdo para usar espaço total (conforme RealMU) */
.mw-guide-container,
.mw-image-container {
max-width: none !important;
margin: 0 !important;
}
/* Ajustes adicionais de espaçamento em elementos customizados */
.mw-guide-grid {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 10px;
padding: 0;
}
.mw-guide-item:hover .mw-guide-text {
color: #ba6356;
}
.mw-guide-icon {
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
}
.mw-guide-icon::before {
/* (Caso de uso para ícones via pseudo-elemento font, mantido como possível implementação) */
}
/* Links estilo "card" na seção de guias */
a.mw-guide-item {
text-decoration: none;
}
a.mw-guide-item:visited {
color: inherit;
}
/* Grid de imagens (5 colunas padrão, responsivo) */
.mw-image-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 10px;
padding: 0;
}
.mw-image-card {
background: #15161c !important;
border: 1px solid #262932;
overflow: hidden;
transition: all 0.3s ease;
cursor: pointer;
text-decoration: none;
color: inherit;
display: block;
}
.mw-image-card:hover {
background: #1a1b22;
border-color: #ba6356;
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(186, 99, 86, 0.3);
}
.mw-image-card:hover .mw-card-text {
color: #ba6356;
}
.mw-card-image {
width: 100%;
height: 140px;
overflow: hidden;
position: relative;
background: #15161c !important;
}
.mw-card-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
position: relative;
z-index: 2;
}
.mw-image-card:hover .mw-card-image img {
transform: scale(1.05);
}
.mw-card-text {
padding: 15px;
text-align: center;
color: #9e9e9e;
font-size: 14px;
transition: color 0.3s ease;
text-decoration: none;
display: block;
line-height: 1.3;
/* Não quebrar linha para nomes longos (ex: classes), cortar com reticências */
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
/* Ajustes responsivos para grid de imagens */
@media (max-width: 1200px) {
.mw-image-grid {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}
@media (max-width: 900px) {
.mw-image-container {
padding: 20px;
margin: 10px;
}
.mw-image-grid {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 15px;
}
.mw-card-image {
height: 120px;
}
.mw-card-text {
padding: 12px;
font-size: 13px;
}
.mw-image-title {
font-size: 20px;
padding-bottom: 12px;
margin-bottom: 20px;
}
}
@media (max-width: 600px) {
.mw-image-grid {
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 12px;
}
.mw-card-image {
height: 100px;
}
.mw-card-text {
padding: 10px;
font-size: 12px;
}
}
@media (max-width: 400px) {
.mw-image-grid {
grid-template-columns: 1fr;
gap: 15px;
}
.mw-card-image {
height: 120px;
}
.mw-card-text {
padding: 12px;
font-size: 14px;
}
}
a.mw-image-card {
text-decoration: none;
}
a.mw-image-card:visited {
color: inherit;
}
a.mw-image-card:visited .mw-card-text {
color: #9e9e9e;
}
/* Efeito "loading" para imagens (ícone de raio) */
.mw-card-image.loading::after {
content: '⚡';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 32px;
color: rgba(255, 255, 255, 0.5);
z-index: 3;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
/* =======================================
FIM DOS AJUSTES – Estilos RealMU
======================================= */
/* Estilos finais: imagens no conteúdo com efeito RealMU (cantos arredondados e hover) */
#mw-content-text a.image img,
#mw-content-text .thumb a img,
#mw-content-text img.mw-file-element {
border-radius: 10px;
outline: 2px solid transparent;
transition: transform 150ms ease, box-shadow 150ms ease, outline-color 150ms ease;
}
#mw-content-text a.image:hover img,
#mw-content-text .thumb a:hover img {
transform: translateY(-2px);
outline-color: rgba(255, 96, 66, 0.45);
box-shadow: 0 14px 28px rgba(0,0,0,0.50);
}
#mw-content-text a.image:focus-visible img,
#mw-content-text .thumb a:focus-visible img {
outline-color: rgba(255, 96, 66, 0.65);
}
/* Estilo do conteúdo principal (box ao redor da página, RealMU-like) */
#mw-content {
background: #0f1520;
border: solid #141c29;
border-width: 1px 1px 0.2em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
padding: 4em 1em 1em;
}
}