Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
curegit committed Oct 21, 2023
1 parent 14109b0 commit 45287e4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
22 changes: 17 additions & 5 deletions assets/article.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main h1 {
text-align: center;
color: #000000b5;
font-size: 1.05em;
text-decoration: underline;
text-decoration-line: underline;
text-underline-offset: 4px;
}

Expand Down Expand Up @@ -86,15 +86,19 @@ main h1 {
}

.single a {
text-decoration: underline;
text-decoration-line: underline;
}

.single a:has(code) {
text-decoration-line: none;
}

.single .toc a {
text-decoration: none;
text-decoration-line: none;
}

.single a:has(code) {
text-decoration: none;
.single .toc a:hover {
text-decoration-line: underline;
}

.single img {
Expand Down Expand Up @@ -198,6 +202,10 @@ main h1 {
font-size: 96%;
}

a.footnote-ref {
text-decoration-line: none;
}

.footnote-ref::before {
display: inline;
content: "[";
Expand All @@ -212,6 +220,10 @@ main h1 {
margin: 16px 0 10px;
}

.single footer a {
text-decoration-line: none;
}

.single .taxonomy-table {
margin: 12px 0;
line-height: 1.5;
Expand Down
12 changes: 8 additions & 4 deletions assets/main.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:root {
--folder-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='rgb(20,170,224)' d='M96.429,37.5v39.286c0,3.423-1.228,6.361-3.684,8.817c-2.455,2.455-5.395,3.683-8.816,3.683H16.071 c-3.423,0-6.362-1.228-8.817-3.683c-2.456-2.456-3.683-5.395-3.683-8.817V23.214c0-3.422,1.228-6.362,3.683-8.817 c2.455-2.456,5.394-3.683,8.817-3.683h17.857c3.422,0,6.362,1.228,8.817,3.683c2.455,2.455,3.683,5.395,3.683,8.817V25h37.5 c3.422,0,6.361,1.228,8.816,3.683C95.201,31.138,96.429,34.078,96.429,37.5z' /></svg>");
--tag-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256.313 256.313'><path fill='rgb(16,148,170)' d='M163.854 250.072c-8.365 8.322-21.87 8.322-30.192 0L16.047 139.762c-6.576-6.168-14.414-17.856-14.979-26.853-1.512-24.34-.446-70.947.294-95.657C1.628 8.246 9.2.696 18.212.489c31.568-.734 98.452-1.518 104.669 4.705l129.52 117.179c8.316 8.322.772 29.371-7.609 37.736l-80.938 89.963zM60.789 36.284c-7.054-7.038-18.46-7.038-25.52 0-7.038 7.06-7.038 18.46 0 25.498 7.065 7.044 18.471 7.044 25.52 0 7.044-7.038 7.044-18.444 0-25.498z' /></svg>");
--folder-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='rgb(20,170,224)' d='M96.429,37.5v39.286c0,3.423-1.228,6.361-3.684,8.817c-2.455,2.455-5.395,3.683-8.816,3.683H16.071 c-3.423,0-6.362-1.228-8.817-3.683c-2.456-2.456-3.683-5.395-3.683-8.817V23.214c0-3.422,1.228-6.362,3.683-8.817 c2.455-2.456,5.394-3.683,8.817-3.683h17.857c3.422,0,6.362,1.228,8.817,3.683c2.455,2.455,3.683,5.395,3.683,8.817V25h37.5 c3.422,0,6.361,1.228,8.816,3.683C95.201,31.138,96.429,34.078,96.429,37.5z'/></svg>");
--tag-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256.313 256.313'><path fill='rgb(16,148,170)' d='M163.854 250.072c-8.365 8.322-21.87 8.322-30.192 0L16.047 139.762c-6.576-6.168-14.414-17.856-14.979-26.853-1.512-24.34-.446-70.947.294-95.657C1.628 8.246 9.2.696 18.212.489c31.568-.734 98.452-1.518 104.669 4.705l129.52 117.179c8.316 8.322.772 29.371-7.609 37.736l-80.938 89.963zM60.789 36.284c-7.054-7.038-18.46-7.038-25.52 0-7.038 7.06-7.038 18.46 0 25.498 7.065 7.044 18.471 7.044 25.52 0 7.044-7.038 7.044-18.444 0-25.498z'/></svg>");
}

html, body {
Expand Down Expand Up @@ -36,8 +36,12 @@ div#middle {
background-color: #fff6;
}

.pane a {
text-decoration-color: color-mix(in srgb, transparent 25%, currentColor);
}

.pane a:hover, .pane a:active {
text-decoration: underline;
text-decoration-line: underline;
}

main.pane {
Expand Down Expand Up @@ -118,7 +122,7 @@ ol.breadcrumb > li.page {
padding: 5px 4px 2px 8px;
float: right;
font-size: 20px;
text-decoration: underline;
text-decoration-line: underline;
text-underline-offset: 4px;
}

Expand Down

0 comments on commit 45287e4

Please sign in to comment.