cambios de estilos y cosas
parent
3ec413c863
commit
d0651aa713
@ -1,63 +1,89 @@
|
|||||||
/* Reset/normalización ligera */
|
/* Reset/normalización ligera */
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
*::after { box-sizing: border-box; }
|
*::after {
|
||||||
html, body { height: 100%; }
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
height: 100%;
|
||||||
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
|
}
|
||||||
font-size: 16px;
|
|
||||||
line-height: 1.5;
|
body {
|
||||||
background: var(--color-bg);
|
margin: 0;
|
||||||
color: var(--color-text);
|
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
|
||||||
-webkit-font-smoothing: antialiased;
|
font-size: 16px;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
line-height: 1.5;
|
||||||
}
|
background: var(--color-bg);
|
||||||
img, svg, video { display: block; max-width: 100%; }
|
color: var(--color-text);
|
||||||
a { color: inherit; text-decoration: none; }
|
-webkit-font-smoothing: antialiased;
|
||||||
button { font: inherit; }
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
img,
|
||||||
|
svg,
|
||||||
|
video {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
font: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Accesibilidad: foco visible */
|
/* Accesibilidad: foco visible */
|
||||||
:focus-visible {
|
:focus-visible {
|
||||||
outline: 2px solid var(--color-primary);
|
outline: 2px solid var(--color-primary);
|
||||||
outline-offset: 2px;
|
outline-offset: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Utilidades */
|
/* Utilidades */
|
||||||
.container {
|
.container {
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 var(--space-4);
|
padding: 0 var(--space-4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sr-only {
|
.sr-only {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
width: 1px; height: 1px;
|
width: 1px;
|
||||||
padding: 0; margin: -1px;
|
height: 1px;
|
||||||
overflow: hidden; clip: rect(0,0,0,0);
|
padding: 0;
|
||||||
white-space: nowrap; border: 0;
|
margin: -1px;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(0, 0, 0, 0);
|
||||||
|
white-space: nowrap;
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Controles base */
|
/* Controles base */
|
||||||
button,
|
button,
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
min-height: 44px;
|
min-height: 36px;
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
border: 1px solid var(--color-border);
|
border: 1px solid var(--color-border);
|
||||||
border-radius: var(--radius-sm);
|
border-radius: var(--radius-sm);
|
||||||
background: var(--color-surface);
|
background: var(--color-surface);
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.primary {
|
button.primary {
|
||||||
background: var(--color-primary);
|
background: var(--color-primary);
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-primary);
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:disabled {
|
button:disabled {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue