Template:Navbox/styles.css
Appearance
/* Estilização geral da navbox */
.navbox {
font-size: 0.85em;
border: 1px solid #ccc;
border-radius: 12px;
background-color: #fdfdfd;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
margin-top: 1em;
}
/* Título completo (em duas "colunas") com botão na segunda */
.navbox .navbox-title {
display: table;
width: 100%;
background-color: #d9ecff;
color: #003366;
font-weight: bold;
font-size: 1.1em;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.navbox .navbox-title .title-cell {
display: table-cell;
text-align: center;
vertical-align: middle;
padding: 0.4em;
width: 95%;
}
.navbox .navbox-title .toggle-cell {
display: table-cell;
text-align: right;
vertical-align: middle;
padding: 0.4em 0.8em;
width: 5%;
white-space: nowrap;
}
/* Estilo do botão de expand/collapse */
.navbox .mw-collapsible-toggle {
font-size: 90%;
font-weight: normal;
color: #003366;
background: none;
border: none;
cursor: pointer;
}
/* Estilo dos grupos de itens */
.navbox .navbox-group {
font-weight: bold;
background-color: #f2f2f2;
padding: 0.3em 0.6em;
border-top: 1px solid #ddd;
text-align: center;
}
/* Listas horizontais com separador personalizado */
.navbox .hlist li {
display: inline;
}
.navbox .hlist li:not(:last-child)::after {
content: " |";
font-weight: bold;
padding: 0 0.4em;
color: #444;
}
/* Links */
.navbox a {
text-decoration: none;
}
.navbox a:hover {
text-decoration: underline;
}
.tn-title-bar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #d9ecff;
color: #003366;
font-weight: bold;
font-size: 120%;
padding: 0.3em 0.8em;
border-radius: 0.8em 0.8em 0 0;
width: 100%;
box-sizing: border-box;
}
.tn-title-bar .mw-collapsible-toggle {
margin-left: auto;
font-size: 90%;
font-weight: bold;
color: #003366;
background: none;
border: none;
cursor: pointer;
}