~nature/galaxy.moe

41fc0e1838152b7cc5fd02fa58805f8371d3cc9c — LordNature 4 years ago d703176
Changed styling of pages and updated content

index:
	- Removed old GALAXY description.
	- Moved each command to its own paragraph.
css:
	- Removed styling for no paragraph spacing to complement above change.
	- Changed color to more cheerful one.
	- Centered header.
nav:
	- Changed <aside> to <nav>
3 files changed, 21 insertions(+), 23 deletions(-)

M assets/main.css
M templates/index.html
M templates/nav.html
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>&gt; galaxy 銀河</h1>
	<nav>
		The <a href="/">galaxy</a> awaits...&emsp;
		<a href=""><strike>anime</strike></a>&emsp;
		<a href="/vip.html">music</a>
	</aside>
	</nav>
	<hr>
</header>
{{end}}