Skip to content

Commit b20ace8

Browse files
committed
update
1 parent acc71d3 commit b20ace8

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

_config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ defaults:
8181
type: posts
8282
values:
8383
layout: single
84+
# additional classes for styling blogposts
85+
classes:
86+
- blogpost
8487
author_profile: true
8588
read_time: true
8689
comments: true
@@ -98,6 +101,9 @@ defaults:
98101
path: ""
99102
type: portfolio
100103
values:
104+
# additional classes for styling portfolio pages
105+
classes:
106+
- portfoliopost
101107
layout: single
102108
author_profile: false
103109
share: true

_portfolio/2021-02-06-portfolio-page-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ toc_sticky: true
55
toc_label: "Big Data Strategy"
66
excerpt: "Coursework for MBA Big Data & Business Analytics, devise strategies for government and corporate enterprises on big data."
77
header:
8-
image: /assets/images/foo-bar-identity.jpg
8+
image: /assets/images/advantedge_1280x550.jpg
99
teaser: /assets/images/foo-bar-identity-th.jpg
1010
sidebar:
1111
- title: "Role"

assets/css/main.scss

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,34 @@
55
@charset "utf-8";
66

77
@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
8-
@import "minimal-mistakes"; // main partials
8+
@import "minimal-mistakes"; // main partials
9+
10+
/* https://github.com/mmistakes/minimal-mistakes/issues/1219#issuecomment-326809412 */
11+
html {
12+
font-size: 12px; // originally 16px
13+
@include breakpoint($medium) {
14+
font-size: 14px; // originally 18px
15+
}
16+
17+
@include breakpoint($large) {
18+
font-size: 16px; // originally 20px
19+
}
20+
21+
@include breakpoint($x-large) {
22+
font-size: 18px; // originally 22px
23+
}
24+
}
25+
26+
/* increase font size of left side bar */
27+
.sidebar {
28+
font-size: larger;
29+
}
30+
31+
/* portfolio pages contain lost of text, added custom font size for this one */
32+
body.portfoliopost {
33+
.page__content {
34+
p {
35+
font-size: 0.9em;
36+
}
37+
}
38+
}

0 commit comments

Comments
 (0)