Compare commits

..

No commits in common. "c46ffec7fc37aeda7bb0f7673154fad06f806d3d" and "0577a56127a42e7551695e20b1d2b9e59b1fa5ed" have entirely different histories.

6 changed files with 24 additions and 28 deletions

View File

@ -6,7 +6,6 @@ printf "%s" "Enter URL: "
read URL
articles=$(curl -s "$URL/articles.txt")
articles=$(echo -n "$articles" | python3 -c "import sys; from urllib.parse import unquote; print(unquote(sys.stdin.read()));")
while :
do

View File

@ -1,35 +1,24 @@
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #111;
--fg-color: #fff;
--hover-color: #e0e0e0;
--link-color: dodgerblue;
--nav-border-color: #bbbbdd;
}
}
@media only screen and (max-device-width: 480px) {
article, .container {
width: 100%;
}
html {
font-size: 13px;
}
}
* {
* {
color: var(--fg-color);
text-decoration: none;
}
a {
a {
color: var(--link-color);
}
html {
html {
font-size: 20px;
font-family: "Charter", "Georgia", "Times New Roman", serif;
font-family: "Charter","Georgia",'Times New Roman',serif;
}
body {
background-color: var(--bg-color);
line-height: 1.3;
@ -76,15 +65,15 @@
flex-wrap: nowrap;
font-size: 0.8em;
background-color: var(--bg-color);
border: 1px solid var(--nav-border-color);
border: 1px solid #bbbbdd;
overflow: scroll;
}
nav li:first-child {
border-left: none;
}
nav li {
border-right: 1px solid var(--nav-border-color);
border-left: 1px solid var(--fg-color);
border-right: 1px solid #bbbbdd;
border-left: 1px solid #ffffff;
}
nav a {
padding: 0.4em 1em;
@ -93,7 +82,7 @@
font-family: arial, sans;
}
nav a:hover {
background-color: var(--hover-color);
background-color: #e0e0e0;
}
nav a:link {
color: var(--link-color);
@ -102,10 +91,18 @@
color: var(--link-color);
}
nav a.here {
background-color: var(--hover-color);
background-color: #e0e0e0;
}
@media only screen and (max-device-width: 480px) {
article, .container {
width: 100%;
}
html {
font-size: 13px;
}
}
img {
img {
max-width: 100%;
height: auto;
width: auto;

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
# todo: Show related git history of a file?

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
from sys import argv, exit
from os import walk, path

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
from sys import argv, exit
from random import seed

View File

@ -11,7 +11,7 @@ _navbar_lis = '\n'.join(f"""<li><a {' '.join(
_head = f"""
<div class="container">
<nav>
<nav class="custom-nav">
<ul>
{_navbar_lis}
</ul>