baltic 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 496296ba54faaa2380ca0345bcda7fc69a6e272c5bede6f129d4f8fa659d5eb6
4
- data.tar.gz: 88d131829689797d7435742d5ae958bfcb10bd41209592c6213ad49b54d7f635
3
+ metadata.gz: cbaa37ed0978ec88762e0d6bf1dc655b627ee537411a784a5f6b6bf08bdfc955
4
+ data.tar.gz: 683f60c51d02e61b6c862666ea56a79f937e02d59126cf3c63872e99321c69e2
5
5
  SHA512:
6
- metadata.gz: 937b560c139390d83f9377a0bcff0caeab2ba857d916b94916d6e4fae651af9a400b6f8996dd5df79ac6708380375744ed04178113313703ce48a909dcae2519
7
- data.tar.gz: 81c895ef4e12bd88bce9bed215d2132c38f3bd78b90f5ea39826c27f2d91363896a7699da0cfe7f670fea7ab3c999ca61f031f94d0a4b05e5f961238ae1a5bfa
6
+ metadata.gz: f85af22cc71840d601ad25a0ba5fba39c387d70829865e10ae5f7da009c49def2630f88c68f2ab4c1845fdffe6e36538c58a949c363ae96b7df9f495f92baf80
7
+ data.tar.gz: 250fd6a70dee988123a12db062006cbade1adf298897d06c5d4fa1000f9e115aba6be0fb596febcf19630134e43257a861c37a63368e636b237018e92559af69
@@ -0,0 +1,3 @@
1
+ <link rel="preconnect" href="https://fonts.googleapis.com">
2
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
3
+ <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap" rel="stylesheet">
data/_includes/head.html CHANGED
@@ -1,4 +1,5 @@
1
1
  <meta charset="UTF-8" />
2
2
  <meta name="viewport" content="width=device-width, initial-scale=1" />
3
3
  <link rel="stylesheet" href="{{'/assets/css/style.css' | absolute_url}}">
4
+ <title>{{page.title}}</title>
4
5
  {{fonts}}
@@ -0,0 +1,7 @@
1
+ <header class="header">
2
+
3
+ <div class="header-title">
4
+ <a class="header-title-link" href="/">{{site.title}}</a>
5
+ </div>
6
+
7
+ </header>
data/_layouts/base.html CHANGED
@@ -1,11 +1,15 @@
1
1
  <!DOCTYPE html>
2
- <html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en-US" }}">
3
3
 
4
4
  {%- include head.html -%}
5
5
 
6
- <body>
6
+ <body class="{{ page.colorset | default: site.colorset | default: "normal" }}">
7
7
 
8
- {{content}}
8
+ {%- include header.html -%}
9
+
10
+ <main class="content-area">
11
+ {{content}}
12
+ </main>
9
13
 
10
14
  </body>
11
15
 
@@ -1,3 +1,23 @@
1
+ $titles: #f8fafe;
2
+ $body: #eaf4f8;
3
+ $titles_dark: #162238;
4
+ $body_dark: #303b52;
1
5
  $baltic: #24323f;
6
+ $waves: #222d36;
7
+ $seafloor: #2a3948;
2
8
  $kaliningrad: #293846;
3
- $riga: #473321;
9
+ $nord: #2e3440;
10
+ $kihnu: #4f6a92;
11
+ $gotland: #5e81ac;
12
+ $helsinki: #7f9fbf;
13
+ $vilnius: #86bfd4;
14
+ $stockholm: #92c1bf;
15
+ $gothenburg: #a2bf8f;
16
+ $sarek: #ebb591;
17
+ $kurische: #ffea91;
18
+ $tallinn: #c0656f;
19
+ $riga: #f75341;
20
+ $dainava: #b77fb1;
21
+ $nord_snow_dark: #d8dee9;
22
+ $nord_snow_med: #e5e9f0;
23
+ $nord_snow_light: #eceff4;
@@ -0,0 +1,2 @@
1
+
2
+ $pad_h: 10vw;
@@ -0,0 +1,100 @@
1
+ .highlight {
2
+
3
+ background-color: $nord;
4
+ color: $body;
5
+ border-radius: 12px;
6
+ padding: 10px;
7
+ box-sizing: border-box;
8
+ max-width: 90ch;
9
+ overflow-x:scroll;
10
+ margin: 20px 0;
11
+
12
+ .hll {
13
+ background-color: $waves;
14
+ }
15
+
16
+ .c,
17
+ .ch,
18
+ .cm,
19
+ .cp,
20
+ .cpf,
21
+ .c1 {
22
+ color: $kihnu;
23
+ }
24
+ .cs {
25
+ color: $vilnius;
26
+ font-weight: 700;
27
+ }
28
+
29
+ .err {
30
+
31
+ }
32
+
33
+ .esc {
34
+
35
+ }
36
+
37
+ .g,
38
+ .p,
39
+ .l,
40
+ .x {
41
+ color: $titles;
42
+ }
43
+
44
+ .k {
45
+ color: $gotland;
46
+ font-weight: 700;
47
+ }
48
+
49
+ .l,
50
+ .sa,
51
+ .sb,
52
+ .sc,
53
+ .dl,
54
+ .sd,
55
+ .s2,
56
+ .se,
57
+ .sh,
58
+ .si,
59
+ .sx,
60
+ .sr,
61
+ .s1,
62
+ .ss {
63
+ color: $gothenburg;
64
+ }
65
+
66
+ .m,
67
+ .mb,
68
+ .mf,
69
+ .mh,
70
+ .mi,
71
+ .mo,
72
+ .il {
73
+ color: $dainava;
74
+ }
75
+
76
+ .n,
77
+ .vc,
78
+ .vg,
79
+ .vi,
80
+ .vm {
81
+ color: $sarek;
82
+ }
83
+
84
+ .nc {
85
+ color: $stockholm;
86
+ }
87
+
88
+ .nf {
89
+ color: $vilnius;
90
+ }
91
+
92
+ .kd {
93
+ color: $helsinki;
94
+ }
95
+
96
+ .o {
97
+ color: $stockholm;
98
+ }
99
+
100
+ }
data/_sass/baltic.scss CHANGED
@@ -2,7 +2,63 @@
2
2
 
