-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
e4b4478
commit 2fb97bc
Showing
32 changed files
with
474 additions
and
372 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
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
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
@import "./reset.css"; | ||
@import "./typography.css"; | ||
@import "./highlight.css"; | ||
@import "./heading-anchors.css"; |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
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,3 @@ | ||
.wrapper { | ||
lost-center: 1070px; | ||
} |
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,13 @@ | ||
import React, { PropTypes } from "react" | ||
import Link from "statinamic/lib/Link" | ||
import styles from "./styles.css" | ||
|
||
const GoHomeButton = ({ text }) => (( | ||
<Link to="/" className={ styles.button }>{ text }</Link> | ||
)) | ||
|
||
GoHomeButton.propTypes = { | ||
text: PropTypes.string.isRequired, | ||
} | ||
|
||
export default GoHomeButton |
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,27 @@ | ||
.button { | ||
font-family: 'Raleway', Helvetica, Arial, sans-serif; | ||
font-size: 16px; | ||
text-align: center; | ||
color: #343e47; | ||
font-weight: 600; | ||
position: fixed; | ||
left: 20px; | ||
top: 20px; | ||
opacity: 0.5; | ||
padding: 8px 18px; | ||
border: 2px solid #343e47 !important; | ||
border-radius: 3px; | ||
|
||
@media (--md) { | ||
position: static; | ||
margin: 20px auto 0; | ||
text-align: center; | ||
width: 85px; | ||
display: block; | ||
} | ||
} | ||
|
||
.button:hover { | ||
color: #201e28; | ||
opacity: 1; | ||
} |
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,22 @@ | ||
import React, { Component, PropTypes } from "react" | ||
import SidebarLeft from "../SidebarLeft" | ||
import styles from "./styles.css" | ||
|
||
export default class SidebarLayout extends Component { | ||
static propTypes = { | ||
children: PropTypes.node.isRequired, | ||
}; | ||
|
||
render() { | ||
return ( | ||
<div> | ||
<SidebarLeft /> | ||
<div className={ styles.wrapper }> | ||
<main className={ styles.inner }> | ||
{ this.props.children } | ||
</main> | ||
</div> | ||
</div> | ||
) | ||
} | ||
} |
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,27 @@ | ||
.wrapper { | ||
lost-column: 2/3; | ||
|
||
@media (--lg) { | ||
lost-column: 2/4; | ||
} | ||
@media (--md) { | ||
lost-column: 7/12; | ||
} | ||
@media (--sm) { | ||
lost-column: 4/4; | ||
} | ||
} | ||
|
||
.inner { | ||
padding: 40px 35px; | ||
|
||
@media (--lg) { | ||
padding: 35px 20px; | ||
} | ||
@media (--md) { | ||
padding: 30px 20px | ||
} | ||
@media (--sm) { | ||
padding: 25px 20px; | ||
} | ||
} |
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
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,87 @@ | ||
.wrapper { | ||
lost-column: 1/3; | ||
|
||
@media (--lg) { | ||
lost-column: 2/4; | ||
} | ||
@media (--md) { | ||
lost-column: 5/12; | ||
} | ||
@media (--sm) { | ||
lost-column: 4/4; | ||
} | ||
} | ||
|
||
.inner { | ||
position: relative; | ||
padding: 40px; | ||
|
||
@media (--lg) { | ||
padding: 35px 20px 0; | ||
} | ||
@media (--md) { | ||
padding: 30px 20px 0; | ||
} | ||
@media (--sm) { | ||
padding: 25px 20px 0; | ||
} | ||
} | ||
|
||
.inner:after { | ||
background: #eee; | ||
background: linear-gradient(to bottom, #eee 0%, #eee 48%, #fff 100%); | ||
position: absolute; | ||
content: ''; | ||
width: 1px; | ||
height: 540px; | ||
top: 30px; | ||
right: -10px; | ||
bottom: 0; | ||
|
||
@media (--sm) { | ||
display: none; | ||
} | ||
} | ||
|
||
.inner img { | ||
display: inline-block; | ||
margin-bottom: 0; | ||
border-radius: 50%; | ||
background-clip: padding-box; | ||
} | ||
|
||
.inner h1, | ||
.inner h2 { | ||
font-size: responsive 16px 18px; | ||
line-height: 1; | ||
margin: 20px 0 10px; | ||
} | ||
|
||
.inner p { | ||
font-size: 14px; | ||
color: #888; | ||
line-height: 23px; | ||
margin-bottom: 23px; | ||
} | ||
|
||
.copyright { | ||
color: #b6b6b6; | ||
font-size: 12px; | ||
} | ||
|
||
.siteTitle { | ||
text-decoration: none; | ||
border-bottom: none; | ||
color: inherit; | ||
} | ||
|
||
.siteLogo { | ||
text-decoration: none; | ||
border-bottom: none; | ||
outline: none; | ||
|
||
&:visited:hover, | ||
&:hover { | ||
border-bottom: none; | ||
} | ||
} |
Oops, something went wrong.