Skip to content

Commit

Permalink
CRT theme
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed Sep 2, 2019
1 parent 6230e02 commit 05545eb
Show file tree
Hide file tree
Showing 4 changed files with 415 additions and 0 deletions.
151 changes: 151 additions & 0 deletions css/crt.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions css/crt.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions js/crt.js
@@ -0,0 +1,31 @@
/**
* Personal Site: My humble personal homepage, made with a tiny bit but not much care.
* <https://github.com/MattIPv4/Personal-Site/>
* Copyright (C) 2019 Matt Cowley (MattIPv4) (me@mattcowley.co.uk)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, please see
* <https://github.com/MattIPv4/Personal-Site/blob/master/LICENSE.md> or <http://www.gnu.org/licenses/>.
*/

window._theme = function () {
delete window._theme;

// Typing
var span = document.createElement('span');
span.textContent = '_';
document.querySelector('.content h1').appendChild(span);

// Custom BG
var bg = document.createElement('div');
bg.className = 'scanlines';
document.body.appendChild(bg);
};

0 comments on commit 05545eb

Please sign in to comment.