Module:Navbox/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Reduz o tamanho da fonte geral */ | /* Reduz o tamanho da fonte geral */ | ||
.navbox { | .navbox { | ||
font-size: 0. | font-size: 0.80em; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-radius: 12px; | border-radius: 12px; | ||
| Line 14: | Line 14: | ||
} | } | ||
/* Adiciona | /* Adiciona barra vertical entre itens da lista */ | ||
.navbox .hlist li:not(:last-child)::after { | .navbox .hlist li:not(:last-child)::after { | ||
content: " | content: " |"; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 0 0.4em; | padding: 0 0.4em; | ||
| Line 22: | Line 22: | ||
} | } | ||
/* | /* Estilo do título do grupo */ | ||
.navbox .navbox-group { | .navbox .navbox-group { | ||
font-weight: bold; | font-weight: bold; | ||
| Line 32: | Line 32: | ||
} | } | ||
/* | /* Ajustes de link */ | ||
.navbox a { | .navbox a { | ||
text-decoration: none; | text-decoration: none; | ||
Revision as of 19:06, 29 May 2025
/* Reduz o tamanho da fonte geral */
.navbox {
font-size: 0.80em;
border: 1px solid #ccc;
border-radius: 12px;
padding: 0.5em;
background-color: #fdfdfd;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
/* Força os itens da lista como inline */
.navbox .hlist li {
display: inline;
}
/* Adiciona barra vertical entre itens da lista */
.navbox .hlist li:not(:last-child)::after {
content: " |";
font-weight: bold;
padding: 0 0.4em;
color: #444;
}
/* Estilo do título do grupo */
.navbox .navbox-group {
font-weight: bold;
background-color: #f2f2f2;
padding: 0.3em 0.6em;
border-bottom: 1px solid #ddd;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
/* Ajustes de link */
.navbox a {
text-decoration: none;
}
.navbox a:hover {
text-decoration: underline;
}