Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 8 additions & 20 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
Expand All @@ -42,7 +42,7 @@ jobs:
outputs:
skip: ${{ steps.ci-skip-step.outputs.ci-skip }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- id: ci-skip-step
Expand All @@ -56,7 +56,7 @@ jobs:
needs: [ build-test, ci-skip ]
if: github.ref == 'refs/heads/master' && github.repository_owner == 'sproogen' && needs.ci-skip.outputs.skip == 'false'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.ADMIN_TOKEN }}
Expand All @@ -66,7 +66,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
Expand Down Expand Up @@ -109,25 +109,13 @@ jobs:
RELEASE_VERSION=$(gem bump --pretend --no-commit | awk '{ print $3 }')
echo ::set-output name=RELEASE_VERSION::${RELEASE_VERSION}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ steps.release_version.outputs.RELEASE_VERSION }}
release_name: v${{ steps.release_version.outputs.RELEASE_VERSION }}
name: v${{ steps.release_version.outputs.RELEASE_VERSION }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./modern-resume-theme-${{ steps.release_version.outputs.RELEASE_VERSION }}.gem
asset_name: modern-resume-theme-${{ steps.release_version.outputs.RELEASE_VERSION }}.gem
asset_content_type: application/octet-stream
files: ./modern-resume-theme-${{ steps.release_version.outputs.RELEASE_VERSION }}.gem
- name: Create gem credentials
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ content:
link_text: Text for link (optional: without this link will show URL as link text)
additional_links: (optional)
- title: Link name
icon: Font Awesome brand icon name (eg. fab fa-twitter) (https://fontawesome.com/icons?d=gallery&s=brands&m=free)
icon: Font Awesome brand icon name (eg. fab fa-github) (https://fontawesome.com/icons?d=gallery&s=brands&m=free)
url: Link url (eg. https://google.com)
quote: >
Short overview or quote for the item
Expand Down
7 changes: 4 additions & 3 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ <h2>{{ site.title | escape }}</h2>
</a>
</li>
{%- endif -%}
{%- if site.twitter_username -%}
{%- assign x_user = site.x_username | default: site.twitter_username -%}
{%- if x_user -%}
<li>
<a target="_blank" href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fab fa-twitter" title="Twitter link"></i>
<a target="_blank" href="https://x.com/{{ x_user | cgi_escape | escape }}" class="button button--sacnite button--round-l">
<i class="fab fa-x-twitter" title="X (formerly Twitter) link"></i>
</a>
</li>
{%- endif -%}
Expand Down
31 changes: 31 additions & 0 deletions _sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Typography variables
// Users can override these by setting variables before importing the theme

// Font family - default to Roboto if not specified
$font-family: 'Roboto', sans-serif !default;
$font-url: 'https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,500,500italic,400italic,300italic,100italic,700italic' !default;

// Alternative font examples (commented out):
// For Manrope:
// $font-family: 'Manrope', sans-serif;
// $font-url: 'https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap';

// For Inter:
// $font-family: 'Inter', sans-serif;
// $font-url: 'https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap';

// For Plus Jakarta Sans:
// $font-family: 'Plus Jakarta Sans', sans-serif;
// $font-url: 'https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap';

// Typography sizing and spacing
$body-line-height: 1.5 !default;
$body-font-size: 1rem !default;
$paragraph-font-size: 1.6rem !default; // Default 1.6rem - modern sites use 1rem-1.125rem
$heading-line-height: 1.2 !default;
$heading-letter-spacing: 0 !default; // Add 0.01em-0.02em for modern look

// Section styling
$section-border-style: dashed !default; // 'dashed', 'solid', or 'none'
$section-border-width: 2px !default;
$section-border-color: #CCCCCC !default;
13 changes: 6 additions & 7 deletions _sass/base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import url(https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,500,500italic,400italic,300italic,100italic,700italic);
@import url($font-url);
@import url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css);
@import url(https://use.fontawesome.com/releases/v5.11.2/css/all.css);
@import url(https://use.fontawesome.com/releases/v5.11.2/css/v4-shims.css);
@import url(https://use.fontawesome.com/releases/v6.6.0/css/all.css);

button, input[type="button"], input[type="reset"], input[type="submit"] {
appearance: none;
Expand All @@ -11,7 +10,7 @@ button, input[type="button"], input[type="reset"], input[type="submit"] {
color: #fff;
cursor: pointer;
display: inline-block;
font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
font-family: $font-family;
font-size: 1rem;
-webkit-font-smoothing: antialiased;
font-weight: 600;
Expand Down Expand Up @@ -45,7 +44,7 @@ input,
label,
select {
display: block;
font-family: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
font-family: $font-family;
font-size: 1rem; }

label {
Expand Down Expand Up @@ -148,7 +147,7 @@ html {

body {
background: #ffffff;
font-family: Roboto, sans-serif;
font-family: $font-family;
-webkit-font-smoothing: antialiased; }

.center-text {
Expand Down Expand Up @@ -179,7 +178,7 @@ body {
}

.header-right p {
font-size: 1.6rem;
font-size: $paragraph-font-size;
text-align: right;
}

Expand Down
3 changes: 2 additions & 1 deletion _sass/modern-resume-theme.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import "variables";
@import "base";
@import "button";
@import "type";
Expand Down Expand Up @@ -67,7 +68,7 @@

p {
margin-bottom: 3px;
font-size: 1.6rem;
font-size: $paragraph-font-size;
text-align: inherit;
font-weight: 300;

Expand Down
15 changes: 8 additions & 7 deletions _sass/type.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
body {
color: #333;
font-family: Roboto, sans-serif;
font-family: $font-family;
font-feature-settings: "kern", "liga", "pnum";
font-size: 1rem;
line-height: 1.5;
font-size: $body-font-size;
line-height: $body-line-height;

@media print {
font-size: 0.9rem;
Expand All @@ -16,9 +16,10 @@ h3,
h4,
h5,
h6 {
font-family: Roboto, sans-serif;
font-family: $font-family;
font-size: 1rem;
line-height: 1.2;
line-height: $heading-line-height;
letter-spacing: $heading-letter-spacing;
margin: 0 0 0.75rem;
}

Expand Down Expand Up @@ -50,7 +51,7 @@ h3 {
font-weight: 300;
font-size: 3rem;
text-align: center;
border-bottom: dashed 2px #CCCCCC;
border-bottom: $section-border-style $section-border-width $section-border-color;
padding-bottom: 10px;
margin-bottom:40px;

Expand All @@ -66,7 +67,7 @@ h4 {
}

p, ul {
font-size: 1.6rem;
font-size: $paragraph-font-size;
text-align: justify;
}

Expand Down
4 changes: 2 additions & 2 deletions modern-resume-theme.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Gem::Specification.new do |spec|

spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README)!i) }

spec.required_ruby_version = '~> 2.0'
spec.required_ruby_version = '>= 2.0'

spec.add_runtime_dependency 'github-pages', '~> 209'
spec.add_runtime_dependency 'github-pages', '~> 231'
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.1"

spec.add_development_dependency "html-proofer", "~> 3.9"
Expand Down
Loading