Skip to content

Commit 034a44f

Browse files
jamesobjnewbery
authored andcommitted
Minor layout and graphics tweaks
- Add a horizontal logo - Reposition a few elements on the home page
1 parent 04927a1 commit 034a44f

File tree

7 files changed

+33
-4
lines changed

7 files changed

+33
-4
lines changed

_includes/header.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
<div class="wrapper">
55
{%- assign default_paths = site.pages | map: "path" -%}
66
{%- assign page_paths = site.header_pages | default: default_paths -%}
7-
<a class="site-title" rel="author" href="{{ "/" | relative_url }}"><img src="/img/logos/optech-logo-margin.png" alt="OpTech Logo" height="64" width="64"> {{ site.title | escape }}</a>
7+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">
8+
<img src="/img/logos/optech-horiz.png" alt="OpTech Logo">
9+
</a>
810

911
{%- if page_paths -%}
1012
<nav class="site-nav">

_layouts/home.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
<h1 class="page-heading">{{ page.title }}</h1>
1010
{%- endif -%}
1111

12-
{{ content }}
12+
<div class="content">
13+
{{ content }}
14+
</div>
1315

1416
{% assign posts=site.posts | where:"lang", 'en' | where:"type", 'posts' | sort:'post.date' %}
1517
{%- if posts.size > 0 -%}

_layouts/page.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
# Forked from the default minima layout to include our main.css
3+
24
layout: default
35
---
46
<link rel="stylesheet" href="/assets/css/main.css">

assets/css/main.scss

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
@import "minima";
66
@import "vendor/font-awesome/font-awesome";
77

8+
h2 {
9+
margin-top: 2em;
10+
}
11+
812
br.clear {
913
clear: left;
1014
}
@@ -58,3 +62,21 @@ p.sponsor-quote {
5862
.author-role {
5963
margin-bottom: 0;
6064
}
65+
66+
a.site-title {
67+
width: 8em;
68+
}
69+
70+
.home .content {
71+
margin-top: 2em;
72+
73+
> .logo {
74+
width: 20%;
75+
min-width: 8em;
76+
float: right;
77+
display: inline-block;
78+
margin-left: 1.3em;
79+
margin-bottom: 1.3em;
80+
margin-right: 1.3em;
81+
}
82+
}

img/logos/optech-horiz.png

12.1 KB
Loading

img/logos/optech-notext.png

5.63 KB
Loading

index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
layout: home
66
---
7-
{:style="text-align: center"}
8-
![OpTech Logo](/img/logos/optech.png)
7+
8+
{:.logo}
9+
![Optech Logo](/img/logos/optech-notext.png)
910

1011
The Bitcoin Operations Technology Group (Optech) works to bring the best
1112
open source technologies and techniques to Bitcoin-using businesses in

0 commit comments

Comments
 (0)