Skip to content

Commit

Permalink
Merge pull request #32 from sproogen/release/1.3
Browse files Browse the repository at this point in the history
Release/1.3
  • Loading branch information
sproogen authored Dec 2, 2018
2 parents 5693673 + 5683c17 commit 0637ce6
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 28 deletions.
4 changes: 2 additions & 2 deletions _includes/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<h3>{{ site.about_title | default: "About Me" }}</h3>
<div class="row clearfix">
{%- if site.about_profile_image -%}
<div class="col-xs-12 col-sm-4 col-md-3">
<div class="col-xs-12 col-sm-4 col-md-3 no-print">
<span class="profile-img" style="background-image: url({{ site.about_profile_image | relative_url }})" />
</div>
{%- endif -%}
<div class="{{ 'col-xs-12 ' }}{%- if site.about_profile_image -%}col-sm-8 col-md-9{%- endif -%}">
<div class="{{ 'col-xs-12 ' }}{%- if site.about_profile_image -%}col-sm-8 col-md-9 col-print-12{%- endif -%}">
{{ site.about_content | strip | markdownify }}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _includes/education.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<h3>{{ site.education_title | default: "Education" }}</h3>
{% for education in site.data.education %}
<div class="row clearfix education">
<div class="col-xs-12 col-sm-4 col-md-3 left-column">
<div class="col-xs-12 col-sm-4 col-md-3 col-print-12 left-column">
<h4>{{ education.name }}</h4>
<p><b>{{ education.qualification }}</b></p>
<p>{{ education.dates }}</p>
</div>
<div class="col-xs-12 col-sm-8 col-md-9">
<div class="col-xs-12 col-sm-8 col-md-9 col-print-12">
{%- if education.quote -%}
<p class="quote">{{ education.quote }}</p>
{%- endif -%}
Expand Down
4 changes: 2 additions & 2 deletions _includes/experience.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h3>{{ site.experience_title | default: "Experience" }}</h3>
{% for experience in site.data.experience %}
<div class="row clearfix experience">
<div class="col-xs-12 col-sm-4 col-md-3 left-column">
<div class="col-xs-12 col-sm-4 col-md-3 col-print-12 left-column">
<h4 class="name">
{%- if experience.link -%}
<a href="http://{{ experience.link }}" target="_blank">
Expand All @@ -15,7 +15,7 @@ <h4 class="name">
<p><b>{{ experience.job_title }}</b></p>
<p>{{ experience.dates }}</p>
</div>
<div class="col-xs-12 col-sm-8 col-md-9">
<div class="col-xs-12 col-sm-8 col-md-9 col-print-12">
{%- if experience.quote -%}
<p class="quote">{{ experience.quote }}</p>
{%- endif -%}
Expand Down
22 changes: 11 additions & 11 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,74 +5,74 @@ <h1>{{ site.name | escape }}</h1>
<h2>{{ site.title | escape }}</h2>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-4 header-right">
<ul class="icons">
<ul class="icons no-print">
{%- if site.dribbble_username -%}
<li>
<a target="_blank" href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-dribbble"></i>
<i class="fa fa-dribbble" title="Dribble link"></i>
</a>
</li>
{%- endif -%}
{%- if site.facebook_username -%}
<li>
<a target="_blank" href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-facebook"></i>
<i class="fa fa-facebook" title="Facebook link"></i>
</a>
</li>
{%- endif -%}
{%- if site.flickr_username -%}
<li>
<a target="_blank" href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-flickr"></i>
<i class="fa fa-flickr" title="Flickr link"></i>
</a>
</li>
{%- endif -%}
{%- if site.github_username -%}
<li>
<a target="_blank" href="https://github.com/{{ site.github_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-github"></i>
<i class="fa fa-github" title="Github link"></i>
</a>
</li>
{%- endif -%}
{%- if site.instagram_username -%}
<li>
<a target="_blank" href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-instagram"></i>
<i class="fa fa-instagram" title="Instagram link"></i>
</a>
</li>
{%- endif -%}
{%- if site.linkedin_username -%}
<li>
<a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-linkedin"></i>
<i class="fa fa-linkedin" title="Linkedin link"></i>
</a>
</li>
{%- endif -%}
{%- if site.pinterest_username -%}
<li>
<a target="_blank" href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-pinterest"></i>
<i class="fa fa-pinterest" title="Pintrest link"></i>
</a>
</li>
{%- endif -%}
{%- if site.twitter_username -%}
<li>
<a target="_blank" href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-twitter"></i>
<i class="fa fa-twitter" title="Twitter link"></i>
</a>
</li>
{%- endif -%}
{%- if site.youtube_username -%}
<li>
<a target="_blank" href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-youtube-play"></i>
<i class="fa fa-youtube-play" title="Youtube link"></i>
</a>
</li>
{%- endif -%}
{%- if site.googleplus_username -%}
<li>
<a target="_blank" href="https://plus.google.com/{{ site.googleplus_username| escape }}" class="button button--sacnite button--round-l">
<i class="fa fa-google-plus"></i>
<i class="fa fa-google-plus" title="Google plus link"></i>
</a>
</li>
{%- endif -%}
Expand Down
8 changes: 4 additions & 4 deletions _includes/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
<h3>{{ site.projects_title | default: "Projects" }}</h3>
{% for project in site.data.projects %}
<div class="row clearfix project">
<div class="col-xs-12 col-sm-4 col-md-3 left-column">
<div class="col-xs-12 col-sm-4 col-md-3 col-print-12 left-column">
<h4>{{ project.name }}</h4>
{%- if project.link -%}
<a href="http://{{ project.link }}" target="_blank" class="project-link">{{ project.link }}</a>
{%- endif -%}
<p>
<p class="no-print">
<a href="https://github.com/{{ project.github }}" target="_blank">
<i class="fa fa-github"></i>
<i class="fa fa-github" title="{{ project.name }} Github link"></i>
</a>
</p>
</div>
<div class="col-xs-12 col-sm-8 col-md-9">
<div class="col-xs-12 col-sm-8 col-md-9 col-print-12">
{%- if project.quote -%}
<p class="quote">{{ project.quote }}</p>
{%- endif -%}
Expand Down
4 changes: 3 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
{%- include education.html -%}
{%- endif -%}

{%- include more.html -%}
{%- if site.more_content -%}
{%- include more.html -%}
{%- endif -%}

</div>
</main>
Expand Down
66 changes: 66 additions & 0 deletions _sass/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,12 @@ body {

.container {
margin-top:30px;

@media print {
margin-top: 20px;
}
}

.header-contianer {
margin-top:50px;
}
Expand All @@ -166,9 +171,70 @@ body {

.header-left {
margin-top: 30px;

@media print {
margin-top: 0px;
}
}

.header-right p {
font-size: 1.6em;
text-align: right;
}

@media print {
a[href]:after {
content: none !important;
}

img[src]:after {
content: none !important;
}

.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
float: left;
}
.col-sm-12 {
width: 100%;
}
.col-sm-11 {
width: 91.66666667%;
}
.col-sm-10 {
width: 83.33333333%;
}
.col-sm-9 {
width: 75%;
}
.col-sm-8 {
width: 66.66666667%;
}
.col-sm-7 {
width: 58.33333333%;
}
.col-sm-6 {
width: 50%;
}
.col-sm-5 {
width: 41.66666667%;
}
.col-sm-4 {
width: 33.33333333%;
}
.col-sm-3 {
width: 25%;
}
.col-sm-2 {
width: 16.66666667%;
}
.col-sm-1 {
width:8.33333333%;
}
.col-print-12 {
width: 100%;
}

.no-print, .no-print * {
display: none !important;
}
}
8 changes: 8 additions & 0 deletions _sass/type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ body {
font-feature-settings: "kern", "liga", "pnum";
font-size: 1em;
line-height: 1.5;

@media print {
font-size: 0.9em;
}
}

h1,
Expand Down Expand Up @@ -49,6 +53,10 @@ h3 {
border-bottom: dashed 2px #CCCCCC;
padding-bottom: 10px;
margin-bottom:40px;

@media print {
margin-bottom: 20px;
}
}

h4 {
Expand Down
20 changes: 15 additions & 5 deletions assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ul.icons a {
text-align: right;
}

@media (max-width: 768px) {
@media screen and (max-width: 768px) {
.icons {
text-align: center;
}
Expand All @@ -59,7 +59,7 @@ ul.icons a {
font-weight:500;
}

@media (max-width: 768px) {
@media screen and (max-width: 768px) {
.header-contianer div{
text-align: center;
}
Expand Down Expand Up @@ -89,12 +89,12 @@ ul.icons a {
}

.into-text-1 {
margin-top:30px;
margin-top: 30px;
}

@media only screen and (max-width : 992px) {
.into-text-1 {
margin-top:20px;
margin-top: 20px;
}
}

Expand All @@ -121,7 +121,7 @@ ul.icons a {
}
}

@media (max-width: 768px) {
@media screen and (max-width: 768px) {
text-align: center;

p {
Expand All @@ -147,6 +147,10 @@ ul.icons a {
margin-bottom: 0.4em;
font-weight: 500;

@media print {
margin-bottom: 0.2em;
}

a {
font-weight: 500;
}
Expand Down Expand Up @@ -192,4 +196,10 @@ p.quote {
font-style: italic;
padding: 1em 2.5em;
text-align: center;

@media print {
text-align: left;
padding: 0em 1em;
margin-top: 1em;
}
}
2 changes: 1 addition & 1 deletion lib/modern-resume-theme/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ModernResumeTheme
VERSION = "1.2.1"
VERSION = "1.3.0"
end

0 comments on commit 0637ce6

Please sign in to comment.