Accesibilidad: Atkinson Hyperlegible + modo oscuro (#196) #205
@@ -47,14 +47,14 @@ add_action('wp_head', function () {
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atkinson Hyperlegible';
|
font-family: 'Atkinson Hyperlegible';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 100 500;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('<?php echo esc_url($base); ?>/atkinson-hyperlegible-regular.woff2') format('woff2');
|
src: url('<?php echo esc_url($base); ?>/atkinson-hyperlegible-regular.woff2') format('woff2');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Atkinson Hyperlegible';
|
font-family: 'Atkinson Hyperlegible';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 700;
|
font-weight: 501 900;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('<?php echo esc_url($base); ?>/atkinson-hyperlegible-bold.woff2') format('woff2');
|
src: url('<?php echo esc_url($base); ?>/atkinson-hyperlegible-bold.woff2') format('woff2');
|
||||||
}
|
}
|
||||||
@@ -66,6 +66,15 @@ add_action('wp_head', function () {
|
|||||||
font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6,
|
||||||
|
.fea-hero-title,
|
||||||
|
.fea-section-title {
|
||||||
|
font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
||||||
|
}
|
||||||
|
input, textarea, select, button {
|
||||||
|
font-family: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Toggle claro/oscuro: botón inyectado junto al selector de idioma ── */
|
/* ── Toggle claro/oscuro: botón inyectado junto al selector de idioma ── */
|
||||||
#fea-theme-btn {
|
#fea-theme-btn {
|
||||||
display: inline-flex; align-items: center; justify-content: center;
|
display: inline-flex; align-items: center; justify-content: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user