aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-08-27 21:03:58 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-08-27 21:03:58 +0200
commit8cef95ad039006a1f7eab8a760c76df8fa514dec (patch)
tree6a701aedba738080c3a7faa330393d5565958dc7 /src
parentc1aa735a671a06687ea2ce02e6b904f08fa3159b (diff)
New footer, and some polish
Diffstat (limited to 'src')
-rw-r--r--src/_footer.html18
-rw-r--r--src/_header.html7
-rw-r--r--src/game.md4
-rw-r--r--src/index.md7
-rw-r--r--src/styles/style.css23
5 files changed, 32 insertions, 27 deletions
diff --git a/src/_footer.html b/src/_footer.html
index 1d44726..25534df 100644
--- a/src/_footer.html
+++ b/src/_footer.html
@@ -1,3 +1,19 @@
- <p class="footer"><a href="/">adast.xyz</a></p>
+ </div class="center">
+ </div>
+ <footer>
+ <a href="/" class="homepage-link">adast.xyz</a>
+ &nbsp;&mdash;&nbsp;
+ <a href="https://git.adast.xyz/explore/repos">Gitea</a>
+ &nbsp;&bull;&nbsp;
+ <a href="https://github.com/adastx">Github</a>
+ &nbsp;&bull;&nbsp;
+ <a href="https://odysee.com/@adamski:f">Odysee</a>
+ &nbsp;&bull;&nbsp;
+ <a href="https://youtube.com/c/adamski1">Youtube</a>
+ &nbsp;&bull;&nbsp;
+ <a href="https://www.twitch.tv/adastx">Twitch</a>
+ &nbsp;&bull;&nbsp;
+ <a href="https://steamcommunity.com/id/adastx">Steam</a>
+ </footer>
</body>
</html>
diff --git a/src/_header.html b/src/_header.html
index f31ee79..ec38958 100644
--- a/src/_header.html
+++ b/src/_header.html
@@ -9,4 +9,9 @@
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
- <p class="header"><a href="/">adast.xyz</a></p>
+ <div style="min-height:100vh; display:flex; flex-direction:column; justify-content:space-between;">
+ <div>
+ <header>
+ <a href="/" class="homepage-link">adast.xyz</a>
+ </header>
+ <div class="center">
diff --git a/src/game.md b/src/game.md
index d8f6f58..455dc8c 100644
--- a/src/game.md
+++ b/src/game.md
@@ -18,5 +18,5 @@ Main features (so far):
I'm in the process of rewriting a lot of systems in the game at the moment because I'm switching from janky p2p multiplayer to an authoritative server setup with client-side prediction [(more)](https://www.gabrielgambetta.com/client-server-game-architecture.html).
-[Gameplay clips](https://www.youtube.com/c/adamski1)
-[Follow my progress](https://trello.com/b/ycQyrouQ)
+&#10148;&ensp;&ensp;[Gameplay clips](https://www.youtube.com/c/adamski1)
+&#10148;&ensp;&ensp;[Follow my progress](https://trello.com/b/ycQyrouQ)
diff --git a/src/index.md b/src/index.md
index d7be6ff..d3abc15 100644
--- a/src/index.md
+++ b/src/index.md
@@ -5,9 +5,4 @@ My name is Adam and I am a computer nerd studying at Aalborg University. I am in
I'm currently working as a student developer at E-Komplet and I work on my multiplayer old-school arena shooter in my free time. I occasionally post videos of my game along with other stuff [here](https://youtube.com/c/adamski1).
## Posts
-[Project Aftershock // Rizen's Arena](game.html)
-
-## Links
-[Gitea](https://git.adast.xyz/explore/repos), [Github](https://github.com/adastx)
-[Odysee](https://odysee.com/@adamski:f), [Youtube](https://youtube.com/c/adamski1), [Twitch](https://www.twitch.tv/adastx)
-[Steam](https://steamcommunity.com/id/adastx)
+&#10148;&ensp;&ensp;[Project Aftershock // Rizen's Arena](game.html)
diff --git a/src/styles/style.css b/src/styles/style.css
index e76f9b9..976898c 100644
--- a/src/styles/style.css
+++ b/src/styles/style.css
@@ -12,7 +12,6 @@ h1 {
font-size: 2em;
}
-
a {
color: #fda;
text-decoration: none;
@@ -39,7 +38,6 @@ pre code {
color: #ddd;
}
-
p img, table {
max-width: 100%;
}
@@ -49,7 +47,6 @@ img {
margin-right: auto;
}
-
blockquote {
background-color: #222;
border-left: 5px solid #e6c79a;
@@ -57,31 +54,23 @@ blockquote {
padding-left: 1em;
}
-
-.header {
+header {
font-size: 2em;
margin-top: 1.5em;
margin-bottom: 2em;
}
-.footer {
- margin-top: 2em;
+footer {
+ margin-top: 3em;
margin-bottom: 4em;
+ text-align: center;
}
.note {
margin: 0;
}
-.header, .footer, .note, .note a {
+header, footer, .note, .note a {
color: #888;
}
-.header a, .footer a {
+.homepage-link {
color: rgb(198, 90, 90);
text-decoration-color: #555;
}
-
-
-/* .button {
- display: inline-block;
- border-color: #fda;
- padding: 0.5em 1em;
- text-decoration: none;
-} */