This commit is contained in:
Miloslav Ciz 2024-01-30 07:54:47 +01:00
parent 911143c7a0
commit 56bfbd2c10
7 changed files with 205 additions and 28 deletions

View file

@ -10,7 +10,7 @@ mkdir html
cp report.html html cp report.html html
cp pimp_my_lrs.html html cp pimp_my_lrs.html html
cp *.css html cp ./*.css ./html/
DATE=`date +"%D"` DATE=`date +"%D"`
FILECOUNT=`ls *.md | wc -l` FILECOUNT=`ls *.md | wc -l`

View file

@ -21,6 +21,8 @@ function load()
style = url.searchParams.get("s"); style = url.searchParams.get("s");
page = url.searchParams.get("p"); page = url.searchParams.get("p");
document.body.innerHTML = "";
var req = new XMLHttpRequest(); var req = new XMLHttpRequest();
req.open("get",page); req.open("get",page);
req.send(); req.send();
@ -44,7 +46,9 @@ function load()
fl.href = "index.html"; fl.href = "index.html";
fl.innerHTML = "chad version"; fl.innerHTML = "chad version";
placeCSS("gay","style_gay.css");
placeCSS("unix","style_unix.css"); placeCSS("unix","style_unix.css");
placeCSS("dark","style_dark.css");
placeCSS("fancy","style_fancy.css"); placeCSS("fancy","style_fancy.css");
placeCSS("plain","style.css"); placeCSS("plain","style.css");
}; };

31
style_dark.css Normal file
View file

@ -0,0 +1,31 @@
body
{
background-color: black;
color: #ddd;
}
pre, code
{
background-color: #222;
}
table
{
border-collapse: collapse;
}
table td, th
{
border: 1px solid #999;
padding: 4px;
}
a
{
color: #67f;
}
.dead
{
color: #d33;
}

130
style_gay.css Normal file
View file

@ -0,0 +1,130 @@
body
{
background-color: #f2cef5;
font-family: serif;
color: #522b5c;
max-width: 1280px;
margin: auto;
}
h1:before, h2:before, h3:before, h1:after, h2:after, h3:after
{
content: " <3 ";
}
p
{
margin: 30px;
}
i, em
{
color: #56ff52;
background-color: #bfa6ff;
}
b, strong
{
background-color: #f77;
color: #c5f6fa;
padding: 1px 1px 1px;
border-bottom: 2px dashed yellow;
}
h1
{
font-size: 50px;
}
h2
{
font-size: 40px;
}
h3
{
font-size: 30px;
}
h1, h2, h3
{
text-decoration: wavy underline;
border-bottom: 3px solid blue;
font-style: italic;
padding: 10px;
background-image: linear-gradient(238deg, rgba(174,118,245,1) 0%, rgba(215,231,154,1) 30%, rgba(231,111,210,1) 70%, rgba(216,237,167,1) 100%);
color: #f22;
text-align: center;
font-family: cursive;
margin: 30px 40px 30px;
}
pre, code
{
font-weight: bold;
color: #a00;
font-size: 13px;
}
pre
{
padding: 20px;
background-image: linear-gradient(45deg, rgba(191,48,68,0.5) 0%, rgba(90,192,227,0.5) 34%, rgba(204,3,170,0.5) 67%, rgba(180,255,0,0.5) 100%);
}
table
{
background: linear-gradient(to top right, #ffccff 0%, #ff99cc 100%);
border-collapse: collapse;
margin: 30px auto;
}
table td, th
{
border: 5px solid #faa;
padding: 4px;
text-align: center;
}
th
{
background-color: #c44dbc;
color: yellow;
font-family: italic;
font-style: italic;
border: 4px solid red;
}
a
{
color: #a845ff;
text-decoration: wavy underline;
font-family: ui-monospace;
}
.dead
{
color: #d47833;
text-decoration: wavy line-through;
}
ul
{
list-style: none;
}
ul li:before
{
content: "*";
margin: 0 5px;
color: red;
}
hr
{
border-top: none;
width: 70%;
border-bottom: 3px dotted blue;
}

View file

@ -4,9 +4,9 @@ body
{ {
padding: 20px 40px 0; padding: 20px 40px 0;
font-family: "Lucida Console", monospace; font-family: "Lucida Console", monospace;
color: #0e0; color: #0d0;
margin: auto; margin: auto;
background-color: #080808; background-color: #0e0e0e;
text-align: justify; text-align: justify;
font-size: 16px; font-size: 16px;
} }
@ -16,14 +16,9 @@ h1:first-of-type:after
content: ": HAX0R edition"; content: ": HAX0R edition";
} }
b, strong, h1, h2, h3 b, strong
{ {
color: #ddd; color: #ccc;
}
h1, h2, h3
{
background-color: #030;
} }
h1:before h1:before
@ -55,12 +50,16 @@ em, i
hr hr
{ {
margin: 20px 0 20px; margin: 20px 0 20px;
border: 1px solid #ccc;
} }
h1, h2, h3 h1, h2, h3
{ {
margin: 30px 0 10px; margin: 30px 0 10px;
border-bottom: 1px solid #0e0; border-bottom: 2px solid #0e0;
color: #eee;
background-color: #030;
padding: 5px 0 0;
} }
ul, ol ul, ol
@ -71,46 +70,60 @@ ul, ol
ul ul
{ {
list-style: square; list-style: none;
}
ul li:before
{
content: "-";
margin: 0 5px;
color: #eee;
} }
li li
{ {
margin: 3px 0; margin: 2px 0;
} }
pre, code pre, code
{ {
font-family: "Lucida Console", monospace; font-family: "Lucida Console", monospace;
background-color: #111; background-color: #111;
color: #eee; color: #ddd;
font-size: 15px; font-size: 15px;
} }
pre pre
{ {
padding: 3px 0 0 15px; padding: 3px 0 0 15px;
border-left: 3px solid #0e0; border-left: 2px solid #0e0;
} }
table table
{ {
border-collapse: collapse; border-collapse: collapse;
margin: 40px 20px;
} }
table td, th table td, th
{ {
border: 1px solid #eee; border: 1px solid #ccc;
padding: 5px 7px; padding: 6px 8px;
}
th
{
background-color: #444;
text-align: left;
} }
a a
{ {
color: #00e; color: #04f;
text-decoration: underline; text-decoration: underline;
} }
.dead .dead
{ {
color: #e00; color: #f20;
} }

File diff suppressed because one or more lines are too long

View file

@ -3,8 +3,8 @@
This is an autogenerated article holding stats about this wiki. This is an autogenerated article holding stats about this wiki.
- number of articles: 542 - number of articles: 542
- number of commits: 669 - number of commits: 670
- total size of all texts in bytes: 2807435 - total size of all texts in bytes: 2807491
longest articles: longest articles:
@ -24,6 +24,11 @@ longest articles:
latest changes: latest changes:
``` ```
Date: Tue Jan 30 00:32:40 2024 +0100
fun.md
jokes.md
wiki_pages.md
wiki_stats.md
Date: Mon Jan 29 23:38:34 2024 +0100 Date: Mon Jan 29 23:38:34 2024 +0100
backgammon.md backgammon.md
capitalism.md capitalism.md
@ -44,12 +49,6 @@ smol_internet.md
wiki_pages.md wiki_pages.md
wiki_stats.md wiki_stats.md
Date: Sun Jan 28 00:50:10 2024 +0100 Date: Sun Jan 28 00:50:10 2024 +0100
capitalism.md
race.md
trolling.md
wiki_pages.md
wiki_stats.md
Date: Sat Jan 27 19:48:32 2024 +0100
``` ```
most wanted pages: most wanted pages: