Spaces:
Sleeping
Sleeping
File size: 2,023 Bytes
fb6332f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | /* ------------------------------------------------------------
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;
}
|