🎨 refactor: improve code format; set tabs = 4 spaces
This commit is contained in:
@@ -1,24 +1,26 @@
|
||||
.archive {
|
||||
.listing-title {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.listing-item {
|
||||
padding: 0.2rem 1rem;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
.post-time {
|
||||
width: 4rem;
|
||||
.date {
|
||||
color: var(--meta-color);
|
||||
}
|
||||
.listing-title {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.listing-item {
|
||||
padding: 0.2rem 1rem;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
|
||||
.post-time {
|
||||
width: 4rem;
|
||||
|
||||
.date {
|
||||
color: var(--meta-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
@@ -1,100 +1,100 @@
|
||||
code {
|
||||
background-color: var(--bg-1);
|
||||
padding: 0.1em 0.2em;
|
||||
font-family: var(--code-font);
|
||||
font-weight: 350;
|
||||
font-size: 0.92em;
|
||||
background-color: var(--bg-1);
|
||||
padding: 0.1em 0.2em;
|
||||
font-family: var(--code-font);
|
||||
font-weight: 350;
|
||||
font-size: 0.92em;
|
||||
}
|
||||
|
||||
pre {
|
||||
border: 1px solid var(--border-color);
|
||||
line-height: 1.4;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
position: relative;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
border: 1px solid var(--border-color);
|
||||
line-height: 1.4;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
position: relative;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
pre code {
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
pre code[class*="language-"] {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
pre code[class*="language-"]::before {
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.025rem;
|
||||
padding: 0.1rem 0.5rem;
|
||||
position: absolute;
|
||||
right: 0.1rem;
|
||||
margin-top: 0.1rem;
|
||||
text-align: right;
|
||||
text-transform: uppercase;
|
||||
top: 0;
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.025rem;
|
||||
padding: 0.1rem 0.5rem;
|
||||
position: absolute;
|
||||
right: 0.1rem;
|
||||
margin-top: 0.1rem;
|
||||
text-align: right;
|
||||
text-transform: uppercase;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
pre code[class="language-javaScript"]::before,
|
||||
pre code[class="language-js"]::before {
|
||||
content: "js";
|
||||
background: #f7df1e;
|
||||
color: black;
|
||||
content: "js";
|
||||
background: #f7df1e;
|
||||
color: black;
|
||||
}
|
||||
|
||||
pre code[class*="language-yml"]::before,
|
||||
pre code[class*="language-yaml"]::before {
|
||||
content: "yaml";
|
||||
background: #C51117;
|
||||
color: white;
|
||||
content: "yaml";
|
||||
background: #C51117;
|
||||
color: white;
|
||||
}
|
||||
|
||||
pre code[class*="language-shell"]::before,
|
||||
pre code[class*="language-bash"]::before,
|
||||
pre code[class*="language-sh"]::before {
|
||||
content: "shell";
|
||||
background: #33A841;
|
||||
color: white;
|
||||
content: "shell";
|
||||
background: #33A841;
|
||||
color: white;
|
||||
}
|
||||
|
||||
pre code[class*="language-json"]::before {
|
||||
content: "json";
|
||||
color: black;
|
||||
background: whitesmoke;
|
||||
content: "json";
|
||||
color: black;
|
||||
background: whitesmoke;
|
||||
}
|
||||
|
||||
pre code[class*="language-python"]::before,
|
||||
pre code[class*="language-py"]::before {
|
||||
content: "python";
|
||||
background: #306698;
|
||||
color: #ffd343;
|
||||
content: "python";
|
||||
background: #306698;
|
||||
color: #ffd343;
|
||||
}
|
||||
|
||||
pre code[class*="language-css"]::before {
|
||||
content: "css";
|
||||
background: #215AEF;
|
||||
color: white;
|
||||
content: "css";
|
||||
background: #215AEF;
|
||||
color: white;
|
||||
}
|
||||
|
||||
pre code[class*="language-go"]::before {
|
||||
content: "Go";
|
||||
background: #00ADD8;
|
||||
color: white;
|
||||
content: "Go";
|
||||
background: #00ADD8;
|
||||
color: white;
|
||||
}
|
||||
|
||||
pre code[class*="language-md"]::before,
|
||||
pre code[class*="language-md"]::before {
|
||||
content: "Markdown";
|
||||
background: #159ADC;
|
||||
color: white;
|
||||
content: "Markdown";
|
||||
background: #159ADC;
|
||||
color: white;
|
||||
}
|
||||
|
||||
pre code[class*="language-rust"]::before,
|
||||
pre code[class*="language-rs"]::before {
|
||||
content: "rust";
|
||||
background: #fff8f6;
|
||||
color: #ff4647;
|
||||
content: "rust";
|
||||
background: #fff8f6;
|
||||
color: #ff4647;
|
||||
}
|
||||
|
@@ -1,70 +1,68 @@
|
||||
footer {
|
||||
margin-top: auto;
|
||||
margin-bottom: 1.4rem;
|
||||
font-family: var(--post-font-family);
|
||||
margin-top: auto;
|
||||
margin-bottom: 1.4rem;
|
||||
font-family: var(--post-font-family);
|
||||
}
|
||||
|
||||
footer section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0rem;
|
||||
}
|
||||
|
||||
footer nav {
|
||||
display: flex;
|
||||
gap: 0rem;
|
||||
margin: 0 0rem;
|
||||
display: flex;
|
||||
gap: 0rem;
|
||||
margin: 0 0rem;
|
||||
}
|
||||
|
||||
.socials {
|
||||
justify-content: center;
|
||||
/* flex-child */
|
||||
flex-grow: 0;
|
||||
/* flex-container */
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-end;
|
||||
justify-content: center;
|
||||
flex-grow: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.social {
|
||||
background-image: unset;
|
||||
padding: 0.5vmin;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-image: unset;
|
||||
padding: 0.5vmin;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.social>img {
|
||||
color: #000000;
|
||||
aspect-ratio: 1/1;
|
||||
width: 1.5rem;
|
||||
height: auto;
|
||||
.social > img {
|
||||
color: #000000;
|
||||
aspect-ratio: 1/1;
|
||||
width: 1.5rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.social {
|
||||
&:hover {
|
||||
&>img {
|
||||
filter: invert(1);
|
||||
&:hover {
|
||||
& > img {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
.social {
|
||||
&:hover {
|
||||
&>img {
|
||||
filter: invert(0);
|
||||
}
|
||||
}
|
||||
.social {
|
||||
&:hover {
|
||||
& > img {
|
||||
filter: invert(0);
|
||||
}
|
||||
}
|
||||
|
||||
&>img {
|
||||
filter: invert(1);
|
||||
& > img {
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.credits {
|
||||
font-size: 0.88rem;
|
||||
color: var(--meta-color);
|
||||
font-size: 0.88rem;
|
||||
color: var(--meta-color);
|
||||
}
|
||||
|
@@ -1,126 +1,129 @@
|
||||
header {
|
||||
width: 100%;
|
||||
.main {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
width: 100%;
|
||||
|
||||
.main {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.page-header {
|
||||
font-size: 3em;
|
||||
line-height: 100%;
|
||||
font-family: var(--header-font);
|
||||
margin: 4rem 0px 1rem 0px;
|
||||
font-size: 3em;
|
||||
line-height: 100%;
|
||||
font-family: var(--header-font);
|
||||
margin: 4rem 0px 1rem 0px;
|
||||
}
|
||||
|
||||
.centered-header {
|
||||
font-family: var(--header-font);
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
text-align: center;
|
||||
font-size: 1em;
|
||||
font-family: var(--header-font);
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
text-align: center;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
max-width: var(--max-layout-width);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1em 0;
|
||||
margin: 0 auto;
|
||||
max-width: var(--max-layout-width);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1em 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.nav-navs {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
img {
|
||||
border: none;
|
||||
}
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
|
||||
img {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
font-size: 1em;
|
||||
font-weight: 340;
|
||||
text-decoration: none;
|
||||
justify-content: right;
|
||||
color: var(--text-color);
|
||||
padding: 0.66rem;
|
||||
font-size: 1em;
|
||||
font-weight: 340;
|
||||
text-decoration: none;
|
||||
justify-content: right;
|
||||
color: var(--text-color);
|
||||
padding: 0.66rem;
|
||||
}
|
||||
|
||||
.home-title {
|
||||
font-size: 1.7em;
|
||||
font-weight: 450;
|
||||
padding: 0.12rem;
|
||||
margin-left: -0.12rem;
|
||||
border: none;
|
||||
color: var(--primary-color);
|
||||
text-decoration: none;
|
||||
font-size: 1.7em;
|
||||
font-weight: 450;
|
||||
padding: 0.12rem;
|
||||
margin-left: -0.12rem;
|
||||
border: none;
|
||||
color: var(--primary-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.meta {
|
||||
color: var(--meta-color);
|
||||
letter-spacing: -0.5px;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 300;
|
||||
padding: 0;
|
||||
padding-top: 0.7vmin;
|
||||
padding-bottom: 3vmin;
|
||||
line-height: 1.4rem;
|
||||
|
||||
a {
|
||||
color: var(--meta-color);
|
||||
text-decoration-color: none;
|
||||
font-weight: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
color: var(--meta-color);
|
||||
letter-spacing: -0.5px;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 300;
|
||||
padding: 0;
|
||||
padding-top: 0.7vmin;
|
||||
padding-bottom: 3vmin;
|
||||
line-height: 1.4rem;
|
||||
|
||||
ul, li {
|
||||
list-style-type: none;
|
||||
display: inline;
|
||||
}
|
||||
a {
|
||||
color: var(--meta-color);
|
||||
text-decoration-color: none;
|
||||
font-weight: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul,
|
||||
li {
|
||||
list-style-type: none;
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
.card-meta {
|
||||
color: var(--meta-color);
|
||||
font-size: 0.92rem;
|
||||
color: var(--meta-color);
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1000px) {
|
||||
.navbar {
|
||||
max-width: var(--normal-layout-width);
|
||||
}
|
||||
.navbar {
|
||||
max-width: var(--normal-layout-width);
|
||||
}
|
||||
|
||||
.nav-navs {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.nav-navs {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
.nav-navs {
|
||||
margin-top: 0.8rem;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
.nav-navs {
|
||||
margin-top: 0.8rem;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.navbar {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 300px) {
|
||||
.navbar {
|
||||
max-width: var(--small-layout-width);
|
||||
}
|
||||
.navbar {
|
||||
max-width: var(--small-layout-width);
|
||||
}
|
||||
}
|
||||
|
@@ -1,52 +1,53 @@
|
||||
figure {
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
font-family: var(--serif-font);
|
||||
font-size: 0.72rem;
|
||||
color: var(--meta-color);
|
||||
text-align: center;
|
||||
font-family: var(--serif-font);
|
||||
font-size: 0.72rem;
|
||||
color: var(--meta-color);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
figure img {
|
||||
max-height: 500px;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
figure h4 {
|
||||
font-size: 1rem;
|
||||
margin: 0;
|
||||
margin-bottom: 1em;
|
||||
font-size: 1rem;
|
||||
margin: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
figure h4::before {
|
||||
content: "↳ ";
|
||||
content: "↳ ";
|
||||
}
|
||||
|
||||
svg {
|
||||
max-height: 15px;
|
||||
max-height: 15px;
|
||||
}
|
||||
|
||||
.img-dark {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
.img-dark {
|
||||
display: block;
|
||||
}
|
||||
.img-light {
|
||||
display: none;
|
||||
}
|
||||
.img-dark {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.img-light {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@@ -1,37 +1,37 @@
|
||||
.draft-label {
|
||||
color: var(--hover-color);
|
||||
text-decoration: none;
|
||||
padding: 2px 4px;
|
||||
margin-left: 6px;
|
||||
background-color: var(--primary-color);
|
||||
color: var(--hover-color);
|
||||
text-decoration: none;
|
||||
padding: 2px 4px;
|
||||
margin-left: 6px;
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.article-title {
|
||||
color: var(--text-color-high-contrast);
|
||||
display: block;
|
||||
font-size: 2rem;
|
||||
font-weight: 550;
|
||||
line-height: 3rem;
|
||||
color: var(--text-color-high-contrast);
|
||||
display: block;
|
||||
font-size: 2rem;
|
||||
font-weight: 550;
|
||||
line-height: 3rem;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: none;
|
||||
display: block;
|
||||
aspect-ratio: 16/9;
|
||||
width: 100vmin;
|
||||
max-width: 70%;
|
||||
margin-left: 15%;
|
||||
margin-right: 15%;
|
||||
margin-bottom: 3vmin;
|
||||
border: none;
|
||||
display: block;
|
||||
aspect-ratio: 16/9;
|
||||
width: 100vmin;
|
||||
max-width: 70%;
|
||||
margin-left: 15%;
|
||||
margin-right: 15%;
|
||||
margin-bottom: 3vmin;
|
||||
}
|
||||
|
||||
.zola-anchor {
|
||||
font-size: 1rem;
|
||||
position: absolute;
|
||||
margin-left: -1.9em;
|
||||
padding-right: 0.45em;
|
||||
padding-left: 0.4em;
|
||||
opacity: 0;
|
||||
font-size: 1rem;
|
||||
position: absolute;
|
||||
margin-left: -1.9em;
|
||||
padding-right: 0.45em;
|
||||
padding-left: 0.4em;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
h1:hover .zola-anchor,
|
||||
@@ -40,123 +40,127 @@ h3:hover .zola-anchor,
|
||||
h4:hover .zola-anchor,
|
||||
h5:hover .zola-anchor,
|
||||
h6:hover .zola-anchor {
|
||||
opacity: 1;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
a:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
a:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
.zola-anchor {
|
||||
display: none;
|
||||
}
|
||||
.zola-anchor {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.toc-container {
|
||||
margin-bottom: 4vmin;
|
||||
margin-bottom: 4vmin;
|
||||
}
|
||||
|
||||
.title-container {
|
||||
padding-bottom: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.bottom-divider {
|
||||
border-bottom: var(--divider-color) solid 0.5px;
|
||||
border-bottom: var(--divider-color) solid 0.5px;
|
||||
}
|
||||
|
||||
::-moz-selection {
|
||||
background: var(--primary-color);
|
||||
color: var(--hover-color);
|
||||
text-shadow: none;
|
||||
background: var(--primary-color);
|
||||
color: var(--hover-color);
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--primary-color);
|
||||
color: var(--hover-color);
|
||||
background: var(--primary-color);
|
||||
color: var(--hover-color);
|
||||
}
|
||||
|
||||
.nav.tags {
|
||||
display: inline-block;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 1.5;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0;
|
||||
border-top: 3px solid var(--border-color);
|
||||
margin: 1em 0;
|
||||
border: 0;
|
||||
border-top: 3px solid var(--border-color);
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 0.2rem solid var(--primary-color);
|
||||
color: var(--quote-color);
|
||||
margin: 0;
|
||||
padding-left: 1em;
|
||||
border-left: 0.2rem solid var(--primary-color);
|
||||
color: var(--quote-color);
|
||||
margin: 0;
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--primary-color);
|
||||
text-decoration: inherit;
|
||||
font-weight: inherit;
|
||||
position: relative;
|
||||
color: var(--primary-color);
|
||||
text-decoration: inherit;
|
||||
font-weight: inherit;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
background-color: var(--primary-color);
|
||||
color: var(--hover-color);
|
||||
background-color: var(--primary-color);
|
||||
color: var(--hover-color);
|
||||
}
|
||||
|
||||
a:not(.no-hover-padding, .zola-anchor)::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: -0.15em;
|
||||
right: -0.15em;
|
||||
z-index: -1;
|
||||
background-color: var(--primary-color);
|
||||
opacity: 0;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: -0.15em;
|
||||
right: -0.15em;
|
||||
z-index: -1;
|
||||
background-color: var(--primary-color);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
a:not(.no-hover-padding):hover::before {
|
||||
opacity: 1;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Remove post list padding */
|
||||
@media screen and (max-width: 600px) {
|
||||
.list > ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.list > ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
justify-self: center;
|
||||
font: inherit;
|
||||
overflow: hidden;
|
||||
border-style : hidden!important;
|
||||
margin: 2rem 0;
|
||||
font-family: sans-serif;
|
||||
min-width: 400px;
|
||||
border: none;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
min-width: 13rem;
|
||||
justify-self: center;
|
||||
font: inherit;
|
||||
overflow: hidden;
|
||||
border-style: hidden !important;
|
||||
margin: 2rem 0;
|
||||
font-family: sans-serif;
|
||||
min-width: 400px;
|
||||
border: none;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
min-width: 13rem;
|
||||
}
|
||||
|
||||
table thead tr {
|
||||
background-color: var(--table-header-color);
|
||||
color: #1f1f1f;
|
||||
text-align: left;
|
||||
background-color: var(--table-header-color);
|
||||
color: #1f1f1f;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table th,
|
||||
@@ -166,29 +170,31 @@ table td {
|
||||
}
|
||||
|
||||
table tbody tr:nth-child(even) {
|
||||
background-color: var(--bg-0);
|
||||
background-color: var(--bg-0);
|
||||
}
|
||||
|
||||
.footnote-reference {
|
||||
font-family: var(--serif-font);
|
||||
font-size: 0.7rem;
|
||||
font-family: var(--serif-font);
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.footnote-definition {
|
||||
margin-top: 3.5rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
padding-top: 1rem;
|
||||
sup {
|
||||
font-family: var(--serif-font);
|
||||
font-size: 0.75rem;
|
||||
margin-right: 0.15rem;
|
||||
}
|
||||
p {
|
||||
display: inline;
|
||||
}
|
||||
margin-top: 3.5rem;
|
||||
border-top: 1px solid var(--border-color);
|
||||
padding-top: 1rem;
|
||||
|
||||
sup {
|
||||
font-family: var(--serif-font);
|
||||
font-size: 0.75rem;
|
||||
margin-right: 0.15rem;
|
||||
}
|
||||
|
||||
p {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
.references p {
|
||||
text-indent: -2.4rem;
|
||||
margin-left: 2.4rem;
|
||||
text-indent: -2.4rem;
|
||||
margin-left: 2.4rem;
|
||||
}
|
||||
|
@@ -30,7 +30,7 @@
|
||||
.bloglist-content {
|
||||
flex: 1;
|
||||
|
||||
|
||||
|
||||
.bloglist-title {
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
|
@@ -1,15 +1,15 @@
|
||||
table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table th {
|
||||
padding: 6px 13px;
|
||||
border: 1px solid #dfe2e5;
|
||||
font-size: large;
|
||||
padding: 6px 13px;
|
||||
border: 1px solid #dfe2e5;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
table td {
|
||||
padding: 6px 13px;
|
||||
border: 1px solid #dfe2e5;
|
||||
padding: 6px 13px;
|
||||
border: 1px solid #dfe2e5;
|
||||
}
|
||||
|
@@ -60,6 +60,7 @@
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.tags-item {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
@@ -1,41 +1,47 @@
|
||||
.theme-switcher {
|
||||
align-self: center;
|
||||
margin-left: 0.5rem;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
.switch {
|
||||
align-self: center;
|
||||
margin-left: 0.5rem;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
border: none;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
.switch {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.sun {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.moon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.sun {
|
||||
opacity: 0;
|
||||
|
||||
input {
|
||||
display: none;
|
||||
|
||||
&:checked + .switch {
|
||||
.sun {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.moon {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.moon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
input {
|
||||
display: none;
|
||||
&:checked + .switch {
|
||||
.sun {
|
||||
opacity: 1;
|
||||
}
|
||||
.moon {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user