From 6098f559b15b95f20fcc71f1527b05891354da12 Mon Sep 17 00:00:00 2001 From: postautistic Date: Sun, 11 Dec 2016 10:29:20 -0500 Subject: [PATCH] faster night mode --- anki.html | 2 +- assets/script.js | 20 +++++++++----------- cor.html | 8 ++++---- guide.html | 2 +- index.html | 4 ++-- reading list.html | 7 ++++--- resource guide.html | 3 ++- style/cor.css | 1 + threads.html | 2 +- 9 files changed, 25 insertions(+), 24 deletions(-) diff --git a/anki.html b/anki.html index 48d2b38..c879980 100644 --- a/anki.html +++ b/anki.html @@ -7,6 +7,7 @@ +

Anki Startup Guide

@@ -112,6 +113,5 @@

If you followed the instructions and it still does not work, manually add a new card to your mining deck and try again.

- \ No newline at end of file diff --git a/assets/script.js b/assets/script.js index 48dc610..5300f92 100644 --- a/assets/script.js +++ b/assets/script.js @@ -1,14 +1,12 @@ - - var div = document.createElement('div'); - div.innerHTML = '☽'; - div.id = 'night'; - div.title = 'night mode'; - document.body.appendChild(div); - div.onclick = toggleNight; - - if(checkCookie() == true) { - nightMode(); - } +if(checkCookie() == true) { + nightMode(); +} +var div = document.createElement('div'); +div.innerHTML = '☽'; +div.id = 'night'; +div.title = 'night mode'; +document.body.appendChild(div); +div.onclick = toggleNight; function toggleNight() { if(checkCookie() == false) { diff --git a/cor.html b/cor.html index 650505d..9cdc013 100644 --- a/cor.html +++ b/cor.html @@ -5,8 +5,9 @@ cornucopia of resources - - + + +
@@ -2729,8 +2730,7 @@ Vocabulary deck: Front: word (kanji). Back: translation, reading, component kanj - - +
diff --git a/guide.html b/guide.html index 08992b1..3f96e47 100644 --- a/guide.html +++ b/guide.html @@ -7,6 +7,7 @@ +
@@ -277,6 +278,5 @@

WaniKani is a paid website which teaches you 6000 words and 2000 kanji. This may seem like a nice prospect, but reality is that the free open source software Anki will accomplish exactly the same for you. WaniKani limits your potential by providing you with a fixed schedule that you cannot exceed. With Anki, you can learn at whatever pace you wish and it does not cost you anything. Anki is also highly modular and can be adjusted to suit your preferences, while WaniKani offers next to no customization. If you still want to use WaniKana's content, there is a free Anki deck in the CoR.

- \ No newline at end of file diff --git a/index.html b/index.html index 36ff1b6..15c1f4b 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + @@ -28,6 +28,6 @@ - + \ No newline at end of file diff --git a/reading list.html b/reading list.html index 56dd2cc..2b29172 100644 --- a/reading list.html +++ b/reading list.html @@ -6,7 +6,9 @@ - + + +
@@ -202,7 +204,6 @@ Four years after the creation of the super strong cardboard, in AD 2050, Ban Yam
- - diff --git a/resource guide.html b/resource guide.html index a496a38..a8797cc 100644 --- a/resource guide.html +++ b/resource guide.html @@ -8,6 +8,8 @@ + +
@@ -392,6 +394,5 @@ Protip: Type in kaomoji and hit space. Alternatively: read Hiragana Megane - This site adds furigana to kanji on websites.

- \ No newline at end of file diff --git a/style/cor.css b/style/cor.css index c51998a..6503006 100644 --- a/style/cor.css +++ b/style/cor.css @@ -7,6 +7,7 @@ text-decoration:none; color: #F44D54; cursor:pointer; + z-index:100; } body { diff --git a/threads.html b/threads.html index c2c9164..298f252 100644 --- a/threads.html +++ b/threads.html @@ -8,6 +8,7 @@ +

Close the world, Open the nExt

@@ -41,6 +42,5 @@ - \ No newline at end of file