pln-ddgp-plus / style.css
AniseF's picture
Upload 2 files
fb6332f verified
/* ------------------------------------------------------------
DDGP Plus — style.css
Estilos principais da aplicação Streamlit
------------------------------------------------------------ */
/* Fonte Alegreya */
@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;700&display=swap');
html, body, textarea, input, button {
font-family: 'Alegreya', serif !important;
}
/* Logo */
.logo-ddgp {
width: 40%;
max-width: 600px;
display: block;
margin-left: auto;
margin-right: auto;
}
/* Abreviaturas em itálico azul */
.abrev {
font-style: italic;
color: #1a4d8f;
}
.abrev, .abrev-author { cursor: help; }
/* Exemplos em grego — não itálico */
.exemplo-gr {
font-style: normal !important;
}
/* Autores — caixa alta pequena */
.autor-sc {
font-variant: small-caps;
font-size: 0.9em;
color: #0066cc;
}
/* Etimologia dentro de 〈…〉 */
.etimo {
font-weight: 500;
padding-left: 4px;
}
/* Rodapé */
.footer-ddgp {
text-align: center;
font-size: 0.85em;
color: #666;
margin-top: 20px;
}
/* Abreviaturas gramaticais */
.abrev {
font-style: italic;
color: #0066cc; !important;
}
p .autor-sc,
span.autor-sc,
div .autor-sc,
.stMarkdown .autor-sc,
html body .autor-sc {
font-variant: small-caps;
color: #1a4d8f !important;
}
span.autor-sc {
color: #0066cc !important;
}
/* Seções do dicionário (♦ ativa, ♦ média, ♦ passiva) */
.ddgp-sec {
font-weight: 600;
margin-top: 0.8em;
margin-bottom: 0.3em;
font-size: 1.05em;
}
/* força estilo das abreviaturas de autores */
.autor-sc,
p .autor-sc,
.stMarkdown p .autor-sc,
.stMarkdown .autor-sc {
font-variant: small-caps;
color: #0066cc !important;
}
/* aumenta fonte apenas no corpo do Streamlit */
:root {
--ddgp-font-size: 23px;
}
div.stMarkdown, div.stText, div.stJson, div.stAlert {
font-size: var(--ddgp-font-size);
}
#ddgp-instrucao {
font-size: 24px !important;
font-weight: 500;
}