mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved readability of version warning for slate color scheme
This commit is contained in:
parent
3b6c142958
commit
981ee65498
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.ffa9267a.min.css
vendored
Normal file
1
material/assets/stylesheets/main.ffa9267a.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.ffa9267a.min.css.map
Normal file
1
material/assets/stylesheets/main.ffa9267a.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -40,7 +40,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f1b09aa2.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.ffa9267a.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.a0c5b2b5.min.css' | url }}">
|
||||
@ -120,7 +120,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if config.extra.version %}
|
||||
<div data-md-component="outdated" hidden>
|
||||
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
||||
{% if self.outdated() %}
|
||||
<aside class="md-banner md-banner--warning">
|
||||
<div class="md-banner__inner md-grid md-typeset">
|
||||
|
@ -111,6 +111,10 @@
|
||||
--md-admonition-fg-color: var(--md-default-fg-color);
|
||||
--md-admonition-bg-color: var(--md-default-bg-color);
|
||||
|
||||
// Warning color shades
|
||||
--md-warning-fg-color: hsla(0, 0%, 0%, 0.87);
|
||||
--md-warning-bg-color: hsla(60, 100%, 80%, 1);
|
||||
|
||||
// Footer color shades
|
||||
--md-footer-fg-color: hsla(0, 0%, 100%, 1);
|
||||
--md-footer-fg-color--light: hsla(0, 0%, 100%, 0.7);
|
||||
|
@ -37,8 +37,8 @@
|
||||
|
||||
// Banner with warning
|
||||
&--warning {
|
||||
color: var(--md-default-fg-color);
|
||||
background: var(--md-typeset-mark-color);
|
||||
color: var(--md-warning-fg-color);
|
||||
background-color: var(--md-warning-bg-color);
|
||||
}
|
||||
|
||||
// Banner wrapper
|
||||
|
@ -239,7 +239,7 @@
|
||||
|
||||
<!-- Version warning -->
|
||||
{% if config.extra.version %}
|
||||
<div data-md-component="outdated" hidden>
|
||||
<div data-md-color-scheme="default" data-md-component="outdated" hidden>
|
||||
{% if self.outdated() %}
|
||||
<aside class="md-banner md-banner--warning">
|
||||
<div class="md-banner__inner md-grid md-typeset">
|
||||
|
Loading…
Reference in New Issue
Block a user