Module:Navbox/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 43: | Line 43: | ||
/* Barra do título com duas "colunas" simuladas */ | |||
/* | .tn-title-bar { | ||
. | display: flex; | ||
justify-content: space-between; | |||
align-items: center; | |||
background-color: #d9ecff; | background-color: #d9ecff; | ||
color: #003366; | color: #003366; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: | font-size: 120%; | ||
padding: 0. | padding: 0.3em 0.8em; | ||
border-radius: 0.8em 0.8em 0 0; | |||
width: 100%; | width: 100%; | ||
border- | box-sizing: border-box; | ||
} | } | ||
/* | /* Texto do título */ | ||
. | .tn-title-text { | ||
flex: 1; | |||
text-align: | text-align: center; | ||
} | } | ||
/* | /* Botão expand/collapse */ | ||
.mw-collapsible-toggle { | |||
font-size: 90%; | font-size: 90%; | ||
font-weight: bold; | |||
color: #003366; | |||
background: none; | background: none; | ||
border: none; | border: none; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
Revision as of 19:26, 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;
}
/* Barra do título com duas "colunas" simuladas */
.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;
}
/* Texto do título */
.tn-title-text {
flex: 1;
text-align: center;
}
/* Botão expand/collapse */
.mw-collapsible-toggle {
font-size: 90%;
font-weight: bold;
color: #003366;
background: none;
border: none;
cursor: pointer;
}