Skip to content

Commit 1595a30

Browse files
committed
fixed image slider
1 parent dda20bb commit 1595a30

File tree

13 files changed

+27
-23
lines changed

13 files changed

+27
-23
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
I"Z{"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"=>"memoryofatrufestival@gmail.com", "description"=>"Personal blog about model aircraft and small robots\n", "paginate"=>6, "github_username"=>"RCmags", "youtube_username"=>"XXXmags", "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"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"=>"memoryofatrufestival@gmail.com", "description"=>"Personal blog about model aircraft and small robots\n", "paginate"=>6, "github_username"=>"RCmags", "youtube_username"=>"XXXmags", "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

_includes/image-slider.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% for image in include.list %}
44
<div class="container_in"
55
{% if include.aspect_ratio %}
6-
style="aspect-ratio: {{aspect_ratio}} !important;"
6+
style="aspect-ratio: {{include.aspect_ratio}} !important;"
77
{% endif %}>
88
<span class="counter">{{ forloop.index }} / {{ forloop.length }}</span>
99
<img class="image" loading="lazy" src="{{ image.url }}">

_includes/page-header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<header class="header-holder">
2-
<h1 class="header-title">
2+
<span class="header-title">
33
{{ include.content }}
4-
</h1>
4+
</spaj>
55
</header>

_layouts/category-page.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
<!-- category -->
88
<header class="post-header">
9-
<h1 style ="text-align: center;" class="post-title">{{ page.category | escape }}</h1>
9+
<h1 class="post-title">{{ page.category | escape }}</h1>
10+
<span>{{ page.description }}<span>
1011
</header>
1112

1213
<!-- post list -->

_sass/image-slider.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
// scroll bar
33
/* width */
44
::-webkit-scrollbar {
5-
height: 10px;
5+
height: 8px;
66
}
77

88
/* Track */
99
::-webkit-scrollbar-track {
10-
box-shadow: inset 0 0 3px grey;
11-
//border: 1px solid grey;
12-
border-radius: 5px;
10+
//box-shadow: inset 0 0 2px grey;
11+
border-bottom: 1px solid LightGray;
12+
//border-radius: 4px;
1313
}
1414

1515
/* Handle */
1616
::-webkit-scrollbar-thumb {
1717
background: LightGray;
18-
border-radius: 5px;
18+
border-radius: 4px;
1919
}
2020

2121
/* Handle on hover */

_sass/minima.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ $base-line-height: 1.5 !default;
1010

1111
// Decreased spacing unit, 30px default
1212
$spacing-unit: 12px !default;
13+
$img-radius: 5px;
1314

14-
$text-color: #111 !default;
15+
$text-color: gray;//#111 !default;
1516
$background-color: #fdfdfd !default;
1617
$brand-color: #2a7ae2 !default;
1718

@@ -29,6 +30,7 @@ $on-palm: 600px !default;
2930
$on-laptop: 800px !default;
3031
$max-image-size: 650px;
3132

33+
3234
// Use media queries like this:
3335
// @include media-query($on-palm) {
3436
// .wrapper {

_sass/minima/_base.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ dl, dd, ol, ul, figure {
99
}
1010

1111

12-
// text formatting
12+
// general text formatting, colors!
1313
li, p {
14-
color: grey;
14+
//color: grey;
1515
}
1616

17+
/* margin */
1718
p {
1819
padding-bottom: 10px;
1920
}
@@ -80,7 +81,7 @@ img {
8081
display: block;
8182
margin-left: auto;
8283
margin-right: auto;
83-
border-radius: 5px;
84+
border-radius: $img-radius;
8485
}
8586

8687

_sass/minima/_layout.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
.site-header {
55
//border-top: 1px solid $grey-color-dark;
66
border-bottom: 2px solid $grey-color-light;
7-
//min-height: 60px; //$spacing-unit * 1.865;
8-
height: 60px;
7+
min-height: 60px; //$spacing-unit * 1.865;
8+
//height: 60px;
99

1010
box-shadow: 0px 1px 6px $grey-color-light;
1111
margin-bottom: 5px;
@@ -256,7 +256,7 @@
256256

257257
.header-holder {
258258
position: absolute;
259-
top: 7px;
259+
top: 9px;
260260
//margin-bottom: $spacing-unit;
261261
//padding-left: 10px;
262262
//padding-right: 10px;
@@ -271,7 +271,7 @@
271271
@include relative-font-size(2.625);
272272
letter-spacing: -1px;
273273
line-height: 1;
274-
color: LightSteelBlue;
274+
color: SteelBlue;
275275
}
276276

277277
.post-content {

_sass/projects.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
display: flex;
1010
flex-direction: row;
1111
justify-content: space-between;
12-
color: $grey-color-dark;
1312
outline:none;
1413
}
1514
// hide default arrow

_sass/youtube.scss

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

66
iframe {
77
border: 0;
8+
border-radius: $img-radius;
89

910
// position
1011
position: absolute;

0 commit comments

Comments
 (0)