summaryrefslogtreecommitdiff
path: root/public/static/styles.css
diff options
context:
space:
mode:
authora73x <[email protected]>2024-12-29 19:13:27 +0000
committera73x <[email protected]>2024-12-30 11:00:49 +0000
commita783270b09af3d873c08a01d13f802018b69fb02 (patch)
treebdac4e38357afa535515dd8dda790d7193f371d0 /public/static/styles.css
parent71513b80ebc21240b5b68d8bbbf8b7ee2f54893e (diff)
new markdown renderer
since TOC has a title now and it can compact toc headers, we can use header 2 for everything use the built in goldmark extension for syntax highlighting
Diffstat (limited to 'public/static/styles.css')
-rw-r--r--public/static/styles.css43
1 files changed, 22 insertions, 21 deletions
diff --git a/public/static/styles.css b/public/static/styles.css
index cae2337..3ff2889 100644
--- a/public/static/styles.css
+++ b/public/static/styles.css
@@ -9,6 +9,9 @@
text-decoration: none;
}
+/* code { */
+/* background-color: #f0f0f0; */
+/* } */
code:not(pre > code) {
background-color: #f0f0f0;
padding: 0.2em 0.4em;
@@ -21,8 +24,6 @@ blockquote {
}
hr {
- border: none;
- border-top: 1px dashed black;
}
@@ -69,22 +70,22 @@ main {
margin-right: 20px;
}
-.chroma {
- background-color: #f0f0f0 !important;
- margin: 1em;
- padding: 1em 1em 1em 1em;
- /* box-shadow: 2px 2px 2px rgba(68, 68, 68, 0.6); */
- border-radius: 4px;
- /* border: 2px solid black; */
- /*wrap lines in code blocks*/
- white-space: pre-wrap;
- /* Since CSS 2.1 */
- white-space: -moz-pre-wrap;
- /* Mozilla, since 1999 */
- white-space: -pre-wrap;
- /* Opera 4-6 */
- white-space: -o-pre-wrap;
- /* Opera 7 */
- word-wrap: break-word;
- /* Internet Explorer 5.5+ */
-} \ No newline at end of file
+/* .chroma { */
+/* background-color: #f0f0f0 !important; */
+/* margin: 1em; */
+/* padding: 1em 1em 1em 1em; */
+/* /* box-shadow: 2px 2px 2px rgba(68, 68, 68, 0.6); */ */
+/* border-radius: 4px; */
+/* /* border: 2px solid black; */ */
+/* /*wrap lines in code blocks*/ */
+/* white-space: pre-wrap; */
+/* /* Since CSS 2.1 */ */
+/* white-space: -moz-pre-wrap; */
+/* /* Mozilla, since 1999 */ */
+/* white-space: -pre-wrap; */
+/* /* Opera 4-6 */ */
+/* white-space: -o-pre-wrap; */
+/* /* Opera 7 */ */
+/* word-wrap: break-word; */
+/* /* Internet Explorer 5.5+ */ */
+/* } */