less pants-shitting
This commit is contained in:
parent
dcf202d020
commit
d343a5159c
|
@ -11,6 +11,7 @@ div.onclick = toggleNight;
|
||||||
function toggleNight() {
|
function toggleNight() {
|
||||||
if(checkCookie() == false) {
|
if(checkCookie() == false) {
|
||||||
nightMode();
|
nightMode();
|
||||||
|
document.getElementById('image').src = 'assets/back3.png';
|
||||||
} else {
|
} else {
|
||||||
document.getElementsByTagName('head')[0].removeChild(document.getElementById('nightcss'));
|
document.getElementsByTagName('head')[0].removeChild(document.getElementById('nightcss'));
|
||||||
setCookie('0');
|
setCookie('0');
|
||||||
|
@ -19,7 +20,7 @@ function toggleNight() {
|
||||||
|
|
||||||
function nightMode() {
|
function nightMode() {
|
||||||
link = document.createElement('link');
|
link = document.createElement('link');
|
||||||
link.href = 'style/night.css?2';
|
link.href = 'style/night.css';
|
||||||
link.rel = 'stylesheet';
|
link.rel = 'stylesheet';
|
||||||
link.type = 'text/css';
|
link.type = 'text/css';
|
||||||
link.id = 'nightcss';
|
link.id = 'nightcss';
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<link rel="stylesheet" href="style/anki.css">
|
<link rel="stylesheet" href="style/anki.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script src="assets/script.js"></script>
|
<script src="assets/script.js?3"></script>
|
||||||
|
|
||||||
<div class="pagetop">
|
<div class="pagetop">
|
||||||
<div class="header_left"><span class="bold"></span></div>
|
<div class="header_left"><span class="bold"></span></div>
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
<p><h1>DJT GUIDE TO JAPANESE</h1></p>
|
<p><h1>DJT GUIDE TO JAPANESE</h1></p>
|
||||||
<p><span class="italic">Live Google docs version found</span> <span class="bold"><a href="https://docs.google.com/document/d/1y9UXz7NPj93JZtt2a3QHKGPVnBkNP22KuWLr3yZChnY/edit">here</a></span></p>
|
<p><span class="italic">Live Google docs version found</span> <span class="bold"><a href="https://docs.google.com/document/d/1y9UXz7NPj93JZtt2a3QHKGPVnBkNP22KuWLr3yZChnY/edit">here</a></span></p>
|
||||||
<img class="a" src="assets/image01.png">
|
<img class="a noinvert" src="assets/image01.png">
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
|
|
||||||
<p><a href="https://a.pomf.cat/tlfrix.png">Kanji</a> are the third part of the Japanese writing system, and by far the most extensive. These logographic characters of varying complexity represent words or parts of words in conjunction with the kana. Japanese high school students are required to learn at least 2136 kanji as part of the curriculum, but around 3,000 are used in all facets of life.</p>
|
<p><a href="https://a.pomf.cat/tlfrix.png">Kanji</a> are the third part of the Japanese writing system, and by far the most extensive. These logographic characters of varying complexity represent words or parts of words in conjunction with the kana. Japanese high school students are required to learn at least 2136 kanji as part of the curriculum, but around 3,000 are used in all facets of life.</p>
|
||||||
|
|
||||||
<img class="b" src="assets/image02.jpg">
|
<img class="b noinvert" src="assets/image02.jpg">
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<link rel="stylesheet" href="style/style.css">
|
<link rel="stylesheet" href="style/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script src="assets/script.js"></script>
|
<script src="assets/script.js?3"></script>
|
||||||
<div class="byline">
|
<div class="byline">
|
||||||
<p>you can [not] learn japanese</p>
|
<p>you can [not] learn japanese</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<p><a class="one" href="threads.html">thread webring</a></p>
|
<p><a class="one" href="threads.html">thread webring</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<img src="assets/back3.png?2" id="image" class="noinvert">
|
<img src="assets/back3.png" id="image">
|
||||||
<script>
|
<script>
|
||||||
if(checkCookie() == false) {
|
if(checkCookie() == false) {
|
||||||
document.getElementById('image').src = 'assets/back' + Math.floor(Math.random() * 5) +'.png?2';
|
document.getElementById('image').src = 'assets/back' + Math.floor(Math.random() * 5) +'.png?2';
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
img {
|
img {
|
||||||
filter: invert(100%);
|
filter: invert(100%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.noinvert {
|
||||||
|
filter: invert(0%);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
Loading…
Reference in New Issue