diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/blog/how-to-setup-a-git-server-and-cgit.html | 2 | ||||
| -rw-r--r-- | public/index.html | 2 | ||||
| -rw-r--r-- | public/site.css | 10 |
3 files changed, 12 insertions, 2 deletions
diff --git a/public/blog/how-to-setup-a-git-server-and-cgit.html b/public/blog/how-to-setup-a-git-server-and-cgit.html index d54beda..871690d 100644 --- a/public/blog/how-to-setup-a-git-server-and-cgit.html +++ b/public/blog/how-to-setup-a-git-server-and-cgit.html @@ -3,7 +3,7 @@ <body>
<main style="min-height: 100vh;">
<div class="center">
- <div style="max-width: 720px;">
+ <div class="width">
<h1 style="text-align: center;">How to Self-Host a Git Server</h1>
<p>This guide is a modified version of the <a href="https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server">git book</a> instructions for Debian specifically.<br>
It also includes setting up a cgit web front-end that allows you to view your git repositories conveniently on the web just like <a href="https://git.haemolacriaa.com/">I do</a>.</p>
diff --git a/public/index.html b/public/index.html index 2b46caa..3093c59 100644 --- a/public/index.html +++ b/public/index.html @@ -4,7 +4,7 @@ <main style="min-height: 100vh;">
<h1 style="text-align: center; margin-bottom: 0px;">Electrical Engineer</h1>
<div class="center">
- <div style="text-align: left; max-width: 720px;">
+ <div style="text-align: left;" class="width">
<p>You might be here because you were tricked! However, I refuse to scam you like instagram grifters with similar bios will.</p>
<p><a href="/blog">My blog</a> contains tutorials on various electrical engineering topics like signal processing and also other tech things.</p>
<p>Listen to <a href="/music">my music.</a> The majority of streaming services should be linked.</p>
diff --git a/public/site.css b/public/site.css index d760537..d8ec7ba 100644 --- a/public/site.css +++ b/public/site.css @@ -32,6 +32,16 @@ pre { border-radius: 4px;
}
+
+.width {
+ max-width: 720px;
+
+ @media (width <= 720px) {
+ overflow: clip;
+ max-width: 90vw;
+ }
+}
+
.center {
display: flex;
align-items: center;
|
