Skip to content

Commit b695963

Browse files
authored
Merge pull request #1 from mschwar/style-quick-wins
Style quick wins
2 parents 4bc163e + 1397738 commit b695963

4 files changed

Lines changed: 40 additions & 3 deletions

File tree

_config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
theme: jekyll-theme-primer
2-
title: Data Visualization
3-
description: A showcase of data analysis and visualization projects.
1+
remote_theme: jekyll/minima
2+
plugins: [jekyll-remote-theme]
3+
4+

_includes/head.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!-- Mobile-first viewport & custom styles -->
2+
<meta name="viewport" content="width=device-width, initial-scale=1">
3+
<link rel="stylesheet" href="{{ '/assets/css/custom.css' | relative_url }}">

assets/css/custom.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
:root {
2+
--brand-blue: #2047FF;
3+
--brand-red : #CB2431;
4+
}
5+
6+
/* Global typography */
7+
body {
8+
font-family: system-ui, -apple-system, "Inter", sans-serif;
9+
line-height: 1.6;
10+
margin: 0;
11+
padding: 0;
12+
}
13+
14+
/* Center content & give it breathing room */
15+
main {
16+
margin-inline: auto;
17+
padding: 1rem;
18+
max-width: 1000px;
19+
}
20+
21+
/* Make the heat-map image flexible & elegant */
22+
img.heatmap {
23+
max-width: 100%;
24+
height: auto;
25+
display: block;
26+
margin-inline: auto;
27+
box-shadow: 0 0 12px rgba(0, 0, 0, .12);
28+
}
29+
30+
/* Scalable headings on larger screens */
31+
@media (min-width: 40rem) {
32+
h1 { font-size: 2.5rem; }
33+
}
File renamed without changes.

0 commit comments

Comments
 (0)