Skip to content

Commit

Permalink
WIP site
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Prouillet committed Sep 8, 2017
1 parent f5e1b0c commit 52fa0c3
Show file tree
Hide file tree
Showing 9 changed files with 622 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
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
Expand Down
9 changes: 9 additions & 0 deletions docs/config.toml
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"
71 changes: 71 additions & 0 deletions docs/sass/_base.scss
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 {

}
14 changes: 14 additions & 0 deletions docs/sass/_header.scss
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;
}
}
}
10 changes: 10 additions & 0 deletions docs/sass/_index.scss
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;
}
}
17 changes: 17 additions & 0 deletions docs/sass/_layout.scss
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;
}
Loading

0 comments on commit 52fa0c3

Please sign in to comment.