MediaWiki:Common.css: mudanças entre as edições
Aparência
Sem resumo de edição Etiqueta: Revertido |
Sem resumo de edição Etiqueta: Revertido |
||
| Linha 294: | Linha 294: | ||
margin-right: 0; | margin-right: 0; | ||
} | } | ||
} | |||
/* ===== Move vector-sticky-pinned-container para a esquerda ===== */ | |||
.vector-sticky-pinned-container { | |||
position: fixed; | |||
top: 120px; | |||
left: 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; | |||
} | |||
/* ===== Espaço do conteúdo para não sobrepor o menu da esquerda ===== */ | |||
#content { | |||
margin-left: 260px; | |||
} | } | ||
Edição das 09h40min 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;
}
}
/* ===== Move vector-sticky-pinned-container para a esquerda ===== */
.vector-sticky-pinned-container {
position: fixed;
top: 120px;
left: 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;
}
/* ===== Espaço do conteúdo para não sobrepor o menu da esquerda ===== */
#content {
margin-left: 260px;
}