faster night mode

This commit is contained in:
postautistic 2016-12-11 10:29:20 -05:00
parent 5bd64b1784
commit 6098f559b1
9 changed files with 25 additions and 24 deletions

View File

@ -7,6 +7,7 @@
<link rel="stylesheet" href="style/anki.css">
</head>
<body>
<script src="assets/script.js"></script>
<p><h1>Anki Startup Guide</h1></p>
@ -112,6 +113,5 @@
<p>If you followed the instructions and it still does not work, manually add a new card to your mining deck and try again.</p>
<script src="assets/script.js"></script>
</body>
</html>

View File

@ -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) {

View File

@ -5,8 +5,9 @@
<title>cornucopia of resources</title>
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon'/ >
<link rel="stylesheet" href="style/cor.css?3">
</head>
<body>
</head>
<body>
<script src="assets/script.js"></script>
<div class="tabPanel-widget">
<label for="tab-1" tabindex="0"></label>
<input id="tab-1" type="radio" name="tabs" checked="true" aria-hidden="true">
@ -2729,8 +2730,7 @@ Vocabulary deck: Front: word (kanji). Back: translation, reading, component kanj
<script src="assets/script.js"></script>
</div>
</body>
</html>

View File

@ -7,6 +7,7 @@
<link rel="stylesheet" href="style/anki.css">
</head>
<body>
<script src="assets/script.js"></script>
<div class="pagetop">
<div class="header_left"><span class="bold"></span></div>
@ -277,6 +278,5 @@
<p>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 <a href="cor.html">CoR</a>.</p>
<script src="assets/script.js"></script>
</body>
</html>

View File

@ -7,7 +7,7 @@
<link rel="stylesheet" href="style/style.css?2">
</head>
<body>
<script src="assets/script.js"></script>
<div class="byline">
<p>you can [not] learn japanese</p>
</div>
@ -28,6 +28,6 @@
<img src="assets/back0.png" id="image"><script>document.getElementById('image').src = 'assets/back' + Math.floor(Math.random() * 5) +'.png';</script>
<!--<p id="notice"></p>-->
<script src="assets/script.js"></script>
</body>
</html>

View File

@ -6,7 +6,9 @@
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon'/ >
<link rel="stylesheet" href="style/cor.css">
</head>
<body>
<body>
<script src="assets/script.js"></script>
<div class="tabPanel-widget">
<label for="tab-1" tabindex="0"></label>
<input id="tab-1" type="radio" name="tabs" checked="true" aria-hidden="true">
@ -202,7 +204,6 @@ Four years after the creation of the super strong cardboard, in AD 2050, Ban Yam
</tbody></table>
</div>
<script src="assets/script.js"></script
</body>
</html>

View File

@ -8,6 +8,8 @@
</head>
<body>
<script src="assets/script.js"></script>
<div class="pagetop">
<div class="header_left"><span class="bold"></span></div>
<div class="header_center"><span class="bold"><a href="/">Home</a></span></div>
@ -392,6 +394,5 @@ Protip: Type in kaomoji and hit space. Alternatively: read <a href="http://nihon
<p><a href="http://www.hiragana.jp/en/">Hiragana Megane</a> - This site adds furigana to kanji on websites.</p>
<script src="assets/script.js"></script>
</body>
</html>

View File

@ -7,6 +7,7 @@
text-decoration:none;
color: #F44D54;
cursor:pointer;
z-index:100;
}
body {

View File

@ -8,6 +8,7 @@
</head>
<body>
<script src="assets/script.js"></script>
<div class="threadsred">
<p>Close the world, Open the nExt</p>
@ -41,6 +42,5 @@
</tr>
</table>
<script src="assets/script.js"></script>
</body>
</html>