Skip to content

Commit 2e3ac31

Browse files
committed
header underline
1 parent ef0cc79 commit 2e3ac31

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
I"X{"source"=>"/home/bobby/Documents/websites/code_current", "destination"=>"/home/bobby/Documents/websites/code_current/_site", "collections_dir"=>"collections", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}, "projects"=>{"output"=>true}, "blog"=>{"output"=>true}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>["jekyll-feed", "jekyll-seo-tag"], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num/", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false, "syntax_highlighter"=>"rouge", "syntax_highlighter_opts"=>{:default_lang=>"plaintext", :guess_lang=>true}, "coderay"=>{}}, "title"=>"Unusual Vehicles", "author"=>"Raul G.", "email"=>"[email protected]", "description"=>"Personal blog about model aircraft and small robots\n", "paginate"=>6, "github_username"=>"RCmags", "youtube_username"=>"RCmags", "rcgroups_username_id"=>"189488", "show_excerpts"=>false, "minima"=>{"date_format"=>"%-d %b, %Y"}, "livereload_port"=>35729, "serving"=>true, "watch"=>true, "url"=>"http://localhost:4000"}:ET
1+
I"�{"source"=>"/home/bobby/Documents/websites/code_current", "destination"=>"/home/bobby/Documents/websites/code_current/_site", "collections_dir"=>"collections", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}, "projects"=>{"output"=>true}, "blog"=>{"output"=>true}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>["jekyll-feed", "jekyll-seo-tag"], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num/", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false}, "title"=>"Unusual Vehicles", "author"=>"Raul G.", "email"=>"[email protected]", "description"=>"Personal blog about model aircraft and small robots\n", "paginate"=>6, "github_username"=>"RCmags", "youtube_username"=>"RCmags", "rcgroups_username_id"=>"189488", "show_excerpts"=>false, "minima"=>{"date_format"=>"%-d %b, %Y"}, "livereload_port"=>35729, "serving"=>true, "watch"=>true, "url"=>"http://localhost:4000"}:ET

_layouts/post.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
<header class="post-header">
1010
<h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
11+
1112
<p class="post-meta">
1213
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
1314
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}

_sass/minima.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ $base-line-height: 1.5 !default;
1212
$spacing-unit: 12px !default;
1313
$img-radius: 5px;
1414

15-
$text-color: gray; //#111 !default;
16-
$background-color: #fdfdfd !default;
17-
$brand-color: DodgerBlue; //#2a7ae2 !default;
18-
$post-color: darken(SteelBlue, 0%); // darken(CornflowerBlue, 15%); //darken(LightSteelBlue, 40%);
15+
$text-color: darken(gray, 15%); //#111 !default;
16+
$background-color: white; //#fdfdfd !default;
17+
$brand-color: DodgerBlue; //#2a7ae2 !default;
18+
$post-color: darken(DodgerBlue, 10%); // darken(CornflowerBlue, 15%); //darken(LightSteelBlue, 40%);
1919

2020
$grey-color: #828282 !default;
2121
$grey-color-light: lighten($grey-color, 40%) !default;

_sass/minima/_base.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ p {
1919
padding-bottom: 10px;
2020
}
2121

22-
2322
/**
2423
* Basic styling
2524
*/
2625
body {
2726
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
2827
color: $text-color;
29-
//background-color: $background-color;
28+
background-color: $background-color;
3029
-webkit-text-size-adjust: 100%;
3130
-webkit-font-feature-settings: "kern" 1;
3231
-moz-font-feature-settings: "kern" 1;
@@ -122,6 +121,7 @@ h1, h2, h3, h4, h5, h6 {
122121
font-weight: $base-font-weight;
123122
// Location of headers
124123
text-align: left;
124+
color: black;
125125
}
126126

127127

_sass/minima/_layout.scss

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,12 @@
236236
* Posts
237237
*/
238238
.post-header {
239-
margin-bottom: $spacing-unit;
239+
margin-bottom: 15px; //$spacing-unit;
240+
240241
}
241242

242243
.post-title {
244+
border-bottom: 2px solid SandyBrown;
243245
@include relative-font-size(2.625);
244246
letter-spacing: -1px;
245247
line-height: 1;
@@ -274,6 +276,13 @@
274276
}
275277

276278
.post-content {
279+
// add borders
280+
h1, h2, h3 {
281+
border-bottom: 1px solid LightGray;
282+
}
283+
284+
285+
// other
277286
margin-bottom: $spacing-unit;
278287

279288
h2 {

0 commit comments

Comments
 (0)