Compare commits

..

No commits in common. "866130c60ec56a6095fc1c118b6d49a2b578f958" and "9520f303ea6075bd5206c65e7bf9a7ddfd279c24" have entirely different histories.

2 changed files with 9 additions and 18 deletions

View File

@ -7,6 +7,3 @@ end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
charset = utf-8 charset = utf-8
[*.md]
trim_trailing_whitespace=false

View File

@ -15,7 +15,6 @@
--color-green-2: #57c183; --color-green-2: #57c183;
--background-color: #fff; --background-color: #fff;
--background-color-toc: #F2F7F6;
--text-color: rgba(0,0,10,.8); --text-color: rgba(0,0,10,.8);
--text-color-sub: rgba(0,0,10,.55);; --text-color-sub: rgba(0,0,10,.55);;
@ -23,7 +22,6 @@
--text-color-tertiary: var(--color-green-2); --text-color-tertiary: var(--color-green-2);
--text-color-link: var(--color-green-1); --text-color-link: var(--color-green-1);
--text-color-link-active: var(--color-green-1); --text-color-link-active: var(--color-green-1);
--text-color-toc: #1C4852;
} }
/*@media (prefers-color-scheme: dark) {*/ /*@media (prefers-color-scheme: dark) {*/
@ -82,9 +80,9 @@ main {
} }
.table-of-contents { .table-of-contents {
background: var(--background-color-toc); background: var(--color-gray-20);
border-radius: 5px; border-radius: 5px;
padding: 0.7rem; padding: 15px 5px;
} }
.table-of-contents ul { .table-of-contents ul {
@ -92,10 +90,6 @@ main {
margin: 0; margin: 0;
padding: 0; padding: 0;
li ul {
margin-bottom: 1rem;
}
li { li {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
@ -103,8 +97,9 @@ main {
a { a {
font-weight: bold; font-weight: bold;
font-size: 0.875rem; font-size: 0.8125rem;
color: var(--text-color-toc); margin: 5px;
color: var(--text-color);
text-decoration: none; text-decoration: none;
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
@ -114,7 +109,6 @@ main {
} }
.table-of-contents > ul ul li { .table-of-contents > ul ul li {
margin-left: 0.7rem;
a { a {
font-weight: normal; font-weight: normal;
} }
@ -257,7 +251,7 @@ figure img {
figure figcaption { figure figcaption {
margin-top: 6px; margin-top: 6px;
font-size: 0.875rem; font-size: 0.8125rem; /* 13px /16 */
color: var(--text-color-sub); color: var(--text-color-sub);
} }
@ -332,7 +326,7 @@ figure figcaption {
} }
.post-tag a { .post-tag a {
color: var(--text-color); color: var(--text-color);
font-size: 0.875rem; font-size: 0.8125rem; /* 13px /16 */
font-weight: 700; font-weight: 700;
text-decoration: none; text-decoration: none;
} }
@ -342,7 +336,7 @@ figure figcaption {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: .5em; gap: .5em;
font-size: 0.875rem; font-size: 0.8125rem; /* 13px /16 */
color: var(--text-color-sub); color: var(--text-color-sub);
} }
@ -356,7 +350,7 @@ h1 + .post-metadata {
.post-metadata .post-metadata__header { .post-metadata .post-metadata__header {
flex-grow: 1; flex-grow: 1;
font-size: 0.875rem; font-size: 0.8125rem; /* 13px /16 */
color: var(--text-color-sub); color: var(--text-color-sub);
} }
.post-nav ul { .post-nav ul {