Commit 4ace12e7 authored by apiraino's avatar apiraino 🤢 Committed by tglman
Browse files

More responsive header

parent f14b7856
......@@ -4,10 +4,10 @@ variables:
COBALT_VERSION: "v0.15.10"
before_script:
- apt-get update
- apt-get update
- apt-get -y install curl
- apt-get -y install rsync
- apt-get -y install ssh
- apt-get -y install ssh
- curl -LSfs https://japaric.github.io/trust/install.sh |
sh -s --
--git cobalt-org/cobalt.rs
......@@ -19,7 +19,6 @@ build:
when: manual
script:
- export PATH="$PATH:~/.cargo/bin"
- cobalt build
- cobalt build
- export RSYNC_PASSWORD=$SSH_PASSWORD
- rsync -e 'ssh -oStrictHostKeyChecking=no -p 2222' --delete -a build/* $SSH_URL:~/
# persy.rs
Website for [Persy](https://persy.rs).
Website code runs on [Cobalt](https://github.com/cobalt-org/), a static site generator.
## Run
Download a Cobalt release: https://github.com/cobalt-org/cobalt.rs/releases
Untar and copy it into (ex.) `~/.local/bin/`
$ cd site-persy.rs
$ cobalt serve
...
[info] Server Listening on http://localhost:3000
...
<div class="main">
<header>
<a class="logo" href="/" alt="Persy Logo"> <img src="/logo.png"/><h1>Persy.rs</h1> </a>
<div class="overview">
<nav>
<a href="https://gitlab.com/tglman/persy"> Source Repo </a>
<a href="https://crates.io/crates/persy"> Crates.io </a>
<a href="https://mastodon.technology/@persy_rs"> Mastodon </a>
<a href="https://gitlab.com/tglman/persy/issues"> Issues </a>
<a href="mailto:dev@persy.rs"> Contact </a>
</nav>
</div>
</header>
<section class="menu">
<nav>
<a href="/"> What's Persy </a><br/>
<a href="/posts/changelog.html">Change Log</a><br/>
<a href="/posts/roadmap.html">Roadmap</a><br/>
<a href="/posts/persy-0.9.html"> Persy 0.9 Release</a><br/>
<a href="/posts/getting-started.html">Getting Started</a><br/>
<a href="/posts/structure.html">Internal Storage Structure</a><br/>
<a href="/posts/old-releases.html">Old Releases</a><br/>
<a href="/posts/tools.html">Tools</a><br/>
<a href="/posts/used_by.html">Used By</a><br/>
<!-- <a href="/posts/hcc-api.html"> High Consistency Concurrency API </a><br/> -->
</nav>
<div class="main">
<header>
<a class="logo" href="/" alt="Persy Logo"><img src="/logo.png"/><h1>Persy.rs</h1></a>
<div class="overview">
<nav>
<a href="https://gitlab.com/tglman/persy">Source Repo</a>
<a href="https://crates.io/crates/persy">Crates.io</a>
<a href="https://mastodon.technology/@persy_rs">Mastodon</a>
<a href="https://gitlab.com/tglman/persy/issues">Issues</a>
<a href="mailto:dev@persy.rs">Contact</a>
</nav>
</div>
</header>
<section class="menu">
<nav>
<a href="/"> What's Persy </a><br/>
<a href="/posts/changelog.html">Change Log</a><br/>
<a href="/posts/roadmap.html">Roadmap</a><br/>
<a href="/posts/persy-0.9.html">Persy 0.9 Release</a><br/>
<a href="/posts/getting-started.html">Getting Started</a><br/>
<a href="/posts/structure.html">Internal Storage Structure</a><br/>
<a href="/posts/old-releases.html">Old Releases</a><br/>
<a href="/posts/tools.html">Tools</a><br/>
<a href="/posts/used_by.html">Used By</a><br/>
<!-- <a href="/posts/hcc-api.html">High Consistency Concurrency API</a><br/> -->
</nav>
</section>
</section>
@font-face {
font-family:'envy_code';
src:url("/envy_code_r.ttf") format("truetype")
font-family:'envy_code';
src:url("/envy_code_r.ttf") format("truetype")
}
a {
color:#073642;
color:#073642;
}
a:hover {
color:darkblue;
color:darkblue;
}
body {
background-color:#fdf6e3;
background-color:#fdf6e3;
}
body > .main {
font-family:"envy_code","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;
min-width:300px;
width:80%;
margin:auto;
color:#073642;
font-family:"envy_code","Helvetica Neue","Helvetica","Roboto","Arial",sans-serif;
min-width:300px;
width:80%;
margin:auto;
color:#073642;
}
.done {
color:green;
font-size:1.4em;
color:green;
font-size:1.4em;
}
.todo {
color:red;
font-size:1.4em;
color:red;
font-size:1.4em;
}
.main > header {
height:160px;
height:160px;
}
header > .logo {
float:left;
float:left;
padding-right: 10px;
}
header > .logo>img {
float:left;
height:150px;
header > .logo > img {
height:150px;
padding-right: 30px;
}
header > .logo>h1 {
float:right;
margin-left:40px;
margin-top:55px;
font-weight:bold;
font-size:3em;
header > .logo > h1 {
padding-top: 10px;
float:right;
font-weight:bold;
font-size:3em;
}
header .overview {
margin-left:auto;
margin-right:0;
padding-top: 40px;
width:38em;
margin-left:auto;
margin-right:0;
padding-top: 40px;
}
header .overview > nav {
padding:15px 0;
border-radius:15px;
background-color:#FFFDF7;
padding:10px;
border-radius:15px;
background-color:#FFFDF7;
}
header .overview > nav > a {
padding:10px;
text-decoration:none;
font-weight:bold;
font-size:1.2em;
padding:10px;
text-decoration:none;
font-weight:bold;
font-size:1.2em;
}
.content >div > h1 {
text-align:center;
font-size:2.5em;
text-align:center;
font-size:2.5em;
}
.main > .menu {
padding-top:50px;
width:200px;
height:400px;
float:left;
padding-top:50px;
width:200px;
height:400px;
float:left;
}
.menu > nav >a {
padding-top:10px;
display:block;
}
padding-top:10px;
display:block;
}
.main > .content {
padding-left:200px;
padding-left:200px;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment