-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add preliminary support for ToC sidebar
- Loading branch information
Showing
8 changed files
with
81 additions
and
70 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
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,63 @@ | ||
// Ruby language highlighting | ||
.language-diff .gd { | ||
background-color: rgba(255, 127, 80, 0.25); | ||
} | ||
|
||
.language-diff .gi { | ||
background-color: rgba(0, 128, 128, 0.3); | ||
} | ||
|
||
.language-console .go { | ||
color: darkblue; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
.language-console .go { | ||
color: lightskyblue; | ||
} | ||
} | ||
|
||
// #post-list li { | ||
// // End each post item with an ellipsis rather than wrapping its entire title | ||
// width: 100%; | ||
// text-overflow: ellipsis; | ||
// white-space: nowrap; // Don't do new lines after ellipsis | ||
// overflow: hidden; // Don't show anything after ellipsis | ||
// } | ||
|
||
.toc { | ||
position: fixed; | ||
top: 6rem; | ||
left: 1.5rem; | ||
width: 24rem; | ||
} | ||
@media (max-width: 1900px) { | ||
.toc { | ||
display: none; | ||
visibility: hidden; | ||
} | ||
} | ||
|
||
table { | ||
margin: 1rem 0; | ||
} | ||
table ul { | ||
margin: 0; | ||
padding-left: 1rem; | ||
} | ||
th[scope="row"] { | ||
text-align: left; | ||
font-weight: normal; | ||
} | ||
|
||
.leo { | ||
margin: 0 0 1rem 1rem; | ||
} | ||
|
||
@media (max-width: 800px) { | ||
.leo { | ||
// Undo float: right on header image on small screens | ||
float: none; | ||
margin: 0 auto; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,36 +1,4 @@ | ||
--- | ||
--- | ||
@import "no-style-please"; | ||
@import "syntax-highlighting"; | ||
|
||
// #post-list li { | ||
// // End each post item with an ellipsis rather than wrapping its entire title | ||
// width: 100%; | ||
// text-overflow: ellipsis; | ||
// white-space: nowrap; // Don't do new lines after ellipsis | ||
// overflow: hidden; // Don't show anything after ellipsis | ||
// } | ||
|
||
table { | ||
margin: 1rem 0; | ||
} | ||
table ul { | ||
margin: 0; | ||
padding-left: 1rem; | ||
} | ||
th[scope="row"] { | ||
text-align: left; | ||
font-weight: normal; | ||
} | ||
|
||
.leo { | ||
margin: 0 0 1rem 1rem; | ||
} | ||
|
||
@media (max-width: 800px) { | ||
.leo { | ||
// Undo float: right on header image on small screens | ||
float: none; | ||
margin: 0 auto; | ||
} | ||
} | ||
@import "custom"; |