mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Better tints for source inside drawer + lighter footer credits
This commit is contained in:
parent
3222ec5a6e
commit
5ee95e4fe2
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/application-b696a01fff.css
Normal file
1
material/assets/stylesheets/application-b696a01fff.css
Normal file
File diff suppressed because one or more lines are too long
@ -36,9 +36,9 @@
|
|||||||
{% include "partials/fonts.html" %}
|
{% include "partials/fonts.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-90d5840206.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-b696a01fff.css">
|
||||||
{% if config.extra.palette %}
|
{% if config.extra.palette %}
|
||||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-535e87ca3f.palette.css">
|
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-4bd030561c.palette.css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for path in extra_css %}
|
{% for path in extra_css %}
|
||||||
<link rel="stylesheet" href="{{ path }}">
|
<link rel="stylesheet" href="{{ path }}">
|
||||||
|
@ -102,6 +102,30 @@ button[data-md-color-accent] {
|
|||||||
background-color: $color;
|
background-color: $color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Current or hovered link
|
||||||
|
.md-nav__link:active,
|
||||||
|
.md-nav__link--active {
|
||||||
|
color: $color;
|
||||||
|
}
|
||||||
|
|
||||||
|
// [tablet portrait -]: Layered navigation
|
||||||
|
@include break-to-device(tablet portrait) {
|
||||||
|
|
||||||
|
// Repository containing source
|
||||||
|
.md-nav__source {
|
||||||
|
background-color: mix($color, $md-color-black, 75%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// [tablet -]: Layered navigation
|
||||||
|
@include break-to-device(tablet) {
|
||||||
|
|
||||||
|
// Site title in main navigation
|
||||||
|
html & .md-nav--primary .md-nav__title--site {
|
||||||
|
background-color: $color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// [tablet landscape +]: Add border to table of contents
|
// [tablet landscape +]: Add border to table of contents
|
||||||
@include break-from-device(tablet landscape) {
|
@include break-from-device(tablet landscape) {
|
||||||
|
|
||||||
@ -110,12 +134,6 @@ button[data-md-color-accent] {
|
|||||||
border-left: 0.4rem solid $color;
|
border-left: 0.4rem solid $color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Current or hovered link
|
|
||||||
.md-nav__link:active,
|
|
||||||
.md-nav__link--active {
|
|
||||||
color: $color;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
|
|
||||||
// Use a decent color for non-hovered links and ensure specificity
|
// Use a decent color for non-hovered links and ensure specificity
|
||||||
html &.md-typeset a {
|
html &.md-typeset a {
|
||||||
color: $md-color-white--lighter;
|
color: $md-color-white--light;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -130,7 +130,7 @@
|
|||||||
.md-footer-copyright {
|
.md-footer-copyright {
|
||||||
margin: 0 1.2rem;
|
margin: 0 1.2rem;
|
||||||
padding: 0.8rem 0;
|
padding: 0.8rem 0;
|
||||||
color: $md-color-white--lightest;
|
color: $md-color-white--lighter;
|
||||||
font-size: ms(-1);
|
font-size: ms(-1);
|
||||||
|
|
||||||
// [tablet portrait +]: Show next to social media links
|
// [tablet portrait +]: Show next to social media links
|
||||||
|
@ -363,7 +363,7 @@
|
|||||||
&__source {
|
&__source {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.4rem;
|
padding: 0.4rem;
|
||||||
background-color: darken($md-color-primary, 10%);
|
background-color: mix($md-color-primary, $md-color-black, 75%);
|
||||||
color: $md-color-white;
|
color: $md-color-white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user