MediaWiki:Common.css: mudanças entre as edições
Aparência
Sem resumo de edição |
Sem resumo de edição Etiqueta: Revertido |
||
| Linha 1: | Linha 1: | ||
/* ===== | /* ======================== | ||
Fontes | |||
======================== */ | |||
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Inter:wght@400;500&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Inter:wght@400;500&display=swap'); | ||
/* ===== Reset e base ===== */ | /* ======================== | ||
Reset e base | |||
======================== */ | |||
* { | * { | ||
margin: 0; | margin: 0; | ||
| Linha 13: | Linha 17: | ||
background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 100%); | background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 100%); | ||
color: #f2f2f2; | color: #f2f2f2; | ||
backdrop-filter: blur(8px); | |||
-webkit-backdrop-filter: blur(8px); | |||
background-attachment: fixed; | |||
overflow-x: hidden; | overflow-x: hidden; | ||
} | } | ||
/* ======================== | |||
Links | |||
======================== */ | |||
a { | a { | ||
color: #ff992f; | color: #ff992f; | ||
| Linha 28: | Linha 37: | ||
} | } | ||
/* ===== | /* ======================== | ||
Container de conteúdo | |||
======================== */ | |||
#content, | #content, | ||
#mw-content-text { | #mw-content-text { | ||
| Linha 49: | Linha 50: | ||
border: 1px solid #2a2a2a; | border: 1px solid #2a2a2a; | ||
backdrop-filter: blur(4px); | backdrop-filter: blur(4px); | ||
-webkit-backdrop-filter: blur(4px); | |||
} | } | ||
/* ===== Cabeçalho | /* Espaço pro painel lateral */ | ||
#content { | |||
margin-right: 260px; | |||
} | |||
/* ======================== | |||
Cabeçalho | |||
======================== */ | |||
.firstHeading { | .firstHeading { | ||
font-family: 'Orbitron', sans-serif; | font-family: 'Orbitron', sans-serif; | ||
| Linha 61: | Linha 70: | ||
} | } | ||
/* ===== Logo | /* ======================== | ||
Logo | |||
======================== */ | |||
#p-logo { | #p-logo { | ||
display: flex; | display: flex; | ||
| Linha 78: | Linha 89: | ||
} | } | ||
/* ===== Títulos | /* ======================== | ||
Títulos | |||
======================== */ | |||
h1, h2, h3, h4, h5 { | h1, h2, h3, h4, h5 { | ||
font-family: 'Orbitron', sans-serif; | font-family: 'Orbitron', sans-serif; | ||
| Linha 87: | Linha 100: | ||
} | } | ||
/* ===== | /* ======================== | ||
Inputs e formulários | |||
======================== */ | |||
input, select, textarea { | input, select, textarea { | ||
background-color: #1a1a1a; | background-color: #1a1a1a; | ||
| Linha 102: | Linha 117: | ||
} | } | ||
/* ===== Botões ===== */ | /* ======================== | ||
Botões | |||
======================== */ | |||
button, .mw-ui-button { | button, .mw-ui-button { | ||
background-color: #ff992f; | background-color: #ff992f; | ||
| Linha 120: | Linha 137: | ||
} | } | ||
/* ===== Rodapé | /* ======================== | ||
Rodapé | |||
======================== */ | |||
#footer { | #footer { | ||
text-align: center; | text-align: center; | ||
| Linha 128: | Linha 147: | ||
} | } | ||
/* ===== Tabelas | /* ======================== | ||
Tabelas | |||
======================== */ | |||
table { | table { | ||
width: 100%; | width: 100%; | ||
| Linha 146: | Linha 167: | ||
} | } | ||
/* ===== | /* ======================== | ||
Código | |||
======================== */ | |||
code, pre { | code, pre { | ||
background-color: #111; | background-color: #111; | ||
| Linha 157: | Linha 180: | ||
} | } | ||
/* ===== Scrollbar | /* ======================== | ||
Scrollbar | |||
======================== */ | |||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
width: 10px; | width: 10px; | ||
| Linha 172: | Linha 197: | ||
} | } | ||
/* ===== | /* ======================== | ||
Menus laterais à direita | |||
======================== */ | |||
#mw-panel . | #mw-panel { | ||
# | position: fixed; | ||
top: 120px; | |||
right: 20px; | |||
width: 220px; | |||
background: rgba(20, 20, 20, 0.6); | |||
border: 1px solid #2a2a2a; | |||
border-radius: 10px; | |||
padding: 16px; | |||
box-shadow: 0 0 12px rgba(255, 153, 47, 0.1); | |||
backdrop-filter: blur(12px); | |||
-webkit-backdrop-filter: blur(12px); | |||
z-index: 999; | |||
} | } | ||
#mw-panel #p-logo { | |||
display: none !important; | |||
# | |||
#p- | |||
} | } | ||
#mw-panel .portal { | |||
margin-bottom: 20px; | |||
#mw-panel | |||
} | } | ||
#mw-panel h3 { | |||
color: #ff992f; | |||
#mw-panel | font-family: 'Orbitron', sans-serif; | ||
# | margin-bottom: 8px; | ||
font-size: 14px; | |||
text-transform: uppercase; | text-transform: uppercase; | ||
border-bottom: 1px solid #333; | |||
padding-bottom: 4px; | |||
} | } | ||
#mw-panel ul { | |||
list-style: none; | |||
# | padding-left: 0; | ||
} | |||
#mw-panel ul li a { | |||
# | color: #f0f0f0 !important; | ||
color: # | padding: 6px 0; | ||
display: block; | |||
border-bottom: 1px solid #2a2a2a; | |||
transition: 0.3s; | |||
} | } | ||
# | #mw-panel ul li a:hover { | ||
color: #ffaa4d !important; | color: #ffaa4d !important; | ||
text-shadow: 0 0 | text-shadow: 0 0 5px #ff992f; | ||
} | } | ||
/* ==== | /* ======================== | ||
Abas ativas (sem fundo, texto branco) | |||
======================== */ | |||
#p-cactions li.selected a, | #p-cactions li.selected a, | ||
#p-cactions li.selected a:visited, | #p-cactions li.selected a:visited, | ||
| Linha 230: | Linha 256: | ||
.vectorTabs li.selected a, | .vectorTabs li.selected a, | ||
.vectorTabs li.selected a:visited, | .vectorTabs li.selected a:visited, | ||
.vectorTabs | .vectorTabs li.selected a:hover, | ||
#ca-talk.selected a, | #ca-talk.selected a, | ||
#ca-talk.selected a:visited, | #ca-talk.selected a:visited, | ||
| Linha 251: | Linha 269: | ||
background-color: transparent !important; | background-color: transparent !important; | ||
text-shadow: 0 0 6px #ff992f; | text-shadow: 0 0 6px #ff992f; | ||
} | |||
/* ======================== | |||
Ocultar elementos desnecessários | |||
======================== */ | |||
#mw-head-base, | |||
#mw-head, | |||
#catlinks, | |||
.mw-editsection { | |||
display: none !important; | |||
} | |||
/* ======================== | |||
Responsivo | |||
======================== */ | |||
@media screen and (max-width: 900px) { | |||
#mw-panel { | |||
position: static; | |||
width: 100%; | |||
margin-top: 30px; | |||
} | |||
#content { | |||
margin-right: 0; | |||
} | |||
} | } | ||
Edição das 09h38min de 22 de julho de 2025
/* ========================
Fontes
======================== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Inter:wght@400;500&display=swap');
/* ========================
Reset e base
======================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 100%);
color: #f2f2f2;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
background-attachment: fixed;
overflow-x: hidden;
}
/* ========================
Links
======================== */
a {
color: #ff992f;
text-decoration: none;
transition: 0.2s;
font-weight: 500;
}
a:hover {
color: #ffaa4d;
text-shadow: 0 0 8px #ff992f;
}
/* ========================
Container de conteúdo
======================== */
#content,
#mw-content-text {
margin: 60px auto;
max-width: 1200px;
padding: 40px;
background: rgba(20, 20, 20, 0.85);
border-radius: 16px;
box-shadow: 0 0 40px rgba(255, 153, 47, 0.15);
border: 1px solid #2a2a2a;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
/* Espaço pro painel lateral */
#content {
margin-right: 260px;
}
/* ========================
Cabeçalho
======================== */
.firstHeading {
font-family: 'Orbitron', sans-serif;
font-size: 2.8em;
text-align: center;
margin-bottom: 30px;
color: #ff992f;
text-shadow: 0 0 10px #ff992f;
}
/* ========================
Logo
======================== */
#p-logo {
display: flex;
justify-content: center;
align-items: center;
margin: 40px 0;
}
#p-logo a {
background-image: url("/images/logo.png");
background-size: contain;
background-repeat: no-repeat;
width: 240px;
height: 100px;
display: block;
text-indent: -9999px;
}
/* ========================
Títulos
======================== */
h1, h2, h3, h4, h5 {
font-family: 'Orbitron', sans-serif;
color: #ff992f;
margin: 40px 0 15px;
text-transform: uppercase;
text-shadow: 0 0 8px #ff992f99;
}
/* ========================
Inputs e formulários
======================== */
input, select, textarea {
background-color: #1a1a1a;
color: #fff;
border: 1px solid #444;
padding: 10px;
border-radius: 8px;
font-family: 'Inter', sans-serif;
}
input:focus, textarea:focus {
border-color: #ff992f;
box-shadow: 0 0 10px #ff992f99;
outline: none;
}
/* ========================
Botões
======================== */
button, .mw-ui-button {
background-color: #ff992f;
color: #111;
font-weight: bold;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
transition: 0.3s;
text-transform: uppercase;
letter-spacing: 1px;
}
button:hover, .mw-ui-button:hover {
background-color: #ffaa4d;
box-shadow: 0 0 12px #ff992f99;
}
/* ========================
Rodapé
======================== */
#footer {
text-align: center;
color: #888;
padding: 40px 0 20px;
font-size: 14px;
}
/* ========================
Tabelas
======================== */
table {
width: 100%;
border-collapse: collapse;
background-color: #1b1b1b;
border: 1px solid #333;
}
th, td {
border: 1px solid #444;
padding: 12px;
color: #eee;
}
th {
background-color: #262626;
color: #ff992f;
text-shadow: 0 0 5px #ff992f55;
}
/* ========================
Código
======================== */
code, pre {
background-color: #111;
color: #ffb36b;
padding: 8px;
border-radius: 4px;
font-family: monospace;
display: block;
margin: 15px 0;
}
/* ========================
Scrollbar
======================== */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #111;
}
::-webkit-scrollbar-thumb {
background: #ff992f;
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: #ffaa4d;
}
/* ========================
Menus laterais à direita
======================== */
#mw-panel {
position: fixed;
top: 120px;
right: 20px;
width: 220px;
background: rgba(20, 20, 20, 0.6);
border: 1px solid #2a2a2a;
border-radius: 10px;
padding: 16px;
box-shadow: 0 0 12px rgba(255, 153, 47, 0.1);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
z-index: 999;
}
#mw-panel #p-logo {
display: none !important;
}
#mw-panel .portal {
margin-bottom: 20px;
}
#mw-panel h3 {
color: #ff992f;
font-family: 'Orbitron', sans-serif;
margin-bottom: 8px;
font-size: 14px;
text-transform: uppercase;
border-bottom: 1px solid #333;
padding-bottom: 4px;
}
#mw-panel ul {
list-style: none;
padding-left: 0;
}
#mw-panel ul li a {
color: #f0f0f0 !important;
padding: 6px 0;
display: block;
border-bottom: 1px solid #2a2a2a;
transition: 0.3s;
}
#mw-panel ul li a:hover {
color: #ffaa4d !important;
text-shadow: 0 0 5px #ff992f;
}
/* ========================
Abas ativas (sem fundo, texto branco)
======================== */
#p-cactions li.selected a,
#p-cactions li.selected a:visited,
#p-cactions li.selected a:hover,
#p-views li.selected a,
#p-views li.selected a:visited,
#p-views li.selected a:hover,
.vectorTabs li.selected a,
.vectorTabs li.selected a:visited,
.vectorTabs li.selected a:hover,
#ca-talk.selected a,
#ca-talk.selected a:visited,
#ca-talk.selected a:hover,
#ca-history.selected a,
#ca-history.selected a:visited,
#ca-history.selected a:hover,
#ca-view.selected a,
#ca-view.selected a:visited,
#ca-view.selected a:hover {
color: #ffffff !important;
background-color: transparent !important;
text-shadow: 0 0 6px #ff992f;
}
/* ========================
Ocultar elementos desnecessários
======================== */
#mw-head-base,
#mw-head,
#catlinks,
.mw-editsection {
display: none !important;
}
/* ========================
Responsivo
======================== */
@media screen and (max-width: 900px) {
#mw-panel {
position: static;
width: 100%;
margin-top: 30px;
}
#content {
margin-right: 0;
}
}