Spaces:
Running
Running
Upload 2 files
Browse files- style.css +104 -0
- style_map.css +41 -0
style.css
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ------------------------------------------------------------
|
| 2 |
+
DDGP Plus — style.css
|
| 3 |
+
Estilos principais da aplicação Streamlit
|
| 4 |
+
------------------------------------------------------------ */
|
| 5 |
+
|
| 6 |
+
/* Fonte Alegreya */
|
| 7 |
+
@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;700&display=swap');
|
| 8 |
+
|
| 9 |
+
html, body, textarea, input, button {
|
| 10 |
+
font-family: 'Alegreya', serif !important;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
/* Logo */
|
| 14 |
+
.logo-ddgp {
|
| 15 |
+
width: 40%;
|
| 16 |
+
max-width: 600px;
|
| 17 |
+
display: block;
|
| 18 |
+
margin-left: auto;
|
| 19 |
+
margin-right: auto;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
/* Abreviaturas em itálico azul */
|
| 23 |
+
.abrev {
|
| 24 |
+
font-style: italic;
|
| 25 |
+
color: #1a4d8f;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.abrev, .abrev-author { cursor: help; }
|
| 29 |
+
|
| 30 |
+
/* Exemplos em grego — não itálico */
|
| 31 |
+
.exemplo-gr {
|
| 32 |
+
font-style: normal !important;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
/* Autores — caixa alta pequena */
|
| 36 |
+
.autor-sc {
|
| 37 |
+
font-variant: small-caps;
|
| 38 |
+
font-size: 0.9em;
|
| 39 |
+
color: #0066cc;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
/* Etimologia dentro de 〈…〉 */
|
| 43 |
+
.etimo {
|
| 44 |
+
font-weight: 500;
|
| 45 |
+
padding-left: 4px;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
/* Rodapé */
|
| 49 |
+
.footer-ddgp {
|
| 50 |
+
text-align: center;
|
| 51 |
+
font-size: 0.85em;
|
| 52 |
+
color: #666;
|
| 53 |
+
margin-top: 20px;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
/* Abreviaturas gramaticais */
|
| 57 |
+
.abrev {
|
| 58 |
+
font-style: italic;
|
| 59 |
+
color: #0066cc; !important;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
p .autor-sc,
|
| 63 |
+
span.autor-sc,
|
| 64 |
+
div .autor-sc,
|
| 65 |
+
.stMarkdown .autor-sc,
|
| 66 |
+
html body .autor-sc {
|
| 67 |
+
font-variant: small-caps;
|
| 68 |
+
color: #1a4d8f !important;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
span.autor-sc {
|
| 72 |
+
color: #0066cc !important;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
/* Seções do dicionário (♦ ativa, ♦ média, ♦ passiva) */
|
| 76 |
+
.ddgp-sec {
|
| 77 |
+
font-weight: 600;
|
| 78 |
+
margin-top: 0.8em;
|
| 79 |
+
margin-bottom: 0.3em;
|
| 80 |
+
font-size: 1.05em;
|
| 81 |
+
}
|
| 82 |
+
/* força estilo das abreviaturas de autores */
|
| 83 |
+
.autor-sc,
|
| 84 |
+
p .autor-sc,
|
| 85 |
+
.stMarkdown p .autor-sc,
|
| 86 |
+
.stMarkdown .autor-sc {
|
| 87 |
+
font-variant: small-caps;
|
| 88 |
+
color: #0066cc !important;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
/* aumenta fonte apenas no corpo do Streamlit */
|
| 92 |
+
:root {
|
| 93 |
+
--ddgp-font-size: 23px;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
div.stMarkdown, div.stText, div.stJson, div.stAlert {
|
| 97 |
+
font-size: var(--ddgp-font-size);
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
#ddgp-instrucao {
|
| 101 |
+
font-size: 24px !important;
|
| 102 |
+
font-weight: 500;
|
| 103 |
+
}
|
| 104 |
+
|
style_map.css
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* ------------------------------------------------------------
|
| 2 |
+
DDGP Plus — style_map.css
|
| 3 |
+
Mapa de estilos complementares
|
| 4 |
+
(ajustes finos, overrides e componentes específicos)
|
| 5 |
+
------------------------------------------------------------ */
|
| 6 |
+
|
| 7 |
+
/* Variáveis de cor */
|
| 8 |
+
:root {
|
| 9 |
+
--ddgp-azul: #1a4d8f;
|
| 10 |
+
--ddgp-azul-claro: #3c6eb4;
|
| 11 |
+
--ddgp-cinza: #666666;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
/* Ajustes gerais */
|
| 15 |
+
.section-title {
|
| 16 |
+
font-size: 1.3rem;
|
| 17 |
+
font-weight: 600;
|
| 18 |
+
margin-top: 1rem;
|
| 19 |
+
margin-bottom: 0.4rem;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
/* Campos de entrada */
|
| 23 |
+
input[type="text"] {
|
| 24 |
+
border-radius: 6px;
|
| 25 |
+
border: 1px solid #bbbbbb;
|
| 26 |
+
padding: 6px;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
/* Caixas de resultado */
|
| 30 |
+
.result-box {
|
| 31 |
+
background: #f6f8fb;
|
| 32 |
+
padding: 12px;
|
| 33 |
+
border-left: 4px solid var(--ddgp-azul);
|
| 34 |
+
border-radius: 6px;
|
| 35 |
+
margin-bottom: 1rem;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
/* Classe auxiliar para alinhamento */
|
| 39 |
+
.center {
|
| 40 |
+
text-align: center !important;
|
| 41 |
+
}
|