From 1623a889a4e2f82cd22ab0ab8efa91519ecafbc6 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 3 Oct 2019 23:07:39 +0200 Subject: [PATCH] modify the prettify color scheme --- blog/big_projects.md | 283 +++++++++++++++++- ...sons-of-obsidian.css => prettify-dark.css} | 18 +- lib/prettify.css | 15 +- lib/showdown-prettify.js | 2 +- scripts/main.js | 2 +- 5 files changed, 294 insertions(+), 26 deletions(-) rename lib/{sons-of-obsidian.css => prettify-dark.css} (91%) diff --git a/blog/big_projects.md b/blog/big_projects.md index 54544eb..04045ec 100644 --- a/blog/big_projects.md +++ b/blog/big_projects.md @@ -43,4 +43,285 @@ So a feeling I have almost *constantly* is the fear that my game won't go well. But also, in case you *do* buy the game once it comes out, and in case you also like it, please tell me. It would mean the world to me. Thanks so much. -Also, thanks for reading. <3 \ No newline at end of file +Also, thanks for reading. <3 + +``` + + + + + + + + Ellpeck.de + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+ +
+
+

+ +

Welcome to my little website! I'm Ellpeck, a student and programmer from Germany. I do a lot of stuff, actually. My life is pretty busy.

+

Look around this website to find out more about my projects and other places you can find me!

+
+
+
+
+ + + + + + +
+

Projects

+

+ Here is a list of some of the things that you might know me from. If you want to have a more in-depth look at everything I do, check out some of the sites linked in the Social section. +

+
+ The content that should be here is dynamically generated. Please enable JavaScript if you see this. +
+ +
+ + + +
+

Social

+

+ These are other websites where you can find me and the things I do, including the pages where I publish my code and games and where I sometimes stream and upload videos. This list also includes a lot of ways to reach me. +

+
+
+
+ The content that should be here is dynamically generated. Please enable JavaScript if you see this. +
+ + Additionally, here are some miscellaneous platforms: +
    +
  • My Nintendo Switch friend code is SW-5281-8834-6801
  • +
  • If you want to play my Mario Maker 2 levels, my ID is 8BH-566-4WF
  • +
  • If you play The Sims 4, you can check out my builds on the gallery by searching for Ellpeck
  • +
+
+
+ The content that should be here is dynamically generated. Please enable JavaScript if you see this. +
+
+ + +
+ + + +
+

About

+

+ Sometimes, some people ask me some questions about myself or my projects, so I decided to compile a list of some of the answers in a Q&A-like fashion so that I don't have to keep repeating them. If you're curious about me, this might be interesting to you! +

+
+ The content that should be here is dynamically generated. Please enable JavaScript if you see this. +
+ +
+ + + +
+

Blog

+

+ Occasionally I enjoy writing stuff. So here's some of the stuff I've written. Just click on any of the headers to expand the post. +

+
+ The content that should be here is dynamically generated. Please enable JavaScript if you see this. +
+ +
+
+ + + + + + + + + + + + +``` \ No newline at end of file diff --git a/lib/sons-of-obsidian.css b/lib/prettify-dark.css similarity index 91% rename from lib/sons-of-obsidian.css rename to lib/prettify-dark.css index cd6d751..0b06f0c 100644 --- a/lib/sons-of-obsidian.css +++ b/lib/prettify-dark.css @@ -49,17 +49,17 @@ color: purple; } -pre.prettyprint { - border: 1px solid #000; -} - ol.linenums { margin-top: 0; margin-bottom: 0; } +pre.prettyprint { + border-radius: 10px; +} + .prettyprint { - background: #000; + background: #282c34; } li.L0, @@ -76,14 +76,6 @@ li.L9 { list-style-type: decimal; } -li.L1, -li.L3, -li.L5, -li.L7, -li.L9 { - background: #111; -} - @media print { .str { color: #060; diff --git a/lib/prettify.css b/lib/prettify.css index 360ed3e..419706d 100644 --- a/lib/prettify.css +++ b/lib/prettify.css @@ -134,20 +134,15 @@ projection { /* Put a border around prettyprinted code snippets. */ pre.prettyprint { - border: 1px solid #888 + border-radius: 10px; +} + +.prettyprint { + background: #ececec; } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 -} - -/* Alternate shading for lines */ -li.L1, -li.L3, -li.L5, -li.L7, -li.L9 { - background: #eee } \ No newline at end of file diff --git a/lib/showdown-prettify.js b/lib/showdown-prettify.js index 945a283..3e3a8e5 100644 --- a/lib/showdown-prettify.js +++ b/lib/showdown-prettify.js @@ -22,7 +22,7 @@ if (pre) { return '
';
                     } else {
-                        return ' ';
+                        return ' ';
                     }
                 });
             }
diff --git a/scripts/main.js b/scripts/main.js
index 4ac1d41..7abe9b8 100644
--- a/scripts/main.js
+++ b/scripts/main.js
@@ -4,7 +4,7 @@ let pride = new Date().getMonth() == 5;
 
 if (dark) {
     document.write('')
-    document.write('')
+    document.write('')
 }
 if (pride)
     document.write('')