File size: 4,445 Bytes
77ba96d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
/* Aspecto de libro de texto (Springer): Times, filetes finos, tablas
   con reglas superior e inferior, pies de figura en negrita. */

.gradio-container {
  font-family: "STIX Two Text", "Times New Roman", Times, serif !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  color: #1a1a1a;
}

.gradio-container .prose,
.gradio-container .prose p,
.gradio-container .prose li {
  font-size: 1.02rem;
  line-height: 1.55;
}

/* ---------- portada ---------- */
.portada {
  border-top: 3px solid #1f4e79;
  border-bottom: 0.6px solid #1a1a1a;
  padding: 18px 4px 14px 4px;
  margin-bottom: 6px;
}
.portada .serie {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f4e79;
}
.portada h1 {
  font-size: 2.05rem;
  font-weight: 700;
  margin: 4px 0 2px 0;
  line-height: 1.15;
}
.portada .subtitulo {
  font-size: 1.12rem;
  font-style: italic;
  color: #333;
}
.portada .autor {
  font-size: 0.9rem;
  color: #555;
  margin-top: 6px;
}

/* ---------- títulos del desarrollo ---------- */
.desarrollo h3 {
  font-size: 1.16rem;
  font-weight: 700;
  margin-top: 1.3em;
  padding-bottom: 2px;
  border-bottom: 0.6px solid #bdbdbd;
  color: #1a1a1a;
}
.desarrollo h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f4e79;
}

/* ---------- tablas tipo booktabs ---------- */
.gradio-container .prose table {
  border-collapse: collapse;
  border-top: 1.4px solid #1a1a1a;
  border-bottom: 1.4px solid #1a1a1a;
  margin: 0.8em 0;
  font-size: 0.96rem;
}
.gradio-container .prose thead th {
  border-bottom: 0.7px solid #1a1a1a;
  font-weight: 700;
  background: transparent;
}
.gradio-container .prose td,
.gradio-container .prose th {
  border-left: none !important;
  border-right: none !important;
  border-top: none;
  padding: 4px 12px;
}
.gradio-container .prose tbody tr {
  border-bottom: none;
}

/* ---------- cajas de los apuntes ---------- */
.clave {
  background: #f1f1ee;
  border-left: 3px solid #1f4e79;
  padding: 0.35em 1em;
  margin: 0.9em 0;
}
.aviso {
  background: #fbf4f4;
  border-left: 3px solid #a4262c;
  padding: 0.35em 1em;
  margin: 0.9em 0;
}

/* ---------- pies de figura ---------- */
.caption,
.caption p {
  font-size: 0.9rem !important;
  color: #333;
  line-height: 1.35 !important;
  margin-top: -4px;
}
.caption strong {
  font-weight: 700;
  color: #1a1a1a;
}

/* ---------- KaTeX en el tamaño del texto ---------- */
.gradio-container .katex {
  font-size: 1.06em;
}
.gradio-container .katex-display {
  margin: 0.7em 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0;
}

/* ---------- controles ---------- */
.panel-controles {
  border-right: 0.6px solid #d0d0d0;
  padding-right: 10px !important;
}
.nota-controles,
.nota-controles p {
  font-size: 0.88rem !important;
  color: #555;
}
footer {
  font-family: "STIX Two Text", "Times New Roman", serif;
}

@media (max-width: 760px) {
  .panel-controles {
    border-right: none;
    padding-right: 0 !important;
  }
  .portada h1 {
    font-size: 1.6rem;
  }
}

/* ---------- ayuda «?» ---------- */
.ayuda {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border: 1px solid #1f4e79;
  border-radius: 50%;
  font: 600 11px/1 "STIX Two Text", "Times New Roman", serif;
  color: #1f4e79;
  background: #ffffff;
  cursor: help;
  vertical-align: middle;
  user-select: none;
}
.ayuda:hover,
.ayuda:focus {
  background: #1f4e79;
  color: #ffffff;
  outline: none;
}
.ayuda-esquina {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 20;
  margin: 0;
  width: 20px;
  height: 20px;
  font-size: 13px;
}
.globo-ayuda {
  display: none;
  position: fixed;
  z-index: 10000;
  max-width: 330px;
  padding: 9px 12px;
  background: #fffef9;
  border: 0.8px solid #8f8f8f;
  border-left: 3px solid #1f4e79;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  font: 14px/1.4 "STIX Two Text", "Times New Roman", serif;
  color: #1a1a1a;
  pointer-events: none;
}

/* ---------- controles fijos a la izquierda al bajar por las figuras ---------- */
@media (min-width: 900px) {
  .panel-controles {
    position: sticky !important;
    top: 8px;
    align-self: flex-start !important;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
  }
}
/* overflow:hidden del contenedor de Gradio impide «position: sticky»; clip recorta igual sin impedirlo */
.gradio-container {
  overflow: clip !important;
}