Skip to content

Commit 1f28b96

Browse files
committed
Design
1 parent 2337651 commit 1f28b96

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

docs/_includes/nav.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<nav>
22
<div id="logo">
3-
<a href="/"><img src="/assets/composed.png" /></a>
3+
<a href="/">Composed<!--img src="/assets/composed.png" /--></a>
44
</div>
55
<div id="categories">
66
<!--a href="/">All</a> <span>({{ site.posts | where_exp:"post","post.sitemap != false" | size }})</span-->
77
<a href="/python/">Python</a> <span>({{ site.categories.python | where_exp: "post","post.sitemap != false" | size }})</span>
88
<a href="/jsonrpc/">JSON-RPC</a> <span>({{ site.categories.jsonrpc | where_exp: "post","post.sitemap != false" | size }})</span>
99
<a href="/airflow/">Airflow</a> <span>({{ site.categories.airflow | where_exp: "post","post.sitemap != false" | size }})</span>
10-
<a href="/haskell/">Haskell</a> <span>({{ site.categories.haskell | where_exp: "post","post.sitemap != false" | size }})<span>
10+
<a href="/haskell/">Haskell</a> <span>({{ site.categories.haskell | where_exp: "post","post.sitemap != false" | size }})</span>
1111
</div>
1212
</nav>

docs/main.scss

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,19 @@ body {
6161
}
6262

6363
nav {
64+
display: none;
6465
// background: linear-gradient(to right, hsl(176, 96%, 50%), hsl(330, 100%, 50%));
6566
// box-shadow: 0 5px 5px -2px #999;
66-
margin: $vspace;
67+
background-color: black;
68+
margin-bottom: $vspace;
69+
padding: 10px $hspace;
70+
@extend .bodytext;
71+
font-size: smaller;
6772

6873
#logo {
69-
display: none;
70-
@extend .bodytext;
71-
text-align: center;
74+
float: left;
7275
a {
7376
color: white;
74-
font-weight: bold;
7577
text-decoration: none;
7678
}
7779
img {
@@ -80,14 +82,11 @@ nav {
8082
}
8183

8284
#categories {
83-
display: none;
84-
@extend .bodytext;
85-
font-size: smaller;
8685
text-align: right;
8786
color: black;
8887
a {
8988
color: white;
90-
margin-left: 1em;
89+
margin-left: 0.5em;
9190
text-decoration: none;
9291
}
9392
span {
@@ -180,10 +179,7 @@ main {
180179
}
181180

182181
#intro p {
183-
padding: 0;
184182
margin: 0;
185-
margin-bottom: 0;
186-
font-weight: 500;
187183
background: linear-gradient(104deg, rgba(130, 255, 173,0) 0.9%, rgba(130, 255, 173,1.25) 2.4%, rgba(130, 255, 173,0.5) 5.8%, rgba(130, 255, 173,0.1) 93%, rgba(130, 255, 173,0.7) 96%, rgba(130, 255, 1732,0) 98%), linear-gradient(183deg, rgba(130, 255, 173,0) 0%, rgba(130, 255, 173,0.3) 7.9%, rgba(130, 255, 173,0) 15%);
188184
padding: 0.6em $hspace;
189185
}

0 commit comments

Comments
 (0)