-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Jekyll configuration and styles for improved layout and resp…
…onsiveness
- Loading branch information
1 parent
3bbdb83
commit e5fe0ea
Showing
4 changed files
with
91 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
title: Daniel Butler | ||
description: Automation Engineer at IBM Cloud | Making Cloud Development Easier | ||
url: "https://dbdev.ie" | ||
baseurl: "" | ||
baseurl: "/docs" | ||
url: "https://daniel-butler-irl.github.io" | ||
|
||
# Theme settings | ||
theme: minima | ||
remote_theme: pages-themes/[email protected] | ||
plugins: | ||
- jekyll-remote-theme | ||
- jekyll-feed | ||
- jekyll-seo-tag | ||
|
||
|
@@ -20,25 +21,7 @@ author: | |
markdown: kramdown | ||
kramdown: | ||
input: GFM | ||
hard_wrap: false | ||
|
||
# Collections | ||
collections: | ||
projects: | ||
output: true | ||
permalink: /projects/:path/ | ||
|
||
# Defaults | ||
defaults: | ||
- scope: | ||
path: "" | ||
type: "posts" | ||
values: | ||
layout: "post" | ||
- scope: | ||
path: "" | ||
values: | ||
layout: "default" | ||
syntax_highlighter: rouge | ||
|
||
# Exclude from processing | ||
exclude: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
--- | ||
|
||
@import "{{ site.theme }}"; | ||
|
||
/* Custom styles */ | ||
.wrapper { | ||
max-width: 960px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
|
||
.header { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 40px; | ||
} | ||
|
||
.profile-img { | ||
width: 150px; | ||
height: 150px; | ||
border-radius: 50%; | ||
margin-right: 20px; | ||
} | ||
|
||
.social-links { | ||
margin-top: 20px; | ||
|
||
a { | ||
margin-right: 15px; | ||
text-decoration: none; | ||
color: #0366d6; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
|
||
.project-card { | ||
border: 1px solid #e1e4e8; | ||
border-radius: 6px; | ||
padding: 20px; | ||
margin-bottom: 20px; | ||
background-color: #fff; | ||
} | ||
|
||
.navigation { | ||
margin-bottom: 30px; | ||
|
||
a { | ||
margin-right: 20px; | ||
text-decoration: none; | ||
color: #0366d6; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
|
||
footer { | ||
margin-top: 40px; | ||
padding-top: 20px; | ||
border-top: 1px solid #eaecef; | ||
text-align: center; | ||
} | ||
|
||
/* Responsive adjustments */ | ||
@media screen and (max-width: 768px) { | ||
.header { | ||
flex-direction: column; | ||
text-align: center; | ||
|
||
.profile-img { | ||
margin-right: 0; | ||
margin-bottom: 20px; | ||
} | ||
} | ||
} |