Skip to content

Commit

Permalink
Update stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
zodern committed Oct 7, 2024
1 parent 2ac274a commit 36f139d
Show file tree
Hide file tree
Showing 6 changed files with 549 additions and 2,398 deletions.
5 changes: 4 additions & 1 deletion docs/.stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"ignoreFiles": [
"css/tocbot.css",
"css/highlight.css"
]
],
"rules": {
"media-feature-range-notation": null
}
}
2 changes: 1 addition & 1 deletion docs/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ body {
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background-color: #1c2126;
background-image: url(../imgs/space-bg-shadowcodex.jpg);
background-image: url("../imgs/space-bg-shadowcodex.jpg");
background-attachment: fixed;
background-size: cover;
color: white;
Expand Down
14 changes: 7 additions & 7 deletions docs/css/docs.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#docs-head {
padding-top: 50px;
display: flex;
background-color: rgba(28, 33, 38, 0.3);
background-color: rgb(28 33 38 / 30%);
height: 100px;
align-items: center;
justify-content: center;
Expand All @@ -14,7 +14,7 @@
}

.docs-wrapper {
background: rgba(28, 33, 38, 1);
background: rgb(28 33 38 / 100%);
display: flex;
flex-direction: row-reverse;
}
Expand All @@ -24,7 +24,7 @@
min-width: 250px;
padding: 0 50px;
margin: 0 auto;
background: rgba(28, 33, 38, 1);
background: rgb(28 33 38 / 100%);
}

.docs-content h2 {
Expand Down Expand Up @@ -99,7 +99,7 @@

a.toc-link {
text-decoration: none;
color: rgba(256, 256, 256, 0.8);
color: rgb(256 256 256 / 80%);
}

.is-active-link {
Expand Down Expand Up @@ -147,7 +147,7 @@ a.toc-link {
.docs-content table td {
padding: 10px 5px;
font-size: 14px;
border-bottom: 1px solid rgba(256, 256, 256, 0.2);
border-bottom: 1px solid rgb(256 256 256 / 20%);
}

.docs-content table tr:last-child td {
Expand Down Expand Up @@ -179,7 +179,7 @@ a.toc-link {
width: 100%;
text-align: center;
cursor: pointer;
background: rgba(28, 33, 38, 1);
background: rgb(28 33 38 / 100%);
}

.docs-nav-wrapper .close {
Expand All @@ -192,7 +192,7 @@ a.toc-link {
width: 30px;
height: 30px;
z-index: 15;
background: rgba(0, 0, 0, 0.5);
background: rgb(0 0 0 / 50%);
padding: 6px;
cursor: pointer;
}
Expand Down
6 changes: 3 additions & 3 deletions docs/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
vertical-align: top;
height: 140px;
background: white;
color: rgb(28, 31, 35);
color: rgb(28 31 35);
border-radius: 1px;
padding: 20px;
margin: 0 20px 20px 0;
Expand Down Expand Up @@ -48,7 +48,7 @@
justify-content: center;
align-items: center;
flex-direction: column;
background: linear-gradient(180deg, rgba(27, 27, 27, 0) 0%, rgba(28, 31, 35, 0.79) 71.75%, rgb(28, 33, 38) 100%);
background: linear-gradient(180deg, rgb(27 27 27 / 0%) 0%, rgb(28 31 35 / 79%) 71.75%, rgb(28 33 38) 100%);
}

#hero .content {
Expand Down Expand Up @@ -126,7 +126,7 @@
#community {
padding: 50px 100px 100px;
background: #ffffffa1;
color: rgb(28, 31, 35);
color: rgb(28 31 35);
}

#community .content {
Expand Down
Loading

0 comments on commit 36f139d

Please sign in to comment.