mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Only directly show shadow on header, in case JS is not available
This commit is contained in:
parent
33616c7deb
commit
53e1977c65
1
material/assets/stylesheets/application-5ea1192909.css
Normal file
1
material/assets/stylesheets/application-5ea1192909.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -45,7 +45,7 @@
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-d548d09cd7.css">
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-5ea1192909.css">
|
||||
{% if config.extra.palette %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
|
||||
{% endif %}
|
||||
|
@ -26,8 +26,6 @@
|
||||
|
||||
// Application header (stays always on top)
|
||||
.md-header {
|
||||
// @include z-depth(2);
|
||||
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
@ -38,6 +36,11 @@
|
||||
color: $md-color-white;
|
||||
z-index: 1;
|
||||
|
||||
// Always show shadow, in case JavaScript is not available
|
||||
.no-js & {
|
||||
@include z-depth(2);
|
||||
}
|
||||
|
||||
// Hide for print
|
||||
@media print {
|
||||
display: none;
|
||||
|
Loading…
Reference in New Issue
Block a user