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 read URL
articles=$(curl -s "$URL/articles.txt") 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 : while :
do do

View File

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/python3
# todo: Show related git history of a file? # 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 sys import argv, exit
from os import walk, path from os import walk, path

View File

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

View File

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