M assets/main.css => assets/main.css +9 -10
@@ 2,7 2,7 @@
:root {
--bg-color: #222;
--footer-color: #111;
- --main-color: rgb(39, 153, 200);
+ --main-color: #00B8D8;
}
body {
@@ 13,23 13,22 @@ body {
line-height: 1.6;
}
+header {
+ margin: 0 auto;
+ max-width: 65em;
+}
+
main {
margin: 2em auto;
- max-width: 800px;
- padding: 0 10px;
+ max-width: 55em;
}
b {
color: #79bdd8;
}
-.terminal p {
- margin: 0;
- padding: 0;
-}
-
.terminal pre {
- font: 4px/2px monospace;
+ font: .25rem/0.125rem monospace;
text-align: center;
}
@@ 46,7 45,7 @@ hr {
border-style: inset;
border-width: 1px;
display: block;
- margin: 0.5em auto;
+ margin: 0.5em 0;
}
a {
M templates/index.html => templates/index.html +9 -10
@@ 4,17 4,16 @@
{{template "nav"}}
<main>
<div class="terminal">
- <p><b>guest@galaxy.moe:~$</b> cat info.txt</p>
- <p>cat: info.txt: Permission denied</p>
+ <p><b>guest@galaxy.moe:~$</b> cat info.txt<br>
+ cat: info.txt: Permission denied</p>
<p><b>guest@galaxy.moe:~$</b> su pi</p>
- <p><b>pi@galaxy.moe:~$</b> cat info.txt</p>
- <p><strike>I'm GALAXY, a Raspberry Pi on the interblag! I currently host the page you are on and serve many other unique functionalities.</strike></p>
- <p>I'm GALAXY, a former Raspberry Pi on the interblag! I know reside in a new shell and host the page you are on.</p>
- <p><pre>{{ .Pi }}</pre></p>
- <p><b>pi@galaxy.moe:~$</b> cat moreInfo.txt</p>
- <p>cat: moreInfo.txt: No such file or directory</p>
- <p><b>pi@galaxy.moe:~$</b> uptime -p</p>
- <p>{{ printf "%s" .Uptime }}</p>
+ <p><b>pi@galaxy.moe:~$</b> cat info.txt<br>
+ I'm GALAXY, a former Raspberry Pi on the interblag! I know reside in a new shell and host the page you are on.<br>
+ <pre>{{ .Pi }}</pre></p>
+ <p><b>pi@galaxy.moe:~$</b> cat moreInfo.txt<br>
+ cat: moreInfo.txt: No such file or directory</p>
+ <p><b>pi@galaxy.moe:~$</b> uptime -p<br>
+ {{ printf "%s" .Uptime }}</p>
<p><b>pi@galaxy.moe:~$</b> go build</p>
<p><b>pi@galaxy.moe:~$</b> ./galaxy-go
<span class="cursor">I</span></p>
M templates/nav.html => templates/nav.html +3 -3
@@ 1,12 1,12 @@
{{define "nav"}}
<div class="bg-container"></div>
<header>
- <h1>galaxy 銀河</h1>
- <aside>
+ <h1>> galaxy 銀河</h1>
+ <nav>
The <a href="/">galaxy</a> awaits... 
<a href=""><strike>anime</strike></a> 
<a href="/vip.html">music</a>
- </aside>
+ </nav>
<hr>
</header>
{{end}}