MediaWiki:Common.css: mudanças entre as edições
Aparência
Sem resumo de edição Etiqueta: Revertido |
Sem resumo de edição Etiqueta: Reversão manual |
||
| Linha 1: | Linha 1: | ||
/* ===== | /* ===== Fonts Futuristas ===== */ | ||
@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 ===== */ | ||
* { | * { | ||
margin: 0; | margin: 0; | ||
| Linha 17: | Linha 13: | ||
background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 100%); | background: linear-gradient(160deg, #0a0a0a 0%, #1a1a1a 100%); | ||
color: #f2f2f2; | color: #f2f2f2; | ||
padding: 0; | |||
overflow-x: hidden; | overflow-x: hidden; | ||
} | } | ||
a { | a { | ||
color: #ff992f; | color: #ff992f; | ||
| Linha 37: | Linha 28: | ||
} | } | ||
/* =============== | /* ===== Remove barras laterais ===== */ | ||
#mw-panel, | |||
#p-personal, | |||
#mw-head-base, | |||
#mw-head, | |||
#catlinks, | |||
.mw-editsection { | |||
display: none !important; | |||
} | |||
/* ===== Container de conteúdo ===== */ | |||
#content, | #content, | ||
#mw-content-text { | #mw-content-text { | ||
| Linha 50: | Linha 49: | ||
border: 1px solid #2a2a2a; | border: 1px solid #2a2a2a; | ||
backdrop-filter: blur(4px); | backdrop-filter: blur(4px); | ||
} | } | ||
/* ===== | /* ===== Cabeçalho principal ===== */ | ||
.firstHeading { | .firstHeading { | ||
font-family: 'Orbitron', sans-serif; | font-family: 'Orbitron', sans-serif; | ||
| Linha 70: | Linha 61: | ||
} | } | ||
/* ===== | /* ===== Logo no topo ===== */ | ||
#p-logo { | #p-logo { | ||
display: flex; | display: flex; | ||
| Linha 89: | Linha 78: | ||
} | } | ||
/* ===== | /* ===== Títulos (glow) ===== */ | ||
h1, h2, h3, h4, h5 { | h1, h2, h3, h4, h5 { | ||
font-family: 'Orbitron', sans-serif; | font-family: 'Orbitron', sans-serif; | ||
| Linha 100: | Linha 87: | ||
} | } | ||
/* ===== | /* ===== Formulários e inputs ===== */ | ||
input, select, textarea { | input, select, textarea { | ||
background-color: #1a1a1a; | background-color: #1a1a1a; | ||
| Linha 117: | Linha 102: | ||
} | } | ||
/* ===== | /* ===== Botões ===== */ | ||
button, .mw-ui-button { | button, .mw-ui-button { | ||
background-color: #ff992f; | background-color: #ff992f; | ||
| Linha 137: | Linha 120: | ||
} | } | ||
/* ===== | /* ===== Rodapé minimalista ===== */ | ||
#footer { | #footer { | ||
text-align: center; | text-align: center; | ||
| Linha 147: | Linha 128: | ||
} | } | ||
/* ===== | /* ===== Tabelas estilosas ===== */ | ||
table { | table { | ||
width: 100%; | width: 100%; | ||
| Linha 167: | Linha 146: | ||
} | } | ||
/* ===== | /* ===== Destaques visuais especiais ===== */ | ||
code, pre { | code, pre { | ||
background-color: #111; | background-color: #111; | ||
| Linha 180: | Linha 157: | ||
} | } | ||
/* ===== | /* ===== Scrollbar custom ===== */ | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
width: 10px; | width: 10px; | ||
| Linha 197: | Linha 172: | ||
} | } | ||
/* ========== | /* ===== Corrige textos pretos dos menus laterais e abas ===== */ | ||
/* Menu lateral esquerdo */ | |||
#mw-panel | #mw-panel .portal, | ||
#mw-panel .body, | |||
#mw-panel ul li a, | |||
#mw-panel ul li { | |||
color: #ff992f !important; | |||
} | } | ||
# | |||
/* Menu lateral direito (ferramentas) */ | |||
#p-tb li a, | |||
#p-cactions li a, | |||
#p-cactions li { | |||
color: #ff992f !important; | |||
} | } | ||
#mw-panel | |||
/* Itens ativos e hover */ | |||
#mw-panel ul li a:hover, | |||
#p-tb li a:hover, | |||
#p-cactions li a:hover { | |||
color: #ffaa4d !important; | |||
text-shadow: 0 0 6px #ff992f; | |||
} | } | ||
#mw-panel h3 | |||
/* Títulos de menus */ | |||
#mw-panel .portal h3, | |||
#p-tb h3, | |||
#p-cactions h3 { | |||
color: #ff992f !important; | |||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.5px; | |||
} | } | ||
# | |||
/* Abas como "Editar", "Histórico", etc. */ | |||
#ca-edit a, | |||
#ca-history a, | |||
#ca-viewsource a, | |||
#ca-talk a { | |||
color: #ff992f !important; | |||
} | } | ||
# | #ca-edit a:hover, | ||
#ca-history a:hover, | |||
#ca-viewsource a:hover, | |||
#ca-talk a:hover { | |||
# | |||
color: #ffaa4d !important; | color: #ffaa4d !important; | ||
text-shadow: 0 0 | text-shadow: 0 0 6px #ff992f; | ||
} | } | ||
/* ==== | /* ==== Aba ativa 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 256: | Linha 230: | ||
.vectorTabs li.selected a, | .vectorTabs li.selected a, | ||
.vectorTabs li.selected a:visited, | .vectorTabs li.selected a:visited, | ||
.vectorTabs li.selected a:hover, | .vectorTabs li.selected a:hover { | ||
color: #ffffff !important; | |||
background-color: transparent !important; | |||
text-shadow: 0 0 6px #ff992f; | |||
} | |||
/* Corrige qualquer aba ativa com texto preto (ex: Mensagem) */ | |||
#p-views li.selected a, | |||
#p-views li.selected a:visited, | |||
#p-views li.selected a:hover, | |||
#ca-talk.selected a, | #ca-talk.selected a, | ||
#ca-talk.selected a:visited, | #ca-talk.selected a:visited, | ||
| Linha 269: | Linha 251: | ||
background-color: transparent !important; | background-color: transparent !important; | ||
text-shadow: 0 0 6px #ff992f; | text-shadow: 0 0 6px #ff992f; | ||
} | } | ||
Edição das 09h40min de 22 de julho de 2025
/* ===== Fonts Futuristas ===== */
@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;
padding: 0;
overflow-x: hidden;
}
a {
color: #ff992f;
text-decoration: none;
transition: 0.2s;
font-weight: 500;
}
a:hover {
color: #ffaa4d;
text-shadow: 0 0 8px #ff992f;
}
/* ===== Remove barras laterais ===== */
#mw-panel,
#p-personal,
#mw-head-base,
#mw-head,
#catlinks,
.mw-editsection {
display: none !important;
}
/* ===== 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);
}
/* ===== Cabeçalho principal ===== */
.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 no topo ===== */
#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 (glow) ===== */
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;
}
/* ===== Formulários e inputs ===== */
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é minimalista ===== */
#footer {
text-align: center;
color: #888;
padding: 40px 0 20px;
font-size: 14px;
}
/* ===== Tabelas estilosas ===== */
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;
}
/* ===== Destaques visuais especiais ===== */
code, pre {
background-color: #111;
color: #ffb36b;
padding: 8px;
border-radius: 4px;
font-family: monospace;
display: block;
margin: 15px 0;
}
/* ===== Scrollbar custom ===== */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #111;
}
::-webkit-scrollbar-thumb {
background: #ff992f;
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: #ffaa4d;
}
/* ===== Corrige textos pretos dos menus laterais e abas ===== */
/* Menu lateral esquerdo */
#mw-panel .portal,
#mw-panel .body,
#mw-panel ul li a,
#mw-panel ul li {
color: #ff992f !important;
}
/* Menu lateral direito (ferramentas) */
#p-tb li a,
#p-cactions li a,
#p-cactions li {
color: #ff992f !important;
}
/* Itens ativos e hover */
#mw-panel ul li a:hover,
#p-tb li a:hover,
#p-cactions li a:hover {
color: #ffaa4d !important;
text-shadow: 0 0 6px #ff992f;
}
/* Títulos de menus */
#mw-panel .portal h3,
#p-tb h3,
#p-cactions h3 {
color: #ff992f !important;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Abas como "Editar", "Histórico", etc. */
#ca-edit a,
#ca-history a,
#ca-viewsource a,
#ca-talk a {
color: #ff992f !important;
}
#ca-edit a:hover,
#ca-history a:hover,
#ca-viewsource a:hover,
#ca-talk a:hover {
color: #ffaa4d !important;
text-shadow: 0 0 6px #ff992f;
}
/* ==== Aba ativa 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 {
color: #ffffff !important;
background-color: transparent !important;
text-shadow: 0 0 6px #ff992f;
}
/* Corrige qualquer aba ativa com texto preto (ex: Mensagem) */
#p-views li.selected a,
#p-views li.selected a:visited,
#p-views 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;
}