Skip to content

Commit 3a49df4

Browse files
author
Your Name
committed
change styling a little
1 parent 04472a8 commit 3a49df4

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

src/wiiiikiiii.nim

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,15 @@ proc main() =
8888
var indexhtml = "<h2>Looking for something specific? Do CTRL+F to find it!</h2>"
8989
indexhtml &= "tag listing: "
9090
index.sort(customCmp, SortOrder.Descending)
91+
var first = true
92+
var comma = ""
9193
for i in tags.keys():
92-
indexhtml &= fmt"<a href=/tags/{i}.html>{i}</a>&MediumSpace;"
94+
if first:
95+
comma = ""
96+
first = false
97+
else:
98+
comma = ",&MediumSpace;"
99+
indexhtml &= fmt"{comma}<a href=/tags/{i}.html>{i}</a>"
93100
tags[i] &= fmt"<h1>Listing for tag '{i}'</h1>"
94101
indexhtml &= "<p>(newest posts are first.)</p>"
95102
for i in index:

wiiiikiiii.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ bin = @["wiiiikiiii"]
1010

1111
# Dependencies
1212

13-
requires "nim >= 2.3.1"
13+
requires "nim >= 2.2.4"
1414
requires "markdown >= 0.8.0"

wiki/pages/blogs/20250112.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is the beginning of my blog on this site, in this blog I will walk through
55

66
As of 2025/01/12 this is complete.
77

8-
~~It should be *fairly* simple. I just need to make it so whenever the code finds a non-markdown file it copies it without converting it to HTML.~~
8+
<s>It should be *fairly* simple. I just need to make it so whenever the code finds a non-markdown file it copies it without converting it to HTML.</s>
99

1010
## Improve Styling
1111

wiki/templates/base.css

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ body {
1010
font-variation-settings: "wdth" 100;
1111
}
1212

13-
@font-face {
14-
font-family: Archivo;
15-
src: url(archivo.ttf);
16-
}
17-
1813
.title {
1914
text-align: left;
2015
font-size: medium;
@@ -31,15 +26,24 @@ hr {
3126
}
3227

3328
a {
34-
color: rgb(155 155 211);
29+
color: rgb(80, 80, 220);
30+
text-decoration: none;
3531
cursor: pointer;
3632
}
3733

34+
a:hover {
35+
color: rgb(61, 61, 183)
36+
}
37+
3838
.header {
3939
display:flex;
4040
align-items: center;
4141
}
4242

4343
.content {
4444
margin: 1%;
45+
}
46+
47+
.content img {
48+
margin-right: 1%;
4549
}

0 commit comments

Comments
 (0)