1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-27 17:00:54 +01:00

Fixed linter errors

This commit is contained in:
squidfunk 2023-09-20 14:40:37 +02:00
parent 289ae0c8ef
commit 5c8bb4ea2b
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
3 changed files with 8 additions and 8 deletions

View File

@ -57,8 +57,8 @@
// Hero headline
h1 {
margin-bottom: px2rem(20px);
color: currentcolor;
font-weight: 700;
color: currentcolor;
// [mobile portrait -]: Larger hero headline
@include break-to-device(mobile portrait) {
@ -79,8 +79,8 @@
// Adjust spacing and set dimensions
&__content {
max-width: px2rem(380px);
margin-top: px2rem(70px);
padding-bottom: 14vw;
margin-top: px2rem(70px);
}
// Hero image

View File

@ -88,27 +88,27 @@
position: absolute;
top: px2rem(8px);
right: px2rem(12px);
color: var(--md-default-fg-color--lighter);
font-size: px2rem(12.8px);
color: var(--md-default-fg-color--lighter);
}
// Icon search result list
&__list {
padding: 0;
margin: 0;
// Hack: necessary because of increased specificity due to the PostCSS
// plugin which prefixes this with `[dir=...]` selectors.
margin-inline-start: 0;
padding: 0;
list-style: none;
}
// Icon search result item
&__item {
padding: px2rem(4px) px2rem(12px);
margin: 0;
// Hack: necessary because of increased specificity due to the PostCSS
// plugin which prefixes this with `[dir=...]` selectors.
margin-inline-start: 0;
padding: px2rem(4px) px2rem(12px);
border-bottom: px2rem(1px) solid var(--md-default-fg-color--lightest);
// Omit border on last child

View File

@ -79,10 +79,10 @@
margin: px2rem(4px);
overflow: hidden;
border-radius: 100%;
transform: scale(1);
transition:
color 125ms,
transform 125ms;
transform: scale(1);
// Sponsor item on focus/hover
&:is(:focus, :hover) {
@ -96,10 +96,10 @@
// Private sponsor
&--private {
color: var(--md-default-fg-color--lighter);
font-weight: 700;
font-size: px2rem(12px);
font-weight: 700;
line-height: px2rem(32px);
color: var(--md-default-fg-color--lighter);
text-align: center;
background: var(--md-default-fg-color--lightest);
}