Skip to content

Commit

Permalink
#179 Fix title padding
Browse files Browse the repository at this point in the history
  • Loading branch information
sylhare committed Aug 17, 2019
1 parent 56442c8 commit 21b104b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _portfolio/cake.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Cake
feature-img: "assets/img/portfolio/cake.jpeg"
feature-img: "assets/img/portfolio/cake.png"
img: "assets/img/portfolio/cake.png"
date: 27 September 2015
tags: [Lorem, Ipsum, Portfolio]
Expand Down
4 changes: 1 addition & 3 deletions _sass/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ $font-family-headings: 'Source Sans Pro', Helvetica, Arial, sans-serif;
$font-family-logo: 'Source Sans Pro', Helvetica, Arial, sans-serif;
$font-size: 1.25em;


// Padding
$padding-x-large: 23%;
$padding-large: 20%;
$padding-medium: 6%;
$padding-small: 4%;
$padding-x-small: 3%;
$title-padding: 0.5em;

// Brand colours
$theme-color: #337ab7;
Expand Down Expand Up @@ -51,8 +51,6 @@ $monospace: Monaco, Consolas, "Lucida Console", monospace !default;
$font-size-code: 0.75em !default; // ~12px
$border-radius: 4px !default;



// base16 Material Theme
$base00: #263238 !default; // Default Background
$base01: #2E3C43 !default; // Lighter Background (Used for status bars)
Expand Down
1 change: 1 addition & 0 deletions _sass/layouts/_page.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
h1.title {
@extend .header-txt-shadow;
padding: $title-padding 0;
}

.subtitle {
Expand Down
4 changes: 2 additions & 2 deletions _sass/layouts/_posts.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
article,
.comments {
@extend %padding-regular;
border-bottom: 1px solid $border-color;
Expand All @@ -7,6 +6,7 @@ article,
}

article {
@extend .comments;
header {
margin-bottom: 6%;
text-align: center;
Expand Down Expand Up @@ -112,4 +112,4 @@ header {
@media screen and (max-width: $sm-break) {
background-size: 400% auto;
}
}
}

0 comments on commit 21b104b

Please sign in to comment.