MediaWiki:Common.css: mudanças entre as edições
Aparência
Sem resumo de edição |
Sem resumo de edição |
||
| Linha 1: | Linha 1: | ||
/* Fonte | /* === Fonte Moderna === */ | ||
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&display=swap'); | ||
/* === Estilo base === */ | |||
body { | body { | ||
font-family: 'Space Grotesk', sans-serif; | font-family: 'Space Grotesk', sans-serif; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
color: #111; | color: #111; | ||
margin: 0; | |||
padding: 0; | |||
font-size: 16px; | font-size: 16px; | ||
line-height: 1.7; | line-height: 1.7; | ||
} | } | ||
/* | /* === Remover elementos laterais === */ | ||
#content { | #mw-panel, | ||
max-width: | #p-logo, | ||
margin: | #mw-head-base, | ||
padding: | #mw-navigation { | ||
display: none !important; | |||
} | |||
/* === Tela cheia no conteúdo === */ | |||
#content, | |||
#mw-content-text { | |||
width: 100%; | |||
max-width: none; | |||
margin: 0; | |||
padding: 60px 10vw; | |||
box-sizing: border-box; | |||
background: white; | background: white; | ||
border: | border: none; | ||
box-shadow: none; | |||
box-shadow: | |||
} | } | ||
/* Cabeçalho */ | /* === Cabeçalho moderno === */ | ||
#mw-head { | #mw-head { | ||
background | display: flex; | ||
justify-content: space-between; | |||
align-items: center; | |||
background: #fff; | |||
padding: 20px 10vw; | |||
border-bottom: 2px solid #000; | border-bottom: 2px solid #000; | ||
position: sticky; | |||
top: 0; | |||
z-index: 1000; | |||
} | } | ||
#mw-head a { | |||
#mw- | |||
color: #111; | color: #111; | ||
font-weight: 600; | |||
margin-right: 20px; | |||
} | } | ||
/* Títulos */ | /* === Títulos === */ | ||
h1, h2, h3, h4 { | h1, h2, h3, h4 { | ||
color: #000; | color: #000; | ||
| Linha 69: | Linha 60: | ||
} | } | ||
/* Links */ | /* === Links === */ | ||
a { | a { | ||
color: #0066ff; | color: #0066ff; | ||
| Linha 80: | Linha 71: | ||
} | } | ||
/* Botões */ | /* === Botões === */ | ||
input[type="submit"], .mw-ui-button, button { | input[type="submit"], | ||
.mw-ui-button, | |||
button { | |||
background: #000; | background: #000; | ||
color: #fff; | color: #fff; | ||
| Linha 91: | Linha 84: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
} | } | ||
input[type="submit"]:hover, .mw-ui-button:hover, button:hover { | input[type="submit"]:hover, | ||
.mw-ui-button:hover, | |||
button:hover { | |||
background: #333; | background: #333; | ||
} | } | ||
/* | /* === Tabelas === */ | ||
table { | table { | ||
width: 100%; | width: 100%; | ||
| Linha 120: | Linha 105: | ||
} | } | ||
/* | /* === Rodapé === */ | ||
textarea, input[type="text"], input[type="search"] { | #footer { | ||
background-color: #f1f1f1; | |||
text-align: center; | |||
padding: 20px; | |||
font-size: 13px; | |||
color: #555; | |||
border-top: 2px solid #000; | |||
} | |||
/* === Áreas de formulário === */ | |||
textarea, | |||
input[type="text"], | |||
input[type="search"], | |||
input[type="password"], | |||
select { | |||
border: 2px solid #000; | border: 2px solid #000; | ||
padding: 10px; | padding: 10px; | ||
| Linha 128: | Linha 127: | ||
background-color: #fff; | background-color: #fff; | ||
font-family: 'Space Grotesk', sans-serif; | font-family: 'Space Grotesk', sans-serif; | ||
box-sizing: border-box; | |||
} | } | ||
/* | /* === Oculta elementos vazios ou inúteis === */ | ||
# | .mw-portlet-empty, | ||
display: | #siteSub, | ||
background | #contentSub, | ||
#jump-to-nav { | |||
display: none; | |||
} | |||
/* === Ajuste para TOC (sumário) === */ | |||
#toc { | |||
background: #fff; | |||
border: 2px solid #000; | |||
padding: 20px; | |||
margin: 40px 0; | |||
border-radius: 8px; | |||
} | |||
#toc a { | |||
color: #111; | |||
font-weight: 600; | |||
} | |||
#toc a:hover { | |||
color: #0066ff; | |||
} | } | ||
/* | /* === Responsividade básica === */ | ||
# | @media (max-width: 768px) { | ||
#mw-head { | |||
flex-direction: column; | |||
align-items: flex-start; | |||
} | |||
#content, | |||
#mw-content-text { | |||
padding: 40px 5vw; | |||
} | |||
} | } | ||
Edição das 09h23min de 22 de julho de 2025
/* === Fonte Moderna === */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600&display=swap');
/* === Estilo base === */
body {
font-family: 'Space Grotesk', sans-serif;
background-color: #f9f9f9;
color: #111;
margin: 0;
padding: 0;
font-size: 16px;
line-height: 1.7;
}
/* === Remover elementos laterais === */
#mw-panel,
#p-logo,
#mw-head-base,
#mw-navigation {
display: none !important;
}
/* === Tela cheia no conteúdo === */
#content,
#mw-content-text {
width: 100%;
max-width: none;
margin: 0;
padding: 60px 10vw;
box-sizing: border-box;
background: white;
border: none;
box-shadow: none;
}
/* === Cabeçalho moderno === */
#mw-head {
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
padding: 20px 10vw;
border-bottom: 2px solid #000;
position: sticky;
top: 0;
z-index: 1000;
}
#mw-head a {
color: #111;
font-weight: 600;
margin-right: 20px;
}
/* === Títulos === */
h1, h2, h3, h4 {
color: #000;
border-bottom: 2px solid #000;
padding-bottom: 4px;
margin-top: 40px;
}
/* === Links === */
a {
color: #0066ff;
text-decoration: none;
transition: all 0.2s ease;
}
a:hover {
color: #0033aa;
text-decoration: underline;
}
/* === Botões === */
input[type="submit"],
.mw-ui-button,
button {
background: #000;
color: #fff;
padding: 10px 18px;
border: none;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
text-transform: uppercase;
}
input[type="submit"]:hover,
.mw-ui-button:hover,
button:hover {
background: #333;
}
/* === Tabelas === */
table {
width: 100%;
border-collapse: collapse;
margin: 24px 0;
}
th, td {
border: 1px solid #ccc;
padding: 12px;
text-align: left;
}
th {
background-color: #eee;
}
/* === Rodapé === */
#footer {
background-color: #f1f1f1;
text-align: center;
padding: 20px;
font-size: 13px;
color: #555;
border-top: 2px solid #000;
}
/* === Áreas de formulário === */
textarea,
input[type="text"],
input[type="search"],
input[type="password"],
select {
border: 2px solid #000;
padding: 10px;
border-radius: 6px;
width: 100%;
background-color: #fff;
font-family: 'Space Grotesk', sans-serif;
box-sizing: border-box;
}
/* === Oculta elementos vazios ou inúteis === */
.mw-portlet-empty,
#siteSub,
#contentSub,
#jump-to-nav {
display: none;
}
/* === Ajuste para TOC (sumário) === */
#toc {
background: #fff;
border: 2px solid #000;
padding: 20px;
margin: 40px 0;
border-radius: 8px;
}
#toc a {
color: #111;
font-weight: 600;
}
#toc a:hover {
color: #0066ff;
}
/* === Responsividade básica === */
@media (max-width: 768px) {
#mw-head {
flex-direction: column;
align-items: flex-start;
}
#content,
#mw-content-text {
padding: 40px 5vw;
}
}