Skip to content

Commit 27e7820

Browse files
committed
Setup SASS structure, add base color variables and normalize styles
1 parent 93393f8 commit 27e7820

File tree

7 files changed

+436
-4
lines changed

7 files changed

+436
-4
lines changed

_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ facebook_username: scribd
3232
linkedin_username: scribd
3333
github_username: scribd
3434

35+
# Assets
36+
sass:
37+
sass_dir: assets/_sass
38+
3539
# Build settings
3640
plugins:
3741
- jekyll-feed

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55
{%- seo -%}
6-
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
6+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
77
{%- feed_meta -%}
88
{%- if jekyll.environment == 'production' and site.google_analytics -%}
99
{%- include google-analytics.html -%}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
html {
2+
scroll-behavior: smooth; // smooth anchor link scrolling
3+
}
4+
5+
6+
body {
7+
overflow-x: hidden; // for animation transforms
8+
}
9+
10+
img {
11+
max-width: 100%;
12+
height: auto;
13+
}
14+
15+
// Global box-sizing
16+
*,
17+
*:after,
18+
*:before {
19+
-webkit-box-sizing: border-box;
20+
-moz-box-sizing: border-box;
21+
box-sizing: border-box;
22+
}
23+
24+
// Remove tap highlight on mobile
25+
a {
26+
-webkit-tap-highlight-color: transparent;
27+
-webkit-tap-highlight-color: transparent; /* For some Androids */
28+
}

assets/_sass/base/_colors.scss

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
////////////////////
2+
// Primary Palette
3+
////////////////////
4+
5+
$cabernet-dark: #5A1D41;
6+
$cabernet-dark: #6A244D;
7+
$cabernet-light: #7F1652;
8+
9+
$midnight-dark: #001927;
10+
$midnight: #00293F;
11+
$midnight-light: #003451;
12+
13+
$teal-dark: #0D6069;
14+
$teal: #1E7B85;
15+
$teal-light: #509BA8;
16+
17+
////////////////////
18+
// Secondary Palette
19+
////////////////////
20+
21+
$seafoam-dark: #017F70;
22+
$seafoam: #02A793;
23+
$seafoam-light: #02B7A1;
24+
25+
$plum-dark: #87064B;
26+
$plum: #A9085E;
27+
$plum-light: #C20067;
28+
29+
$yellow-dark: #E47B01;
30+
$yellow: #ED8F02;
31+
$yellow-light: #F0A534;
32+
33+
////////////////////
34+
// Grayscale
35+
////////////////////
36+
37+
$slate-800: #000514;
38+
$slate-700: #1C263D;
39+
$slate-600: #57617A;
40+
$slate-300: #CCD4E8;
41+
$slate-200: #E9EDF8;
42+
$slate-100: #F8F9FD;
43+
$white: #fff;

0 commit comments

Comments
 (0)