mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed linter errors
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -34,7 +34,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.4ea16dd0.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.2b4465f4.min.css' | url }}">
|
||||||
{% if config.theme.palette %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@
|
|||||||
-#}
|
-#}
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block extrahead %}
|
{% block extrahead %}
|
||||||
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.b84289b2.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'overrides/assets/stylesheets/main.d9227bb8.min.css' | url }}">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block announce %}
|
{% block announce %}
|
||||||
<a href="https://twitter.com/squidfunk">
|
<a href="https://twitter.com/squidfunk">
|
||||||
|
|||||||
@@ -32,6 +32,6 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: px2rem(24px);
|
width: px2rem(24px);
|
||||||
height: px2rem(24px);
|
height: px2rem(24px);
|
||||||
fill: currentColor;
|
fill: currentcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ kbd {
|
|||||||
|
|
||||||
// Ensure link color in code blocks
|
// Ensure link color in code blocks
|
||||||
a code {
|
a code {
|
||||||
color: currentColor;
|
color: currentcolor;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unformatted content
|
// Unformatted content
|
||||||
|
|||||||
@@ -126,7 +126,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: px2rem(16px);
|
width: px2rem(16px);
|
||||||
height: px2rem(16px);
|
height: px2rem(16px);
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-image: var(--md-footnotes-icon);
|
mask-image: var(--md-footnotes-icon);
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: contain;
|
mask-size: contain;
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
inset-inline-end: px2rem(8px);
|
inset-inline-end: px2rem(8px);
|
||||||
width: px2rem(20px);
|
width: px2rem(20px);
|
||||||
height: px2rem(20px);
|
height: px2rem(20px);
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-image: var(--md-details-icon);
|
mask-image: var(--md-details-icon);
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: contain;
|
mask-size: contain;
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
svg {
|
svg {
|
||||||
width: px2em(18px);
|
width: px2em(18px);
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
fill: currentColor;
|
fill: currentcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
width: px2em(18px);
|
width: px2em(18px);
|
||||||
height: px2em(18px);
|
height: px2em(18px);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-image: var(--md-clipboard-icon);
|
mask-image: var(--md-clipboard-icon);
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: contain;
|
mask-size: contain;
|
||||||
|
|||||||
@@ -191,7 +191,7 @@
|
|||||||
svg {
|
svg {
|
||||||
max-height: px2rem(16px);
|
max-height: px2rem(16px);
|
||||||
vertical-align: -25%;
|
vertical-align: -25%;
|
||||||
fill: currentColor;
|
fill: currentcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
padding: px2em(10px) px2em(32px);
|
padding: px2em(10px) px2em(32px);
|
||||||
color: var(--md-primary-fg-color);
|
color: var(--md-primary-fg-color);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
border: px2rem(2px) solid currentColor;
|
border: px2rem(2px) solid currentcolor;
|
||||||
border-radius: px2rem(2px);
|
border-radius: px2rem(2px);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition:
|
transition:
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
margin: px2rem(4px);
|
margin: px2rem(4px);
|
||||||
padding: px2rem(8px);
|
padding: px2rem(8px);
|
||||||
color: currentColor;
|
color: currentcolor;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
outline-color: var(--md-accent-fg-color);
|
outline-color: var(--md-accent-fg-color);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: px2rem(24px);
|
height: px2rem(24px);
|
||||||
fill: currentColor;
|
fill: currentcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: px2rem(48px);
|
height: px2rem(48px);
|
||||||
fill: currentColor;
|
fill: currentcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
mask-image: var(--md-toc-icon);
|
mask-image: var(--md-toc-icon);
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hide table of contents
|
// Hide table of contents
|
||||||
@@ -213,7 +213,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-image: var(--md-nav-icon--prev);
|
mask-image: var(--md-nav-icon--prev);
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: contain;
|
mask-size: contain;
|
||||||
@@ -292,7 +292,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-image: var(--md-nav-icon--next);
|
mask-image: var(--md-nav-icon--next);
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: contain;
|
mask-size: contain;
|
||||||
@@ -548,7 +548,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
vertical-align: px2rem(-2px);
|
vertical-align: px2rem(-2px);
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-image: var(--md-nav-icon--next);
|
mask-image: var(--md-nav-icon--next);
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: contain;
|
mask-size: contain;
|
||||||
|
|||||||
@@ -643,7 +643,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-image: var(--md-search-result-icon);
|
mask-image: var(--md-search-result-icon);
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: contain;
|
mask-size: contain;
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
height: px2rem(12px);
|
height: px2rem(12px);
|
||||||
margin-inline-end: px2rem(2px);
|
margin-inline-end: px2rem(2px);
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: contain;
|
mask-size: contain;
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
width: px2rem(8px);
|
width: px2rem(8px);
|
||||||
height: px2rem(12px);
|
height: px2rem(12px);
|
||||||
margin-inline-start: px2rem(8px);
|
margin-inline-start: px2rem(8px);
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
mask-image: var(--md-version-icon);
|
mask-image: var(--md-version-icon);
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
a,
|
a,
|
||||||
a:focus,
|
a:focus,
|
||||||
a:hover {
|
a:hover {
|
||||||
color: currentColor;
|
color: currentcolor;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't wrap name of blog article
|
// Don't wrap name of blog article
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
// Hero headline
|
// Hero headline
|
||||||
h1 {
|
h1 {
|
||||||
margin-bottom: px2rem(20px);
|
margin-bottom: px2rem(20px);
|
||||||
color: currentColor;
|
color: currentcolor;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
||||||
// [mobile portrait -]: Larger hero headline
|
// [mobile portrait -]: Larger hero headline
|
||||||
|
|||||||
Reference in New Issue
Block a user