1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 12:01:17 -04:00

fix some stylelint'ing

This commit is contained in:
2021-10-11 17:49:32 -04:00
parent de1d6f1ec6
commit 50a3c1d5a4
5 changed files with 44 additions and 16 deletions

View File

@@ -24,6 +24,7 @@
display: inline-block;
animation: loading 1.5s infinite ease-in-out both;
// stylelint-disable rule-empty-line-before
&:nth-child(1) {
animation-delay: -0.32s;
}
@@ -33,12 +34,14 @@
&:nth-child(3) {
animation-delay: 0s;
}
// stylelint-enable rule-empty-line-before
@include themes.themed(background-color, "medium-light");
}
}
@keyframes wave {
// stylelint-disable rule-empty-line-before
0% {
transform: rotate(0deg);
}
@@ -64,9 +67,11 @@
100% {
transform: rotate(0deg);
}
// stylelint-enable rule-empty-line-before
}
@keyframes beat {
// stylelint-disable rule-empty-line-before
0% {
transform: scale(1);
}
@@ -86,9 +91,11 @@
100% {
transform: scale(1);
}
// stylelint-enable rule-empty-line-before
}
@keyframes loading {
// stylelint-disable rule-empty-line-before
0%,
80%,
100% {
@@ -97,6 +104,7 @@
40% {
transform: scale(0.6);
}
// stylelint-enable rule-empty-line-before
}
// https://web.dev/prefers-reduced-motion/#(bonus)-forcing-reduced-motion-on-all-websites

View File

@@ -105,6 +105,6 @@ div#content {
}
// Responsive
// stylelint-disable-next-line block-no-empty
@mixin responsive() {
// stylelint-disable-block block-no-empty
}

View File

