@skerbis/nativecss 0.0.0-stage → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -0
- package/LICENSE +28 -0
- package/README.md +145 -2
- package/dist/base.css +225 -0
- package/dist/browser-fixes.css +32 -0
- package/dist/colors.css +288 -0
- package/dist/components/accordion-split.css +269 -0
- package/dist/components/alert.css +179 -0
- package/dist/components/app-shell.css +266 -0
- package/dist/components/audio-player.css +697 -0
- package/dist/components/audio.css +35 -0
- package/dist/components/aurora.css +132 -0
- package/dist/components/avatar.css +102 -0
- package/dist/components/back-to-top.css +120 -0
- package/dist/components/backdrop.css +94 -0
- package/dist/components/badge.css +95 -0
- package/dist/components/breadcrumb.css +58 -0
- package/dist/components/card.css +721 -0
- package/dist/components/code-block.css +234 -0
- package/dist/components/combobox.css +103 -0
- package/dist/components/command-palette.css +351 -0
- package/dist/components/comments.css +243 -0
- package/dist/components/compare.css +218 -0
- package/dist/components/count-up.css +140 -0
- package/dist/components/countdown.css +74 -0
- package/dist/components/cover.css +45 -0
- package/dist/components/curtain.css +116 -0
- package/dist/components/dialog-close.css +44 -0
- package/dist/components/disclosure.css +37 -0
- package/dist/components/downloads.css +47 -0
- package/dist/components/dropdown.css +260 -0
- package/dist/components/dropzone.css +181 -0
- package/dist/components/effects.css +236 -0
- package/dist/components/empty-state.css +74 -0
- package/dist/components/events.css +165 -0
- package/dist/components/expand-panels.css +220 -0
- package/dist/components/filter.css +179 -0
- package/dist/components/floating-label.css +69 -0
- package/dist/components/footer.css +56 -0
- package/dist/components/hero.css +139 -0
- package/dist/components/hovercard.css +146 -0
- package/dist/components/input-group.css +67 -0
- package/dist/components/kbd.css +44 -0
- package/dist/components/leaders.css +99 -0
- package/dist/components/lightbox.css +165 -0
- package/dist/components/lists.css +221 -0
- package/dist/components/livesearch.css +106 -0
- package/dist/components/map.css +245 -0
- package/dist/components/marginnote.css +109 -0
- package/dist/components/marquee.css +119 -0
- package/dist/components/modal.css +385 -0
- package/dist/components/morph.css +317 -0
- package/dist/components/nav-drilldown.css +190 -0
- package/dist/components/nav-priority.css +157 -0
- package/dist/components/nav.css +600 -0
- package/dist/components/notification.css +290 -0
- package/dist/components/off-canvas.css +107 -0
- package/dist/components/overlay.css +122 -0
- package/dist/components/pagination.css +139 -0
- package/dist/components/pill-group.css +143 -0
- package/dist/components/placeholder.css +28 -0
- package/dist/components/preferences-fonts.css +65 -0
- package/dist/components/preferences.css +283 -0
- package/dist/components/pricing.css +220 -0
- package/dist/components/rating.css +121 -0
- package/dist/components/reveal-pin.css +165 -0
- package/dist/components/roadmap.css +173 -0
- package/dist/components/scroll-frames.css +97 -0
- package/dist/components/scroll-horizontal.css +141 -0
- package/dist/components/scroll-progress.css +63 -0
- package/dist/components/scroll-stack.css +363 -0
- package/dist/components/scroll-video.css +172 -0
- package/dist/components/scrolly.css +190 -0
- package/dist/components/search.css +52 -0
- package/dist/components/segmented.css +209 -0
- package/dist/components/select.css +186 -0
- package/dist/components/slideshow.css +441 -0
- package/dist/components/sortable.css +186 -0
- package/dist/components/sparkline.css +50 -0
- package/dist/components/spinner.css +50 -0
- package/dist/components/split.css +85 -0
- package/dist/components/spotlight.css +111 -0
- package/dist/components/stat.css +82 -0
- package/dist/components/stepper.css +217 -0
- package/dist/components/subnav.css +151 -0
- package/dist/components/table-sort.css +111 -0
- package/dist/components/tabs.css +304 -0
- package/dist/components/tag.css +130 -0
- package/dist/components/testimonial.css +188 -0
- package/dist/components/text-reveal.css +141 -0
- package/dist/components/theme-toggle.css +62 -0
- package/dist/components/tile.css +53 -0
- package/dist/components/timeline.css +211 -0
- package/dist/components/toolbar.css +139 -0
- package/dist/components/tooltip.css +89 -0
- package/dist/components/topbar.css +92 -0
- package/dist/components/video-bg.css +176 -0
- package/dist/components/video-card.css +145 -0
- package/dist/components/video-float.css +142 -0
- package/dist/components/video-player.css +1116 -0
- package/dist/components/video-text.css +91 -0
- package/dist/components/video.css +65 -0
- package/dist/fonts/README.md +29 -0
- package/dist/fonts/atkinson-hyperlegible-next/OFL.txt +93 -0
- package/dist/fonts/atkinson-hyperlegible-next/atkinson-hyperlegible-next.woff2 +0 -0
- package/dist/fonts/lexend/OFL.txt +93 -0
- package/dist/fonts/lexend/lexend.woff2 +0 -0
- package/dist/fonts/opendyslexic/OFL.txt +94 -0
- package/dist/fonts/opendyslexic/OpenDyslexic-Bold.woff2 +0 -0
- package/dist/fonts/opendyslexic/OpenDyslexic-Regular.woff2 +0 -0
- package/dist/helpers/a11y.css +71 -0
- package/dist/helpers/animations.css +206 -0
- package/dist/helpers/elevation.css +87 -0
- package/dist/helpers/float.css +135 -0
- package/dist/helpers/forms.css +503 -0
- package/dist/helpers/icons.css +130 -0
- package/dist/helpers/layout.css +549 -0
- package/dist/helpers/media.css +77 -0
- package/dist/helpers/reveal.css +172 -0
- package/dist/helpers/scroll-shadow.css +129 -0
- package/dist/helpers/scroll.css +163 -0
- package/dist/helpers/surfaces.css +87 -0
- package/dist/helpers/tables.css +85 -0
- package/dist/helpers/typography.css +347 -0
- package/dist/helpers/visibility.css +134 -0
- package/dist/integrations/fontawesome-font-display-fix.css +67 -0
- package/dist/integrations/webawesome-bridge.css +195 -0
- package/dist/js/audio-player.js +942 -0
- package/dist/js/backdrop.js +119 -0
- package/dist/js/code-block.js +238 -0
- package/dist/js/combobox.js +382 -0
- package/dist/js/command-fallback.js +35 -0
- package/dist/js/command-palette.js +477 -0
- package/dist/js/compare.js +73 -0
- package/dist/js/content-observer.js +82 -0
- package/dist/js/count-up.js +150 -0
- package/dist/js/countdown.js +185 -0
- package/dist/js/dialog-light-dismiss.js +123 -0
- package/dist/js/dismiss.js +144 -0
- package/dist/js/downloads.js +181 -0
- package/dist/js/dropdown.js +300 -0
- package/dist/js/dropzone.js +304 -0
- package/dist/js/events.js +501 -0
- package/dist/js/filter.js +177 -0
- package/dist/js/hero-video-motion.js +37 -0
- package/dist/js/hide-on-scroll-fallback.js +102 -0
- package/dist/js/hovercard.js +228 -0
- package/dist/js/icon.js +166 -0
- package/dist/js/ics.js +290 -0
- package/dist/js/lightbox.js +144 -0
- package/dist/js/livesearch.js +253 -0
- package/dist/js/map.js +625 -0
- package/dist/js/marquee.js +108 -0
- package/dist/js/modal-router.js +298 -0
- package/dist/js/nav-drilldown.js +250 -0
- package/dist/js/nav-priority.js +221 -0
- package/dist/js/nav.js +242 -0
- package/dist/js/ncss-container.js +117 -0
- package/dist/js/notification.js +372 -0
- package/dist/js/page-transitions-quiet.js +44 -0
- package/dist/js/preferences-early.js +51 -0
- package/dist/js/preferences.js +346 -0
- package/dist/js/reveal.js +79 -0
- package/dist/js/scroll-frames.js +284 -0
- package/dist/js/scroll-horizontal.js +121 -0
- package/dist/js/scroll-stack-fallback.js +250 -0
- package/dist/js/scroll-video.js +332 -0
- package/dist/js/scrolly.js +109 -0
- package/dist/js/slideshow.js +416 -0
- package/dist/js/sortable.js +530 -0
- package/dist/js/sparkline.js +199 -0
- package/dist/js/spotlight.js +104 -0
- package/dist/js/subnav.js +163 -0
- package/dist/js/table-sort.js +312 -0
- package/dist/js/tabs.js +243 -0
- package/dist/js/text-reveal.js +108 -0
- package/dist/js/theme-toggle-early.js +28 -0
- package/dist/js/theme-toggle.js +135 -0
- package/dist/js/toolbar.js +130 -0
- package/dist/js/tooltip.js +214 -0
- package/dist/js/video-bg.js +193 -0
- package/dist/js/video-card.js +80 -0
- package/dist/js/video-float.js +119 -0
- package/dist/js/video-player.js +1267 -0
- package/dist/js/view-transitions.js +118 -0
- package/dist/js/wa-close-on-scroll.js +56 -0
- package/dist/ncss.css +165 -0
- package/dist/page-transitions.css +150 -0
- package/dist/reset.css +196 -0
- package/dist/theme.css +112 -0
- package/dist/tokens.css +238 -0
- package/package.json +52 -4
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ncss - Video in Schrift (Layer "components"): eine große Überschrift, deren Buchstaben
|
|
3
|
+
* ein laufendes Video zeigen. Die Überschrift bleibt echter, markierbarer Text; das
|
|
4
|
+
* Video ist reine Dekoration (aria-hidden).
|
|
5
|
+
*
|
|
6
|
+
* <div class="ncss-video-text" data-ncss-video-bg>
|
|
7
|
+
* <video class="ncss-video-text-media" muted loop playsinline preload="none"
|
|
8
|
+
* poster="poster.jpg" aria-hidden="true">
|
|
9
|
+
* <source data-src="loop.mp4" type="video/mp4">
|
|
10
|
+
* </video>
|
|
11
|
+
* <h2 class="ncss-video-text-title">Bewegung</h2>
|
|
12
|
+
* </div>
|
|
13
|
+
*
|
|
14
|
+
* Technik: EIN Mischmodus für Light UND Dark. Die Überschrift ist eine Ebene mit
|
|
15
|
+
* mix-blend-mode: hard-light über dem Video - hard-light mit 50 % Grau lässt das Video
|
|
16
|
+
* unverändert durch (die Buchstaben), mit der Seitenfarbe (--ncss-color-bg: Weiß bzw.
|
|
17
|
+
* fast Schwarz) ergibt es genau diese Seitenfarbe (die Fläche um die Buchstaben).
|
|
18
|
+
* Dadurch wechselt die Fläche automatisch mit light-dark(), ohne JS/Media Query. Das
|
|
19
|
+
* 50-%-Grau ist eine Misch-KONSTANTE, keine Theme-Farbe - deshalb kein Token.
|
|
20
|
+
* Geeignet sind eher mittelhelle bis dunkle, ruhige Motive; sehr helles Material verliert
|
|
21
|
+
* im Light Mode Kontrast zur weißen Fläche.
|
|
22
|
+
*
|
|
23
|
+
* Bewegung/Pause: data-ncss-video-bg + js/video-bg.js (optional, empfohlen) liefert
|
|
24
|
+
* Lazy-Load, sichtbaren Pause-Schalter (WCAG 2.2.2), Pause außerhalb des Viewports und
|
|
25
|
+
* reduzierte Bewegung (dann füllt das Poster die Schrift). Den Schalter positioniert
|
|
26
|
+
* components/video-bg.css - ohne diese Datei bleibt er ungestylt, deshalb beide
|
|
27
|
+
* zusammen einbinden, wenn das Script genutzt wird. Ganz ohne Script: src + autoplay.
|
|
28
|
+
*
|
|
29
|
+
* Anpassbar: --ncss-video-text-size (Default --ncss-font-size-2xl × 2, gedeckelt auf
|
|
30
|
+
* 18cqi, damit ein ~6-Buchstaben-Wort nie breiter als die Fläche wird),
|
|
31
|
+
* --ncss-video-text-weight (900).
|
|
32
|
+
*
|
|
33
|
+
* forced-colors / Druck: normaler Text in Systemfarben, kein Video.
|
|
34
|
+
* Benötigt: tokens.css + colors.css.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
.ncss-video-text {
|
|
38
|
+
--ncss-video-text-size: calc(var(--ncss-font-size-2xl) * 2);
|
|
39
|
+
--ncss-video-text-weight: 900;
|
|
40
|
+
position: relative;
|
|
41
|
+
isolation: isolate;
|
|
42
|
+
overflow: clip;
|
|
43
|
+
container-type: inline-size;
|
|
44
|
+
background-color: var(--ncss-color-bg);
|
|
45
|
+
border-radius: var(--ncss-radius-lg);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ncss-video-text-media {
|
|
49
|
+
position: absolute;
|
|
50
|
+
inset: 0;
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
max-width: none;
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ncss-video-text-title {
|
|
58
|
+
position: relative;
|
|
59
|
+
margin: 0;
|
|
60
|
+
padding: var(--ncss-space-sm) var(--ncss-space-md);
|
|
61
|
+
font-size: min(var(--ncss-video-text-size), 18cqi);
|
|
62
|
+
font-weight: var(--ncss-video-text-weight);
|
|
63
|
+
line-height: 0.95;
|
|
64
|
+
letter-spacing: -0.02em;
|
|
65
|
+
text-align: center;
|
|
66
|
+
text-wrap: balance;
|
|
67
|
+
overflow-wrap: anywhere;
|
|
68
|
+
color: rgb(128 128 128);
|
|
69
|
+
background-color: var(--ncss-color-bg);
|
|
70
|
+
mix-blend-mode: hard-light;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@media (forced-colors: active) {
|
|
74
|
+
.ncss-video-text-media {
|
|
75
|
+
display: none;
|
|
76
|
+
}
|
|
77
|
+
.ncss-video-text-title {
|
|
78
|
+
mix-blend-mode: normal;
|
|
79
|
+
color: CanvasText;
|
|
80
|
+
background: Canvas;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
@media print {
|
|
84
|
+
.ncss-video-text-media {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
.ncss-video-text-title {
|
|
88
|
+
mix-blend-mode: normal;
|
|
89
|
+
color: currentColor;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ncss - Video-Komponente (Layer "components"). Lokales <video> soll genauso einfach zu
|
|
3
|
+
* handhaben sein wie <img> - reset.css setzt bereits display:block/max-width:100%/height:auto
|
|
4
|
+
* identisch für beide Elemente. Diese Datei ergänzt nur dieselbe optische Politur, die <img>
|
|
5
|
+
* bereits über helpers/media.css bekommt (Seitenverhältnis, abgerundete Ecken, Bildunterschrift).
|
|
6
|
+
*
|
|
7
|
+
* Einfachster Fall (reicht meistens schon, keine Klasse nötig):
|
|
8
|
+
* <video src="clip.mp4" controls poster="poster.jpg"></video>
|
|
9
|
+
* poster+controls geben "Klick zum Abspielen" komplett nativ, ganz ohne eigenes JS.
|
|
10
|
+
*
|
|
11
|
+
* Mit festem Seitenverhältnis (z.B. Raster aus Vorschau-Videos mit unterschiedlichem
|
|
12
|
+
* Quellformat) - kombinierbar mit den Aspect-Ratio-Helpers aus helpers/media.css:
|
|
13
|
+
* <div class="ncss-video ncss-ratio-video">
|
|
14
|
+
* <video src="clip.mp4" controls poster="poster.jpg"></video>
|
|
15
|
+
* </div>
|
|
16
|
+
*
|
|
17
|
+
* Mit Bildunterschrift (gleiches Muster wie .ncss-figure für <img>):
|
|
18
|
+
* <figure class="ncss-video ncss-ratio-video">
|
|
19
|
+
* <video src="clip.mp4" controls poster="poster.jpg"></video>
|
|
20
|
+
* <figcaption>Bildunterschrift</figcaption>
|
|
21
|
+
* </figure>
|
|
22
|
+
* (figcaption-Optik kommt bereits aus base.css, gemeinsam mit <img> genutzt.)
|
|
23
|
+
*
|
|
24
|
+
* Absichtlich NICHT enthalten: ein eigener Play-Button-Overlay-Zustand über die CSS-
|
|
25
|
+
* Pseudoklassen :playing/:paused - die sind Stand jetzt (Interop-2026-Ziel) noch nicht
|
|
26
|
+
* Baseline/browserübergreifend verlässlich. Natives poster+controls deckt den "Klick zum
|
|
27
|
+
* Abspielen"-Fall schon vollständig ab; :playing/:paused später ergänzen, sobald
|
|
28
|
+
* Baseline (siehe dasselbe Vorgehen wie bei text-box-trim in base.css).
|
|
29
|
+
*
|
|
30
|
+
* --- Art Direction bei Video: bewusst KEIN <source media="..."> --------------------------
|
|
31
|
+
* Für <img> ist <picture><source media="..."></picture> die korrekte, voll unterstützte
|
|
32
|
+
* Lösung für "andere Bilddatei je nach Viewport" (siehe helpers/media.css/media.html-Demo).
|
|
33
|
+
* Für <video> gibt es das NICHT verlässlich: <source media="..."> wurde aus der Spec und
|
|
34
|
+
* den meisten Browsern wieder entfernt (per Recherche bestätigt, Stand August 2026) - nur
|
|
35
|
+
* Safari/WebKit unterstützt es noch als Altlast, kein cross-browser-taugliches Feature.
|
|
36
|
+
* Ohne JS bleibt als einzige verlässliche "Art Direction"-Annäherung: DASSELBE Video per
|
|
37
|
+
* object-fit:cover unterschiedlich zuschneiden (.ncss-video--responsive-crop unten) - kein
|
|
38
|
+
* anderes Filmmaterial je Breakpoint, aber ein anderer Bildausschnitt. Für echtes anderes
|
|
39
|
+
* Filmmaterial je Breakpoint bräuchte es kleines JS (matchMedia + src-Wechsel) - bewusst
|
|
40
|
+
* nicht Teil dieser Datei, um video.css JS-frei zu halten; bei Bedarf gezielt ergänzen.
|
|
41
|
+
*/
|
|
42
|
+
.ncss-video {
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
border-radius: var(--ncss-radius-md);
|
|
45
|
+
background-color: var(--ncss-color-bg-subtle);
|
|
46
|
+
}
|
|
47
|
+
.ncss-video video {
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
object-fit: cover;
|
|
51
|
+
/* siehe --ncss-focus-point in tokens.css - Fokuspunkt pro Video überschreibbar. */
|
|
52
|
+
object-position: var(--ncss-focus-point);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Anderer Bildausschnitt (nicht andere Datei) je nach Viewport - z.B. hochkant auf dem
|
|
56
|
+
Handy, breit auf Desktop, ganz ohne JS oder zweite Video-Datei. */
|
|
57
|
+
.ncss-video--responsive-crop {
|
|
58
|
+
aspect-ratio: var(--ncss-aspect-portrait);
|
|
59
|
+
}
|
|
60
|
+
/* -- ncss breakpoint: md (768px) -- */
|
|
61
|
+
@media (min-width: 48rem) {
|
|
62
|
+
.ncss-video--responsive-crop {
|
|
63
|
+
aspect-ratio: var(--ncss-aspect-video);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Fonts – Hinweise zu Drittanbieter-Schriften / Third-party font notice
|
|
2
|
+
|
|
3
|
+
Optionale Lese-Schriften für die Darstellungs-Einstellungen (`<ncss-preferences>`,
|
|
4
|
+
`components/preferences-fonts.css`). Alle selbst gehostet, kein Request an Google Fonts
|
|
5
|
+
oder ein anderes CDN. Ein Browser lädt eine Datei erst, wenn jemand diese Schrift wählt.
|
|
6
|
+
|
|
7
|
+
Optional reading fonts for the display preferences. All self-hosted; a browser downloads a
|
|
8
|
+
file only when a visitor selects that font.
|
|
9
|
+
|
|
10
|
+
| Schrift / Font | Datei / File | Größe / Size | Lizenz / License | Quelle / Source |
|
|
11
|
+
|---|---|---|---|---|
|
|
12
|
+
| Atkinson Hyperlegible Next (variabel, wght 200–800) | `atkinson-hyperlegible-next/atkinson-hyperlegible-next.woff2` | 38 KB | SIL OFL 1.1 (`OFL.txt`) | github.com/google/fonts `ofl/atkinsonhyperlegiblenext` (Braille Institute) |
|
|
13
|
+
| Lexend (variabel, wght 100–900) | `lexend/lexend.woff2` | 44 KB | SIL OFL 1.1 (`OFL.txt`), Reserved Font Name „RevReading Lexend“ | github.com/google/fonts `ofl/lexend` |
|
|
14
|
+
| OpenDyslexic Regular + Bold | `opendyslexic/OpenDyslexic-Regular.woff2`, `-Bold.woff2` | 101 KB + 106 KB | SIL OFL 1.1 (`OFL.txt`), Reserved Font Name „OpenDyslexic“ | github.com/antijingoist/opendyslexic `compiled/` |
|
|
15
|
+
|
|
16
|
+
## Bearbeitung / Modifications
|
|
17
|
+
|
|
18
|
+
- Atkinson Hyperlegible Next und Lexend: mit fontTools (`pyftsubset --flavor=woff2
|
|
19
|
+
--layout-features='*'`) auf Latein reduziert – U+0000–017F (Basic Latin, Latin-1,
|
|
20
|
+
Latin Extended-A: Umlaute, ß), allgemeine Satzzeichen U+2000–206F (typografische
|
|
21
|
+
Anführungszeichen, Gedankenstriche, Auslassungspunkte), € U+20AC, ™, −. Variable
|
|
22
|
+
Gewichtsachse bleibt erhalten. Der Name bleibt zulässig: Atkinson Hyperlegible Next hat
|
|
23
|
+
keinen Reserved Font Name, Lexends Reserved Font Name ist „RevReading Lexend“.
|
|
24
|
+
- OpenDyslexic: **unverändert** (offizielle WOFF2-Dateien). Der Name „OpenDyslexic“ ist ein
|
|
25
|
+
Reserved Font Name – eine verkleinerte Fassung dürfte ihn laut OFL nicht tragen, deshalb
|
|
26
|
+
bewusst kein Subsetting.
|
|
27
|
+
|
|
28
|
+
Die Lizenztexte liegen jeweils als `OFL.txt` neben der Schrift und müssen bei Weitergabe
|
|
29
|
+
mitgeliefert werden. / Keep each `OFL.txt` next to its font when redistributing.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020-2024 The Atkinson Hyperlegible Next Project Authors (https://github.com/googlefonts/atkinson-hyperlegible-next)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2018 The Lexend Project Authors (https://github.com/googlefonts/lexend), with Reserved Font Name “RevReading Lexend”.
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright (c) 2019-07-29, Abbie Gonzalez (https://abbiecod.es|support@abbiecod.es),
|
|
2
|
+
with Reserved Font Name OpenDyslexic.
|
|
3
|
+
Copyright (c) 12/2012 - 2019
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
http://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ncss - a11y-Helper (Layer "helpers"). Eigenständig statt in typography.css versteckt -
|
|
3
|
+
* das sind Zugänglichkeits-Werkzeuge, keine Typografie, auch wenn sie zufällig oft mit
|
|
4
|
+
* Text zu tun haben.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Nur für Screenreader sichtbar - Standard-a11y-Pattern für versteckte, aber vorlesbare
|
|
8
|
+
Beschriftungen (z.B. Icon-Only-Buttons). display:none wäre für Screenreader ebenfalls
|
|
9
|
+
unsichtbar, das hier bleibt im Accessibility Tree. */
|
|
10
|
+
.ncss-visually-hidden {
|
|
11
|
+
position: absolute;
|
|
12
|
+
width: 1px;
|
|
13
|
+
height: 1px;
|
|
14
|
+
padding: 0;
|
|
15
|
+
margin: -1px;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
clip: rect(0, 0, 0, 0);
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
border: 0;
|
|
20
|
+
}
|
|
21
|
+
/* Sonderfall <table>: eine Tabelle ignoriert width:1px/overflow:hidden (Tabellen sind
|
|
22
|
+
mindestens so breit wie ihr Inhalt, overflow gilt nicht für Tabellen-Boxen) - eine
|
|
23
|
+
versteckte Werte-Tabelle (z.B. neben einer Sparkline, siehe js/sparkline.js) blieb per
|
|
24
|
+
Messung ~290px bis mehrere 1000px breit und erzeugte horizontalen Seiten-Überlauf.
|
|
25
|
+
display:block würde es lösen, nimmt der Tabelle aber in einigen Screenreadern die
|
|
26
|
+
Tabellen-Semantik. position:fixed trägt dagegen per Spec nicht zum Scroll-Bereich des
|
|
27
|
+
Dokuments bei (per Test in Chromium + WebKit: kein Überlauf mehr) und lässt Semantik und
|
|
28
|
+
DOM-Lesereihenfolge unverändert. */
|
|
29
|
+
table.ncss-visually-hidden {
|
|
30
|
+
position: fixed;
|
|
31
|
+
inset-block-start: 0;
|
|
32
|
+
inset-inline-start: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Wie .ncss-visually-hidden, aber wird bei Tastatur-Fokus wieder sichtbar - für Links/
|
|
36
|
+
Buttons, die nur für Tastaturnutzer relevant sind, sonst aber optisch stören würden
|
|
37
|
+
(z.B. zusätzliche Sprungmarken innerhalb einer Komponente, nicht die Haupt-Skip-Link). */
|
|
38
|
+
.ncss-visually-hidden-focusable:not(:focus):not(:focus-within) {
|
|
39
|
+
position: absolute;
|
|
40
|
+
width: 1px;
|
|
41
|
+
height: 1px;
|
|
42
|
+
padding: 0;
|
|
43
|
+
margin: -1px;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
clip: rect(0, 0, 0, 0);
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
border: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* "Skip to content"-Link: unsichtbar bis er per Tastatur fokussiert wird - Pflicht für
|
|
51
|
+
a11y-konforme Seiten mit wiederkehrender Navigation.
|
|
52
|
+
Versteckt per translate (eigene Höhe) statt eines festen negativen Abstands: der frühere
|
|
53
|
+
Wert "top: -3rem" deckte nur die Default-Höhe ab (48px Link bei 48px Abstand, 0,5px
|
|
54
|
+
Reserve) - bei größerer Schrift/Zeilenhöhe im Theme oder bei 200% Textzoom (WCAG 1.4.4)
|
|
55
|
+
ragte der Link sichtbar ins Bild (per Messung 7-10px). translate bezieht sich auf die
|
|
56
|
+
EIGENE Höhe des Links, -100% plus etwas Luft reicht deshalb für jede Schriftgröße. */
|
|
57
|
+
.ncss-skip-link {
|
|
58
|
+
position: absolute;
|
|
59
|
+
inset-block-start: 0;
|
|
60
|
+
inset-inline-start: var(--ncss-space-sm);
|
|
61
|
+
translate: 0 calc(-100% - var(--ncss-space-sm));
|
|
62
|
+
background-color: var(--ncss-color-brand);
|
|
63
|
+
color: var(--ncss-color-brand-contrast);
|
|
64
|
+
padding: var(--ncss-space-2xs) var(--ncss-space-sm);
|
|
65
|
+
border-radius: var(--ncss-radius-sm);
|
|
66
|
+
z-index: 100;
|
|
67
|
+
transition: translate var(--ncss-motion-duration) var(--ncss-motion-easing);
|
|
68
|
+
}
|
|
69
|
+
.ncss-skip-link:focus-visible {
|
|
70
|
+
translate: 0 var(--ncss-space-sm);
|
|
71
|
+
}
|