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:
parent
289ae0c8ef
commit
5c8bb4ea2b
@ -57,8 +57,8 @@
|
|||||||
// Hero headline
|
// Hero headline
|
||||||
h1 {
|
h1 {
|
||||||
margin-bottom: px2rem(20px);
|
margin-bottom: px2rem(20px);
|
||||||
color: currentcolor;
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: currentcolor;
|
||||||
|
|
||||||
// [mobile portrait -]: Larger hero headline
|
// [mobile portrait -]: Larger hero headline
|
||||||
@include break-to-device(mobile portrait) {
|
@include break-to-device(mobile portrait) {
|
||||||
@ -79,8 +79,8 @@
|
|||||||
// Adjust spacing and set dimensions
|
// Adjust spacing and set dimensions
|
||||||
&__content {
|
&__content {
|
||||||
max-width: px2rem(380px);
|
max-width: px2rem(380px);
|
||||||
margin-top: px2rem(70px);
|
|
||||||
padding-bottom: 14vw;
|
padding-bottom: 14vw;
|
||||||
|
margin-top: px2rem(70px);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hero image
|
// Hero image
|
||||||
|
@ -88,27 +88,27 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: px2rem(8px);
|
top: px2rem(8px);
|
||||||
right: px2rem(12px);
|
right: px2rem(12px);
|
||||||
color: var(--md-default-fg-color--lighter);
|
|
||||||
font-size: px2rem(12.8px);
|
font-size: px2rem(12.8px);
|
||||||
|
color: var(--md-default-fg-color--lighter);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Icon search result list
|
// Icon search result list
|
||||||
&__list {
|
&__list {
|
||||||
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
// Hack: necessary because of increased specificity due to the PostCSS
|
// Hack: necessary because of increased specificity due to the PostCSS
|
||||||
// plugin which prefixes this with `[dir=...]` selectors.
|
// plugin which prefixes this with `[dir=...]` selectors.
|
||||||
margin-inline-start: 0;
|
margin-inline-start: 0;
|
||||||
padding: 0;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Icon search result item
|
// Icon search result item
|
||||||
&__item {
|
&__item {
|
||||||
|
padding: px2rem(4px) px2rem(12px);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
// Hack: necessary because of increased specificity due to the PostCSS
|
// Hack: necessary because of increased specificity due to the PostCSS
|
||||||
// plugin which prefixes this with `[dir=...]` selectors.
|
// plugin which prefixes this with `[dir=...]` selectors.
|
||||||
margin-inline-start: 0;
|
margin-inline-start: 0;
|
||||||
padding: px2rem(4px) px2rem(12px);
|
|
||||||
border-bottom: px2rem(1px) solid var(--md-default-fg-color--lightest);
|
border-bottom: px2rem(1px) solid var(--md-default-fg-color--lightest);
|
||||||
|
|
||||||
// Omit border on last child
|
// Omit border on last child
|
||||||
|
@ -79,10 +79,10 @@
|
|||||||
margin: px2rem(4px);
|
margin: px2rem(4px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
transform: scale(1);
|
|
||||||
transition:
|
transition:
|
||||||
color 125ms,
|
color 125ms,
|
||||||
transform 125ms;
|
transform 125ms;
|
||||||
|
transform: scale(1);
|
||||||
|
|
||||||
// Sponsor item on focus/hover
|
// Sponsor item on focus/hover
|
||||||
&:is(:focus, :hover) {
|
&:is(:focus, :hover) {
|
||||||
@ -96,10 +96,10 @@
|
|||||||
|
|
||||||
// Private sponsor
|
// Private sponsor
|
||||||
&--private {
|
&--private {
|
||||||
color: var(--md-default-fg-color--lighter);
|
|
||||||
font-weight: 700;
|
|
||||||
font-size: px2rem(12px);
|
font-size: px2rem(12px);
|
||||||
|
font-weight: 700;
|
||||||
line-height: px2rem(32px);
|
line-height: px2rem(32px);
|
||||||
|
color: var(--md-default-fg-color--lighter);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: var(--md-default-fg-color--lightest);
|
background: var(--md-default-fg-color--lightest);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user