@@ -22,6 +22,8 @@ code {
margin: 0 0.075em !important;
padding: 0 !important;
}
// same as above but different font weight for big titles
h1.title code {
font-weight: 600;
}
@@ -80,6 +82,7 @@ div.highlight-clipboard-enabled {
overflow: auto;
display: block;
}
// columns
.lntd {
vertical-align: top;
@@ -92,16 +95,19 @@ div.highlight-clipboard-enabled {
padding-right: 1em;
}
}
// line numbers
.ln,
.lnt {
user-select: none;
}
.gh,
.gi,
.gu {
font-weight: bold;
}
.kd,
//.nb,
//.nl,
@@ -112,6 +118,7 @@ div.highlight-clipboard-enabled {
.ge {
font-style: italic;
}
.gl {
text-decoration: underline;
}
@@ -144,6 +151,7 @@ body.light {
.no {
color: #029cb9;
}
.na,
.nc,
.nd,
@@ -152,12 +160,14 @@ body.light {
.nx {
color: #70a800;
}
.nt,
.o,
.ow,
.kn {
color: #f92672;
}
.l,
.se,
.m,
@@ -169,6 +179,7 @@ body.light {
.mo {
color: #ae81ff;
}
.ld,
.s,
.sa,
@@ -185,6 +196,7 @@ body.light {
.ss {
color: #d88200;
}
.c,
.ch,
.cm,
@@ -194,6 +206,7 @@ body.light {
.cpf {
color: #75715e;
}
.lnt {
color: #8a8a8a;
}
@@ -227,6 +240,7 @@ body.dark {
.no {
color: #3b9dd2;
}
.na,
.nc,
.nd,
@@ -235,12 +249,14 @@ body.dark {
.nx {
color: #78df55;
}
.nt,
.o,
.ow,
.kn {
color: #f95757;
}
.l,
.se,
.m,
@@ -252,6 +268,7 @@ body.dark {
.mo {
color: #d588fb;
}
.ld,
.s,
.sa,
@@ -268,6 +285,7 @@ body.dark {
.ss {
color: #fd992a;
}
.c,
.ch,
.cm,
@@ -277,6 +295,7 @@ body.dark {
.cpf {
color: #929292;
}
.lnt {
color: #b1b1b1;
}

View File

@@ -21,6 +21,6 @@ div.layout-404 {
}
// Responsive
// stylelint-disable-next-line block-no-empty
@mixin responsive() {
// stylelint-disable-block block-no-empty
}

View File

@@ -996,10 +996,10 @@
"@octokit/types" "^6.0.3"
universal-user-agent "^6.0.0"
"@octokit/openapi-types@^11.1.0":
version "11.1.0"
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-11.1.0.tgz#3c0d2d844b876314ad49d7f3d03eed4953038272"
integrity sha512-dWZfYvCCdjZzDYA3lIAMF72Q0jld8xidqCq5Ryw09eBJXZdcM6he0vWBTvw/b5UnGYqexxOyHWgfrsTlUJL3Gw==
"@octokit/openapi-types@^11.2.0":
version "11.2.0"
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-11.2.0.tgz#b38d7fc3736d52a1e96b230c1ccd4a58a2f400a6"
integrity sha512-PBsVO+15KSlGmiI8QAzaqvsNlZlrDlyAJYcrXBCvVUxCp7VnXjkwPoFHgjEJXx3WF9BAwkA6nfCUA7i9sODzKA==
"@octokit/request-error@^2.1.0":
version "2.1.0"
@@ -1023,11 +1023,11 @@
universal-user-agent "^6.0.0"
"@octokit/types@^6.0.3", "@octokit/types@^6.16.1":
version "6.33.0"
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.33.0.tgz#7e5e664d65e88b74b6de76f328b80a344bef3f86"
integrity sha512-0zffZ048M0UhthyPXQHLz4038Ak46nMWZXkzlXvXB/M/L1jYPBceq4iZj4qjKVrvveaJrrgKdJ9+3yUuITfcCw==
version "6.34.0"
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.34.0.tgz#c6021333334d1ecfb5d370a8798162ddf1ae8218"
integrity sha512-s1zLBjWhdEI2zwaoSgyOFoKSl109CUcVBCc7biPJ3aAf6LGLU6szDvi31JPU7bxfla2lqfhjbbg/5DdFNxOwHw==
dependencies:
"@octokit/openapi-types" "^11.1.0"
"@octokit/openapi-types" "^11.2.0"
"@sentry/core@6.13.3":
version "6.13.3"
@@ -2918,9 +2918,9 @@ css-tree@^1.1.2, css-tree@^1.1.3:
source-map "^0.6.1"
css-what@^5.0.0:
version "5.0.1"
resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.0.1.tgz#3efa820131f4669a8ac2408f9c32e7c7de9f4cad"
integrity sha512-FYDTSHb/7KXsWICVsxdmiExPjCfRC4qRFBdVwv7Ax9hMnvMmEjP9RfxTEZ3qPZGmADDn2vAKSo9UcN1jKVYscg==
version "5.1.0"
resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.1.0.tgz#3f7b707aadf633baf62c2ceb8579b545bb40f7fe"
integrity sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw==
cssesc@^3.0.0:
version "3.0.0"
@@ -3653,11 +3653,12 @@ eslint-import-resolver-node@^0.3.6:
resolve "^1.20.0"
eslint-module-utils@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.6.2.tgz#94e5540dd15fe1522e8ffa3ec8db3b7fa7e7a534"
integrity sha512-QG8pcgThYOuqxupd06oYTZoNOGaUdTY1PqK+oS6ElF6vs4pBdk/aYxFVQQXzcrAqp9m7cl7lb2ubazX+g16k2Q==
version "2.7.0"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.0.tgz#9e97c12688113401259b39d960e6a1f09f966435"
integrity sha512-hqSE88MmHl3ru9SYvDyGrlo0JwROlf9fiEMplEV7j/EAuq9iSlIlyCFbBT6pdULQBSnBYtYKiMLps+hKkyP7Gg==
dependencies:
debug "^3.2.7"
find-up "^2.1.0"
pkg-dir "^2.0.0"
eslint-plugin-compat@~3.13.0: