Skip to content

Commit

Permalink
Merge pull request #155 from sproogen/feature/weak-boarder
Browse files Browse the repository at this point in the history
Weak border
  • Loading branch information
sproogen authored Jan 15, 2022
2 parents c556d49 + f9762d5 commit 45c7f60
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ content:
layout: list # Type of content section (list/text)
content:
- layout: left
border: weak # Value of `weak` will display a weak border below this item. # Any
# other value (or no value) means no border will be displayed
title: Project name
link: Link to project (eg. sproogen.github.io/modern-resume-theme)(optional)
link_text: Link Text
Expand Down
2 changes: 1 addition & 1 deletion _includes/section-list.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% for item in include.content %}
<div class="row clearfix layout layout-{{item.layout | default: 'left'}}">
<div class="row clearfix layout layout-{{item.layout | default: 'left'}} border-{{item.border | default: 'no'}}">
<div class="col-xs-12 col-sm-4 col-md-3 col-print-12 details">
<h4 id="{{ item.title | slugify }}">{{ item.title }}</h4>
{%- if item.sub_title -%}<p><b>{{ item.sub_title }}</b></p>{%- endif -%}
Expand Down
5 changes: 5 additions & 0 deletions _sass/modern-resume-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
}
}

.border-weak {
padding-bottom: 8px;
border-bottom: dashed 1px #CCCCCC;
}

.layout {
margin-top: 3rem;
display: flex;
Expand Down
3 changes: 3 additions & 0 deletions _test/_config-version-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ content:
layout: list
content:
- layout: top-middle
border: weak
title: Project 1
link: https://sproogen.github.io/modern-resume-theme
additional_links:
Expand All @@ -78,6 +79,7 @@ content:
layout: list
content:
- layout: right
border: weak
title: Company 1
link: https://google.com
sub_title: Job title 1
Expand All @@ -97,6 +99,7 @@ content:
layout: list
content:
- title: Institution 1
border: weak
sub_title: 2016 - 2019
caption: Degree
quote: >
Expand Down

0 comments on commit 45c7f60

Please sign in to comment.