-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nikko Miu
committed
Feb 15, 2024
1 parent
5495c5e
commit 95fd545
Showing
20 changed files
with
258 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
/* TODO: Switch to PostCSS */ | ||
|
||
.footer { | ||
padding: 20px 0; | ||
flex-grow: 0; | ||
color: #a0a0a0; | ||
} | ||
|
||
.footer__inner { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 100%; | ||
} | ||
@media (width <= 900px) { | ||
.footer__inner { | ||
flex-direction: column; | ||
} | ||
} | ||
|
||
.footer a { | ||
color: inherit; | ||
} | ||
|
||
.footer__menu { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-around; | ||
margin-bottom: 1rem; | ||
} | ||
@media (width <= 684px) { | ||
.footer__menu { | ||
flex-direction: column; | ||
justify-content: center; | ||
text-align: center; | ||
} | ||
} | ||
|
||
.footer__menu span { | ||
display: block; | ||
} | ||
|
||
.footer__menu span:not(:last-child)::after { | ||
content: "::"; | ||
margin: 0 0.25rem; | ||
} | ||
@media (width <= 684px) { | ||
.footer__menu span { | ||
margin: 0.25rem 0; | ||
} | ||
|
||
.footer__menu span:not(:last-child)::after { | ||
content: ""; | ||
margin: 0; | ||
} | ||
} | ||
|
||
.footer__menu a:hover { | ||
color: white; | ||
text-decoration: underline; | ||
} | ||
|
||
.footer .git-info { | ||
display: flex; | ||
width: 100%; | ||
justify-content: center; | ||
align-items: center; | ||
margin-bottom: 0.75rem; | ||
} | ||
@media (width <= 684px) { | ||
.footer .git-info { | ||
flex-direction: column; | ||
text-align: center; | ||
} | ||
|
||
.footer .git-info .hash, | ||
.footer .git-info a.edit-page { | ||
justify-content: center; | ||
} | ||
} | ||
|
||
.footer .git-info > * { | ||
display: flex; | ||
} | ||
|
||
.footer .git-info > *:not(:last-child)::after { | ||
content: "::"; | ||
margin: 0 0.5rem; | ||
} | ||
@media (width <= 684px) { | ||
.footer .git-info > * { | ||
margin: 0.25rem 0; | ||
} | ||
|
||
.footer .git-info > *:not(:last-child)::after { | ||
content: ""; | ||
margin: 0; | ||
} | ||
} | ||
|
||
.footer .git-info a { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.footer .git-info a:hover { | ||
color: white; | ||
text-decoration: none; | ||
} | ||
|
||
.footer .git-info a svg { | ||
margin-right: 0.5rem; | ||
} | ||
|
||
.footer .git-info a.edit-page { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.footer .git-info a.edit-page svg { | ||
height: 1.5rem; | ||
width: 1.5rem; | ||
margin-right: 0.5rem; | ||
} | ||
|
||
.footer .copyright { | ||
display: flex; | ||
flex-flow: row wrap; | ||
flex: 1; | ||
align-items: center; | ||
font-size: 1rem; | ||
justify-content: center; | ||
margin: auto; | ||
text-align: center; | ||
} | ||
|
||
.footer .copyright > *:first-child:not(:only-child) { | ||
margin-right: 10px; | ||
} | ||
|
||
.footer .copyright span { | ||
white-space: nowrap; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* TODO: Switch to PostCSS */ | ||
|
||
.highlight { | ||
position: relative; | ||
background: #000; | ||
} | ||
|
||
.highlight .copy-button { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
margin-top: 0.5rem; | ||
margin-right: 0.5rem; | ||
opacity: 0; | ||
transition: opacity 0.4s ease-in-out; | ||
transition: background-color 0.2s ease-in-out; | ||
padding: 0.25rem 0.5rem; | ||
} | ||
|
||
.highlight .copy-button:hover { | ||
background-color: #dd7cec; | ||
} | ||
|
||
.highlight .lang-tab { | ||
position: absolute; | ||
top: -1.7rem; | ||
right: 0; | ||
color: #d946ef; | ||
border: 0.1rem solid rgba(217, 70, 239, 0.2); | ||
background-color: rgba(217, 70, 239, 0.1); | ||
padding: 0 0.5rem; | ||
user-select: none; | ||
font-size: 0.85rem; | ||
} | ||
|
||
.highlight:hover .copy-button, | ||
.highlight .copy-button.active { | ||
opacity: 0.8; | ||
} | ||
|
||
.highlight pre { | ||
overflow-x: auto; | ||
white-space: pre; | ||
padding: 0.75rem 1rem; | ||
border: 1px solid rgba(217, 70, 239, 0.4); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* TODO: Switch to PostCSS */ | ||
|
||
.pagination { | ||
margin-top: 50px; | ||
} | ||
@media print { | ||
.pagination { | ||
display: none; | ||
} | ||
} | ||
|
||
.pagination__title { | ||
display: flex; | ||
text-align: center; | ||
position: relative; | ||
margin: 100px 0 20px; | ||
} | ||
|
||
.pagination__title-h { | ||
text-align: center; | ||
margin: 0 auto; | ||
padding: 5px 10px; | ||
background: #0a0a0a; | ||
color: rgba(255, 255, 255, 0.3); | ||
font-size: 0.8rem; | ||
text-transform: uppercase; | ||
text-decoration: none; | ||
letter-spacing: 0.1em; | ||
z-index: 1; | ||
} | ||
|
||
.pagination__title hr { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
width: 100%; | ||
margin-top: 15px; | ||
z-index: 0; | ||
} | ||
|
||
.pagination__buttons { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-flow: row wrap; | ||
gap: 10px; | ||
} | ||
|
||
.pagination__buttons a { | ||
text-decoration: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.table-of-contents { | ||
@apply my-4; | ||
@apply mt-10 mb-16; | ||
} | ||
|
||
.table-of-contents h2 { | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.