Made a first version of the site

This commit is contained in:
2018-03-23 15:31:31 +01:00
parent 019378adc7
commit 5fcd620c2a
47 changed files with 6056 additions and 0 deletions

9
assets/css/001.scss Executable file
View File

@@ -0,0 +1,9 @@
---
---
@import "reset";
@import "main";
.default_title {
background: #00007f;
}

12
assets/css/002.scss Executable file
View File

@@ -0,0 +1,12 @@
---
---
@import "reset";
@import "main";
.default_title {
background: #808080;
}
.post_title {
background: #00007f;
}

33
assets/css/404.css Normal file
View File

@@ -0,0 +1,33 @@
body {
background:#0000aa;
color:#ffffff;
font-family:courier;
font-size:12pt;
text-align:center;
margin:100px;
}
blink {
color:yellow;
}
.neg {
background:#fff;
color:#0000aa;
padding:2px 8px;
font-weight:bold;
}
p {
margin:30px 100px;
}
a,a:hover {
color:inherit;
font:inherit;
}
.menu {
text-align:center;
margin-top:50px;
}

96
assets/css/atom-one-light.css Executable file
View File

@@ -0,0 +1,96 @@
/*
Atom One Light by Daniel Gamage
Original One Light Syntax theme from https://github.com/atom/one-light-syntax
base: #fafafa
mono-1: #383a42
mono-2: #686b77
mono-3: #a0a1a7
hue-1: #0184bb
hue-2: #4078f2
hue-3: #a626a4
hue-4: #50a14f
hue-5: #e45649
hue-5-2: #c91243
hue-6: #986801
hue-6-2: #c18401
*/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #383a42;
background: #fafafa;
}
.hljs-comment,
.hljs-quote {
color: #a0a1a7;
font-style: italic;
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #a626a4;
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e45649;
}
.hljs-literal {
color: #0184bb;
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
color: #50a14f;
}
.hljs-built_in,
.hljs-class .hljs-title {
color: #c18401;
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #986801;
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #4078f2;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}

2337
assets/css/font-awesome.css vendored Executable file

File diff suppressed because it is too large Load Diff

4
assets/css/font-awesome.min.css vendored Executable file

File diff suppressed because one or more lines are too long

BIN
assets/fonts/FontAwesome.otf Executable file

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/img/disk.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

BIN
assets/img/down.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 B

BIN
assets/img/favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

BIN
assets/img/file.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/img/file.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

BIN
assets/img/folder.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

BIN
assets/img/left.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

BIN
assets/img/mycomputer.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

BIN
assets/img/pixel-alt.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
assets/img/pixel.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 B

BIN
assets/img/right.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 B

BIN
assets/img/track.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
assets/img/up.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 B

36
assets/js/001.js Executable file
View File

@@ -0,0 +1,36 @@
// By: h01000110 (hi)
// github.com/h01000110
var max = document.getElementsByClassName("btn")[1];
var min = document.getElementsByClassName("btn")[2];
function maximize () {
var post = document.getElementsByClassName("content")[0];
var cont = document.getElementsByClassName("post_content")[0];
var wid = window.innerWidth || document.documentElement.clientWidth || document.getElementsByTagName("body")[0].clientWidth;
if (wid > 900) {
widf = wid * 0.9;
post.style.width = widf + "px";
if (wid < 1400) {
cont.style.width = "99%";
} else {
cont.style.width = "99.4%";
}
}
}
function minimize () {
var post = document.getElementsByClassName("content")[0];
var cont = document.getElementsByClassName("post_content")[0];
var wid = window.innerWidth || document.documentElement.clientWidth || document.getElementsByTagName("body")[0].clientWidth;
if ( wid > 900 ) {
post.style.width = "800px";
cont.style.width = "98.5%";
}
}
max.addEventListener('click', maximize, false);
min.addEventListener('click', minimize, false);

51
assets/js/002.js Executable file
View File

@@ -0,0 +1,51 @@
// By: h01000110 (hi)
// github.com/h01000110
function numbers () {
var fields = document.getElementsByTagName("code");
for (field in fields) {
var num = 0;
var select = fields[field].innerText;
var select_f = select.split(/\n/);
var tab = document.createElement("table");
// IF YOU USE MARKDOWN AND YOU HAVE BEEN GETTING ONE ADDITIONAL LINE IN YOUR TAG CODE
// UNCOMMENT THE SECTION BELOW
/* MARKDOWN SECTION /**/
select_f.splice(-1, 1);
/* END OF SECTION*/
fields[field].innerHTML = "";
fields[field].appendChild(tab);
for (line in select_f) {
var row = document.createElement("tr");
var col = document.createElement("th");
var colc = document.createElement("th");
col.innerText = num + 1;
colc.innerText = select_f[line];
row.appendChild(col);
row.appendChild(colc);
tab.appendChild(row);
num = num + 1;
// STYLE SECTION - If you want, change it below
col.style.textAlign = "right";
colc.style.textAlign = "left";
tab.style.border = "0";
col.style.border = "0";
colc.style.border = "0";
col.style.padding = "3px";
colc.style.padding = "3px";
col.style.borderRight = "2px solid #777777";
// END OF SECTION
}
}
}
window.onload = numbers();

2
assets/js/highlight.pack.js Executable file

File diff suppressed because one or more lines are too long