Fixed new table styles in dark mode

This commit is contained in:
squidfunk 2021-08-08 09:40:51 +02:00
parent f0615fe1e0
commit e518348b8b
10 changed files with 13 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -39,10 +39,10 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.75c97395.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f7f47774.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.ba0d045b.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.3f5d1f46.min.css' | url }}">
{% if palette.primary %}
{% import "partials/palette.html" as map %}
{% set primary = map.primary(

View File

@ -498,7 +498,7 @@ kbd {
font-size: px2rem(12.8px);
background-color: var(--md-default-bg-color);
border: px2rem(1px) solid var(--md-typeset-table-color);
border-radius: px2rem(4px);
border-radius: px2rem(2px);
touch-action: auto;
// [print]: Reset display mode so table header wraps when printing
@ -586,7 +586,7 @@ kbd {
width: 1.2em;
height: 1.2em;
margin-left: 0.5em;
vertical-align: sub;
vertical-align: text-bottom;
mask-image: var(--md-typeset-table-sort-icon);
mask-repeat: no-repeat;
mask-size: contain;

View File

@ -78,6 +78,9 @@
--md-typeset-kbd-accent-color: hsla(var(--md-hue), 15%, 94%, 0.2);
--md-typeset-kbd-border-color: hsla(var(--md-hue), 15%, 14%, 1);
// Typeset `table` color shades
--md-typeset-table-color: hsla(var(--md-hue), 75%, 95%, 0.12);
// Admonition color shades
--md-admonition-bg-color: hsla(var(--md-hue), 0%, 100%, 0.025);