You've already forked no-js-hugo-theme
update asciinema-player 3.9.0 -> 3.10.0
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
|||||||
ASCIINEMA_VERSION=3.9.0
|
ASCIINEMA_VERSION=3.10.0
|
||||||
|
|
||||||
.PHONY: update-asciinema
|
.PHONY: update-asciinema
|
||||||
update-asciinema:
|
update-asciinema:
|
||||||
|
30
assets/vendor/asciinema/asciinema-player.css
vendored
30
assets/vendor/asciinema/asciinema-player.css
vendored
@@ -451,7 +451,7 @@ div.ap-player div.ap-control-bar {
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.15s linear;
|
transition: opacity 0.15s linear;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
border-top: 2px solid color-mix(in oklab, black 33%, var(--term-color-background));
|
border-top: 2px solid color-mix(in oklab, var(--term-color-background) 80%, var(--term-color-foreground));
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
}
|
}
|
||||||
div.ap-player div.ap-control-bar * {
|
div.ap-player div.ap-control-bar * {
|
||||||
@@ -711,8 +711,6 @@ span.ap-marker-container:hover span.ap-marker {
|
|||||||
max-height: 85%;
|
max-height: 85%;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: var(--term-color-foreground);
|
color: var(--term-color-foreground);
|
||||||
background-color: var(--term-color-background);
|
|
||||||
border-radius: 6px;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
}
|
}
|
||||||
@@ -728,6 +726,9 @@ span.ap-marker-container:hover span.ap-marker {
|
|||||||
.ap-player .ap-overlay-help > div div {
|
.ap-player .ap-overlay-help > div div {
|
||||||
padding: calc(min(4cqw, 40px));
|
padding: calc(min(4cqw, 40px));
|
||||||
font-size: calc(min(1.9cqw, 18px));
|
font-size: calc(min(1.9cqw, 18px));
|
||||||
|
background-color: var(--term-color-background);
|
||||||
|
border: 1px solid color-mix(in oklab, var(--term-color-background) 90%, var(--term-color-foreground));
|
||||||
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
.ap-player .ap-overlay-help > div div p {
|
.ap-player .ap-overlay-help > div div p {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -2363,3 +2364,26 @@ span.ap-marker-container:hover span.ap-marker {
|
|||||||
--term-color-14: #34e2e2;
|
--term-color-14: #34e2e2;
|
||||||
--term-color-15: #eeeeec;
|
--term-color-15: #eeeeec;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
Based on gruvbox: https://github.com/morhetz/gruvbox
|
||||||
|
*/
|
||||||
|
.asciinema-player-theme-gruvbox-dark {
|
||||||
|
--term-color-foreground: #fbf1c7;
|
||||||
|
--term-color-background: #282828;
|
||||||
|
--term-color-0: #282828;
|
||||||
|
--term-color-1: #cc241d;
|
||||||
|
--term-color-2: #98971a;
|
||||||
|
--term-color-3: #d79921;
|
||||||
|
--term-color-4: #458588;
|
||||||
|
--term-color-5: #b16286;
|
||||||
|
--term-color-6: #689d6a;
|
||||||
|
--term-color-7: #a89984;
|
||||||
|
--term-color-8: #7c6f65;
|
||||||
|
--term-color-9: #fb4934;
|
||||||
|
--term-color-10: #b8bb26;
|
||||||
|
--term-color-11: #fabd2f;
|
||||||
|
--term-color-12: #83a598;
|
||||||
|
--term-color-13: #d3869b;
|
||||||
|
--term-color-14: #8ec07c;
|
||||||
|
--term-color-15: #fbf1c7;
|
||||||
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user