Updated documentation

This commit is contained in:
squidfunk
2021-11-07 18:23:01 +01:00
parent 21744972ff
commit 5606b06153
22 changed files with 359 additions and 338 deletions

View File

@@ -139,7 +139,7 @@ export function mountSponsorship(
total.innerText = `$ ${sponsorship.total
.toString()
.replace(/\B(?=(\d{3})+(?!\d))/g, ",")
}`
} a month`
})
// /* Create and return component */

View File

@@ -38,7 +38,7 @@
// Premium sponsor image
img {
height: px2rem(60px);
height: px2rem(65px);
}
// Premium sponsor list
@@ -51,14 +51,6 @@
> a {
display: block;
flex-shrink: 0;
padding: px2rem(10px) px2rem(20px);
transition: transform 125ms;
// Premium sponsor item on focus/hover
&:focus,
&:hover {
transform: scale(1.1);
}
}
}
}
@@ -82,8 +74,8 @@
&__item {
display: block;
float: left;
width: px2rem(60px);
height: px2rem(60px);
width: px2rem(32px);
height: px2rem(32px);
margin: px2rem(4px);
overflow: hidden;
border-radius: 100%;
@@ -107,8 +99,8 @@
&--private {
color: var(--md-default-fg-color--lighter);
font-weight: 700;
font-size: px2rem(24px);
line-height: px2rem(60px);
font-size: px2rem(12px);
line-height: px2rem(32px);
text-align: center;
background: var(--md-default-fg-color--lightest);
}