Skip to content

Commit

Permalink
Add support for landing page template.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrezrv committed May 27, 2014
1 parent a37b0b0 commit b066a7a
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 3 deletions.
5 changes: 5 additions & 0 deletions css/fonts.css
Expand Up @@ -79,6 +79,11 @@ body {
font-size: 38px;
}

.landing-page .page-title {
font-family: 'Neuton', serif;
font-size: 48px;
}

/* =============================================================================
Content
========================================================================== */
Expand Down
7 changes: 7 additions & 0 deletions css/fonts.scss
Expand Up @@ -94,6 +94,13 @@ body {
}
}

.landing-page {
.page-title {
font-family: 'Neuton', serif;
font-size: 48px;
}
}

/* =============================================================================
Content
========================================================================== */
Expand Down
21 changes: 19 additions & 2 deletions css/general-colors.css
Expand Up @@ -102,6 +102,10 @@ body {
color: white;
}

.landing-page .navbar-inverse .site-title a {
color: white;
}

/* =============================================================================
Header
========================================================================== */
Expand All @@ -115,6 +119,10 @@ body {
color: white;
}

.landing-page-header {
color: white;
}

/* =============================================================================
Content
========================================================================== */
Expand Down Expand Up @@ -146,12 +154,21 @@ blockquote {

/* Posts
========================================================================== */
#main article, #tinymce.wp-editor {
#main article,
#tinymce.wp-editor {
background-color: white;
}
#main article.post header:before, #tinymce.wp-editor.post header:before {
#main article.post header:before,
#tinymce.wp-editor.post header:before {
color: #777777;
}
.landing-page #main article .entry-content,
.landing-page #main article .entry-summary, .landing-page
#tinymce.wp-editor .entry-content,
.landing-page
#tinymce.wp-editor .entry-summary {
padding-top: 15px;
}

#main article h1 a {
color: black;
Expand Down
21 changes: 20 additions & 1 deletion css/general-colors.scss
Expand Up @@ -156,6 +156,14 @@ body {
}
}

.landing-page .navbar-inverse {
.site-title {
a {
color: $white;
}
}
}

/* =============================================================================
Header
========================================================================== */
Expand All @@ -172,6 +180,10 @@ body {
}
}

.landing-page-header {
color: $white;
}

/* =============================================================================
Content
========================================================================== */
Expand Down Expand Up @@ -214,7 +226,8 @@ blockquote {
}
}

#main article, #tinymce.wp-editor {
#main article,
#tinymce.wp-editor {
background-color: $white;
&.post {
header {
Expand All @@ -223,6 +236,12 @@ blockquote {
}
}
}
.landing-page & {
.entry-content,
.entry-summary {
padding-top: 15px;
}
}
}

#main article {
Expand Down
4 changes: 4 additions & 0 deletions style.css
Expand Up @@ -55,6 +55,10 @@
padding: 15px 20px;
}

.landing-page .page-title {
margin-top: 15px;
}

#primary,
#secondary {
margin: 30px 0;
Expand Down
6 changes: 6 additions & 0 deletions style.scss
Expand Up @@ -56,6 +56,12 @@
padding: 15px 20px;
}

.landing-page {
.page-title {
margin-top: 15px;
}
}

#primary,
#secondary {
margin: 30px 0;
Expand Down

0 comments on commit b066a7a

Please sign in to comment.