Skip to content

Commit b94eff1

Browse files
authored
Merge pull request #17 from tessel/tachyons-integration
Tachyons integration
2 parents d55a0ff + 2f0f121 commit b94eff1

File tree

9 files changed

+234
-217
lines changed

9 files changed

+234
-217
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ db.json
44
*.log
55
node_modules/
66
public/
7-
.deploy*/
7+
.deploy*/
8+
*.swp

source/index.hbs

+219-203
Large diffs are not rendered by default.

theme/layout/page.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{/inline}}
99

1010
{{#*inline "container" }}
11-
<section class="page-content">
11+
<section class="ml3">
1212
{{{page.content}}}
1313
</section>
1414
{{/inline}}

theme/layout/partials/head.hbs

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
<meta name="viewport" content="width=device-width, initial-scale=1">
1212
<link rel="icon" href="{{theme.favicon}}">
1313
<link rel="stylesheet" href="/css/theme.css">
14-
<link rel="search" type="application/opensearchdescription/xml" href="/atom.xml" title="{{config.title}}">
14+
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/tachyons.min.css"/>
15+
<link rel="search" type="application/opensearchdescription/xml" href="/atom.xml" title="{{config.title}}">

theme/layout/partials/layout.hbs

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
<head>{{> head }}</head>
55

66
<body>
7-
<div class="wrap">
7+
<div class="w-100 ph5">
88
<header>{{!-- img.logo-image(src=url_for(theme.logo) alt='logo')--}}
9-
<h1 class="branding">
9+
<h1 class="dib mt2 relative mb0">
1010
<a href="/" title="{{config.title}}">
1111
{{#if theme.logo}}
12-
<img src="{{theme.logo}}" alt="logo" class="logo-image">
12+
<img src="{{theme.logo}}" alt="logo" class="w-40">
1313
{{/if}}
1414
</a>
1515
</h1>
1616
{{> nav }}
1717
</header>
18-
<main class="container">{{> container }}</main>
18+
<main>{{> container }}</main>
1919
<footer>{{> pagination }}{{> copyright }}</footer>
2020
</div>{{> scripts }}</body>
2121

22-
</html>
22+
</html>

theme/layout/partials/nav.hbs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<ul class="nav nav-list">
1+
<ul class="ma0 pa0 list fr">
22
{{#each theme.menu as |value key|}}
3-
<li class="nav-list-item">
4-
<a href="{{value}}" class="nav-list-link {{#if act}}active{{/if}}">{{key}}</a>
3+
<li class="dib ph2 pv3">
4+
<a href="{{value}}" class="{{#if act}}bb bw2 b--green{{/if}}">{{key}}</a>
55
</li>
66
{{/each}}
7-
</ul>
7+
</ul>

theme/source/css/theme.scss

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* generated with grunt-sass-globbing */
22

33
@import "../scss/pages/blog";
4-
@import "../scss/pages/home";
54
@import "../scss/pages/modules";
65
@import "../scss/shared/archive-post-list";
76
@import "../scss/shared/base";

theme/source/scss/theme.scss

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
@import "shared/highlight";
1212

1313
@import "pages/blog";
14-
@import "pages/home";
1514
@import "pages/modules";
1615

1716
@font-face {

themes/tessel/source/css/theme.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)