From 4538bc8c7972fa0d9c4c23f038b2c5f2747f8edd Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 19 May 2024 00:16:51 +0500 Subject: feat: WIKI PAGES --- static/styles/wiki-content.css | 59 ++++++++++++++++++++++++++++++++++++++++++ static/styles/wiki-sidebar.css | 35 +++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 static/styles/wiki-content.css create mode 100644 static/styles/wiki-sidebar.css (limited to 'static/styles') diff --git a/static/styles/wiki-content.css b/static/styles/wiki-content.css new file mode 100644 index 0000000..22aad11 --- /dev/null +++ b/static/styles/wiki-content.css @@ -0,0 +1,59 @@ +.wiki-content { + margin: 0 16px; + margin-bottom: 64px; +} + +.wiki-content h1 { + font-size: 32px; + font-weight: 600; +} + +.wiki-content h2 { + font-size: 24px; + font-weight: 600; +} + +.wiki-content h3 { + font-size: 24px; +} + +.wiki-content h1, .wiki-content h2, .wiki-content h3 { + margin: 16px 0; +} + +.wiki-content p { + margin: 0 16px; +} + +.wiki-content ul { + margin: 0 32px; +} + +.wiki-content li { + list-style-type: disc; +} + +.wiki-content a { + color: rgb(4, 120, 87); + text-decoration: underline; +} + +.wiki-content a:hover { + color: rgb(16, 185, 129); +} + +.wiki-content code { + background-color: rgba(243, 244, 246, 255); + color: rgba(5, 150, 105, 255); + padding: 2px; + border-radius: 2px; +} + +.wiki-content blockquote { + background-color: rgba(243, 244, 246, 255); + padding: 2px; + margin: 16px 0; + + border-left-width: 4px; + border-color: rgba(5, 150, 105, 255); +} diff --git a/static/styles/wiki-sidebar.css b/static/styles/wiki-sidebar.css new file mode 100644 index 0000000..fc927df --- /dev/null +++ b/static/styles/wiki-sidebar.css @@ -0,0 +1,35 @@ +.wiki-sidebar { + min-width: 256px; +} + +.wiki-sidebar h1 { + font-size: 20px; + font-weight: 600; +} + +.wiki-sidebar h2 { + font-size: 18px; + font-weight: 600; + margin-left: 4px; +} + +.wiki-sidebar h1, .wiki-sidebar h2 { + margin-top: 4px; + margin-bottom: 4px; +} + + +.wiki-sidebar ul { + margin: 0 8px; +} + +.wiki-sidebar li {} + +.wiki-sidebar a { + color: rgb(4, 120, 87); + text-decoration: underline; +} + +.wiki-sidebar a:hover { + color: rgb(16, 185, 129); +} -- cgit v1.2.3