mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:37:52 +03:00
font struggling
This commit is contained in:
@@ -8,6 +8,38 @@
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "DSEG14 Classic";
|
||||
src: url("assets/fonts/DSEG14Classic-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "DSEG14 Modern";
|
||||
src: url("assets/fonts/DSEG14Modern-Regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "DS-Digital";
|
||||
src: url("assets/fonts/DS-Digital.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Digital-7 Mono Italic";
|
||||
src: url("assets/fonts/digital-7-mono-italic.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
.hub-page {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
@@ -315,7 +347,7 @@
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: "Clockopia", "DS-Digital", "Consolas", monospace;
|
||||
font-family: "DSEG14 Classic", "Consolas", monospace;
|
||||
}
|
||||
|
||||
.cw-clock-inner {
|
||||
@@ -404,7 +436,7 @@
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
font-family: "Clockopia", "DS-Digital", "Consolas", monospace;
|
||||
font-family: "DSEG14 Classic", "Consolas", monospace;
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: #d8f6b8;
|
||||
text-shadow: 0 0 10px rgba(190, 240, 150, 0.42);
|
||||
@@ -496,6 +528,11 @@
|
||||
filter: drop-shadow(0 0 5px rgba(190, 240, 150, 0.38));
|
||||
}
|
||||
|
||||
.ot-glyph .lcd-active,
|
||||
.ot-glyph path {
|
||||
fill: #d8f6b8;
|
||||
}
|
||||
|
||||
.ot-fallback-char {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
@@ -532,7 +569,7 @@
|
||||
letter-spacing: 0.16em;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
font-family: "Clockopia", "Consolas", monospace;
|
||||
font-family: "DSEG14 Classic", "Consolas", monospace;
|
||||
}
|
||||
|
||||
.cw-line-date {
|
||||
@@ -541,7 +578,7 @@
|
||||
letter-spacing: 0.12em;
|
||||
font-weight: 400;
|
||||
text-transform: uppercase;
|
||||
font-family: "Clockopia", "Consolas", monospace;
|
||||
font-family: "DSEG14 Classic", "Consolas", monospace;
|
||||
}
|
||||
|
||||
.cw-separator {
|
||||
@@ -591,7 +628,7 @@
|
||||
letter-spacing: 0.12em;
|
||||
margin-top: 0;
|
||||
margin-bottom: 8px;
|
||||
font-family: "Clockopia", "Consolas", monospace;
|
||||
font-family: "DSEG14 Classic", "Consolas", monospace;
|
||||
}
|
||||
|
||||
.cw-dial {
|
||||
@@ -632,6 +669,26 @@
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
html[data-clock-font="dseg14-modern"] .hub-clock-widget,
|
||||
html[data-clock-font="dseg14-modern"] .cw-lcd-text {
|
||||
font-family: "DSEG14 Modern", "Consolas", monospace;
|
||||
}
|
||||
|
||||
html[data-clock-font="ds-digital"] .hub-clock-widget,
|
||||
html[data-clock-font="ds-digital"] .cw-lcd-text {
|
||||
font-family: "DS-Digital", "Consolas", monospace;
|
||||
}
|
||||
|
||||
html[data-clock-font="digital-7-mono-italic"] .hub-clock-widget,
|
||||
html[data-clock-font="digital-7-mono-italic"] .cw-lcd-text {
|
||||
font-family: "Digital-7 Mono Italic", "Consolas", monospace;
|
||||
}
|
||||
|
||||
.cw-lcd-text {
|
||||
font-family: "DSEG14 Classic", "Consolas", monospace;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.cw-resize-handle {
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
@@ -645,7 +702,7 @@
|
||||
color: rgba(220, 236, 255, 0.9);
|
||||
filter: drop-shadow(0 0 4px rgba(150, 200, 255, 0.35));
|
||||
pointer-events: auto;
|
||||
background: rgba(226, 34, 34, 0.5);
|
||||
background: transparent;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user