forked from getzola/zola
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vincent Prouillet
committed
Sep 8, 2017
1 parent
f5e1b0c
commit 52fa0c3
Showing
9 changed files
with
622 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
target | ||
.idea/ | ||
components/site/test_site/public | ||
docs/public | ||
|
||
small-blog | ||
medium-blog | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
base_url = "https://example.com" | ||
title = "Gutenberg - your one-stop static site engine" | ||
description = "Everything you need to make a static site engine in one binary. And it's fast" | ||
|
||
compile_sass = true | ||
highlight_code = true | ||
|
||
[extra] | ||
author = "Vincent Prouillet" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
html, body { | ||
font-size: 16px; | ||
height: 100%; | ||
} | ||
|
||
body { | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | ||
line-height: 1.6; | ||
background-color: #191919; | ||
color: white; | ||
|
||
// for sticky footer | ||
display: flex; | ||
flex-direction: column; | ||
min-height: 100vh; | ||
} | ||
|
||
a { | ||
color: white; | ||
text-decoration: none; | ||
cursor: pointer; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
&:visited { | ||
color: white; | ||
} | ||
|
||
// totally taken from stripe | ||
&.button { | ||
outline: none; | ||
white-space: nowrap; | ||
display: inline-block; | ||
height: 40px; | ||
line-height: 40px; | ||
padding: 0 14px; | ||
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); | ||
background: #fff; | ||
border-radius: 4px; | ||
font-size: 15px; | ||
font-weight: 600; | ||
text-transform: uppercase; | ||
letter-spacing: .025em; | ||
color: #191919; | ||
text-decoration: none; | ||
transition: all .15s ease; | ||
|
||
&:hover { | ||
transform: translateY(-1px); | ||
text-decoration: none; | ||
box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08); | ||
} | ||
|
||
&:active { | ||
background-color: #f6f9fc; | ||
transform: translateY(1px); | ||
// box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, .08); | ||
} | ||
} | ||
} | ||
|
||
pre { | ||
padding: 1rem; | ||
overflow: auto; | ||
} | ||
|
||
button { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
header { | ||
nav a { | ||
margin-right: 1rem; | ||
} | ||
|
||
.header__logo { | ||
font-size: 2rem; | ||
font-weight: bold; | ||
|
||
&:hover { | ||
text-decoration: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.hero { | ||
width: 60%; | ||
margin: 0 auto; | ||
margin-top: 3rem; | ||
text-align: center; | ||
|
||
&__tagline { | ||
margin-bottom: 2rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
header { | ||
padding: 2rem 0; | ||
|
||
nav { | ||
max-width: 1000px; | ||
margin: 0 auto; | ||
} | ||
} | ||
|
||
footer { | ||
text-align: center; | ||
padding: 2rem 0; | ||
} | ||
|
||
.content { | ||
flex-grow: 1; | ||
} |
Oops, something went wrong.