3
3
  @import "baltic/color";
4
4
  @import "baltic/layout";
5
+ @import "baltic/rouge-nord";
5
6
 
6
7
  html {
7
8
  font-family: "Jetbrains Mono", "Courier New", monospace;
8
- }
9
+ }
10
+
11
+ html,
12
+ body {
13
+ margin: 0;
14
+ padding: 0;
15
+ }
16
+
17
+ body {
18
+ background-color: $seafloor;
19
+ color: $body;
20
+
21
+ &.light {
22
+ background-color: $titles;
23
+ color: $body_dark;
24
+ }
25
+ }
26
+
27
+ h1 {
28
+ font-weight: 900;
29
+ color: $gotland;
30
+ }
31
+
32
+ .header {
33
+ display: grid;
34
+ grid-template-columns: auto;
35
+ padding: 40px $pad_h;
36
+ background-color: $baltic;
37
+ border-bottom:4px solid #222d36;
38
+
39
+ .header-title-link {
40
+ font-weight: 700;
41
+ color: $body;
42
+ text-decoration: none;
43
+ transition: 0.2s;
44
+
45
+ &:hover {
46
+ color: $riga;
47
+ }
48
+ }
49
+ }
50
+
51
+ .content-area {
52
+ display: block;
53
+ max-width: calc(100vw - $pad_h);
54
+ margin: 40px $pad_h;
55
+
56
+ p {
57
+ max-width: 90ch;
58
+ }
59
+
60
+ img {
61
+ max-width: 100%;
62
+ border-radius: 12px;
63
+ }
64
+ }
data/readme.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Baltic
2
2
 
3
- ![Up North](./header.jpg)
3
+ ![Example index file](./screenshot.png)
4
4
 
5
- Todo: the rest of the readme
5
+ Baltic is a Jekyll theme inspired by the popular Nord color theme.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "baltic"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: baltic
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install baltic
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baltic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew MacGillivray
@@ -32,24 +32,30 @@ dependencies:
32
32
  version: '5.0'
33
33
  description: "A personal blog theme styled for developers. \nInspired by popular \"Nord\"
34
34
  IDE and terminal themes, my adventures in Canada, and the Baltic & Nordic regions
35
- where I dream to go.\n"
35
+ I hope to someday visit.\n"
36
36
  email: agjmacgill@gmail.com
37
37
  executables: []
38
38
  extensions: []
39
39
  extra_rdoc_files: []
40
40
  files:
41
+ - _includes/fonts.html
41
42
  - _includes/head.html
43
+ - _includes/header.html
42
44
  - _layouts/base.html
43
45
  - _sass/baltic.scss
44
46
  - _sass/baltic/color.scss
45
47
  - _sass/baltic/layout.scss
48
+ - _sass/baltic/rouge-nord.scss
46
49
  - assets/css/style.scss
47
50
  - license.txt
48
51
  - readme.md
49
52
  homepage: https://github.com/amacgillivray/baltic
50
53
  licenses:
51
54
  - MIT
52
- metadata: {}
55
+ metadata:
56
+ bug_tracker_uri: https://github.com/amacgillivray/baltic/issues
57
+ homepage_uri: https://github.com/amacgillivray/baltic
58
+ source_code_uri: https://github.com/amacgillivray/baltic
53
59
  post_install_message:
54
60
  rdoc_options: []
55
61
  require_paths: