Skip to content

Commit

Permalink
Merge pull request github#58 from lucario/patch-1
Browse files Browse the repository at this point in the history
Set html, body, and content to `height-full`
  • Loading branch information
brandonrosage authored Mar 7, 2019
2 parents 7f7e377 + 6170d97 commit c934c47
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ It's your website, and you control the source code. So you can customize everyth
Most customizations can be done in a matter of seconds, by revising your repository's `_config.yml` file. Just remember to restart your local server each time you save new changes so your Jekyll-powered website rebuilds correctly:

1. Shut down your server by entering the keyboard command <kbd>CTRL</kbd>+<kbd>c</kbd>
2. Restart your server: `jekyll serve`
2. Restart your server: `bundle exec jekyll serve`


#### Layout
Expand Down
4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
{% endif %}

<!doctype html>
<html>
<html class="height-full">
<head>
<meta charset="utf-8">
<meta name="description" content="{{ meta_description }}" />
<title>{{ user.name }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="{{ "/assets/styles.css" | absolute_url }}" rel="stylesheet" type="text/css">
</head>
<body class="bg-white" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
<body class="bg-white height-full" {% if site.style == 'dark' %}style="background-color: #2f363d !important"{% endif %}>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1 class="f00-light lh-condensed mb-5">{{ page.title }}</h1>
</div>
</div>
{% else %}
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
<div class="d-md-flex height-full {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
{% include masthead.html metadata=true %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{% endunless %}
</div>
{% else %}
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
<div class="d-md-flex height-full {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
{% include masthead.html metadata=true %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1 class="f00-light lh-condensed">{{ page.title }}</h1>
</div>
</div>
{% else %}
<div class="d-md-flex {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
<div class="d-md-flex height-full {% unless site.style == 'dark' %}border-md-bottom{% endunless %}">
<div class="flex-self-stretch {% if site.style == 'dark' %}bg-gray-dark{% else %}border-md-right border-gray-light bg-white{% endif %} col-md-5 col-lg-4 col-xl-3 px-4 px-md-6 px-lg-7 py-6">
{% include masthead.html metadata=true %}
</div>
Expand Down

0 comments on commit c934c47

Please sign in to comment.