mono-lite 0.1.2 → 0.1.7

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: f71906c8e57a6cbd48b7578114b4bfc67f599948ab74bc658356c465fd7873bf
4
- data.tar.gz: f543a17c66ed2d19f7d51c00646a6d95f0793408f9a47eafe396f92d8579b8e7
3
+ metadata.gz: 39ce6c9347e8aa553c9869ee376f63eb3e9c1ea94b194659cb925b01b5f897e0
4
+ data.tar.gz: 33ba067dcbdee0b173b7bbc9edbb63581bc77506736c6a828c44c95a140baf67
5
5
  SHA512:
6
- metadata.gz: 289b05672fb309bda5fc6e9efcd181dc02bcccfeaf059d801bd6b3829fa99db7f0cd5aa4a91ffe3f08f858e03c970a6188c2e715880d14356e717b12d13f9205
7
- data.tar.gz: d65baeabeee957231d5f894882d91c550ebaa54de8afd22dcf85ab04097c2a9cfbff716da6d01ee9aaa9b0496de901ce0a764887b89d30faacf0d64f456e9602
6
+ metadata.gz: df0ebef7c589e7111353b0e3317c36476fa0d7546ee81c46bd57ffe121b53b34b02dddcc7110ec77c117025641ccec5a9c3f75ee1ff58bfb96ad827c23025137
7
+ data.tar.gz: 43fb87a28291181358a9b5beb76e8e4b927fd05aa4f49cc99a2b10d13737081335e51b28160fa754ee5fc68e4fd214031b88d9be762dea60fa29ebc2e7392e7d
data/_config.yml CHANGED
@@ -11,16 +11,24 @@ show_excerpts: false # set to true to show excerpts on the homepage
11
11
 
12
12
  mono-lite:
13
13
 
14
+ intro_description: >
15
+ Write a brief intro description about yourself. Essentially a bio
16
+ for the header of the page. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque pretium auctor semper.
17
+ Etiam ac vulputate nibh. Morbi sagittis porttitor velit quis consectetur. Phasellus at lacus felis.
18
+ Nulla ac iaculis lectus. Nam fermentum massa lorem. Donec mattis vitae mauris ut rutrum.
19
+ Quisque facilisis justo vitae magna mattis suscipit. Nam non elit eget magna varius facilisis vitae ac mi.
20
+ Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean consequat ligula eget iaculis dignissim.
21
+
14
22
  # generate social links in footer
15
- social_links:
16
- twitter: jekyllrb
17
- github: jekyll
23
+ # social_links:
24
+ # twitter: jekyllrb
25
+ # github: jekyll
18
26
  # devto: jekyll
19
27
  # dribbble: jekyll
20
28
  # facebook: jekyll
21
29
  # flickr: jekyll
22
30
  # instagram: jekyll
23
- linkedin: jekyll
31
+ # linkedin: jekyll
24
32
  # pinterest: jekyll
25
33
  # youtube: jekyll
26
34
  # youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
@@ -44,10 +52,5 @@ mono-lite:
44
52
  # - username: jekyll2
45
53
  # instance: example.com
46
54
 
47
- # If you want to link only specific pages in your header, uncomment
48
- # this and add the path to the pages in order as they should show up
49
- #header_pages:
50
- # - about.md
51
-
52
55
  # Build settings
53
56
  theme: mono-lite
@@ -1,5 +1,5 @@
1
1
  <header class="site-header">
2
2
  <p class="site-title">{{ site.title | upcase | escape }}</p>
3
- <p>{{ site.description | escape }}</p>
3
+ <p>{{ site.mono-lite.intro_description | escape }}</p>
4
4
  {%- include social.html -%}
5
5
  </header>
data/_layouts/home.html CHANGED
@@ -15,7 +15,7 @@ layout: default
15
15
  <img src="{{ post.src }}">
16
16
  </div>
17
17
  <div class="post-details">
18
- <div class="post-date">{{ post.date | date: '%B %Y' }}</div>
18
+ <div class="post-date">{{ post.date | date: '%b %Y' }}</div>
19
19
  <div>
20
20
  <span class="post-title">{{ post.title }}</span>
21
21
  <span class="post-subtitle">{{ post.subtitle }}</span>
data/_layouts/post.html CHANGED
@@ -4,7 +4,7 @@ layout: page
4
4
  <article class="post">
5
5
 
6
6
  <header class="post-header">
7
- <h2>{{ page.title | escape }}</h2>
7
+ <h1 class="post-title-header">{{ page.title | escape }}</h1>
8
8
  <div class="post-byline">{{ page.subtitle }}</div>
9
9
  </header>
10
10
 
data/_sass/_base.scss CHANGED
@@ -1,21 +1,129 @@
1
1
  body {
2
- font-family: 'Raleway', sans-serif;
2
+ font-family: $base-font-family;
3
+ font-size: $base-font-size;
3
4
  margin: 26px 0;
4
5
  line-height: 1.2;
5
6
  font-weight: 300;
6
7
  -webkit-font-smoothing: antialiased;
7
8
  }
8
9
 
10
+ /**
11
+ * Reset these elements
12
+ */
13
+ blockquote, pre, hr,
14
+ figure, ol, ul, li {
15
+ margin: 0;
16
+ padding: 0;
17
+ }
18
+
19
+ /**
20
+ * Links
21
+ */
9
22
  a {
10
- color: #207575;
23
+ color: $link-base-color;
11
24
  cursor: pointer;
12
25
  }
13
26
 
14
- h1 {
15
- font-weight: 600;
27
+ /**
28
+ * Headings
29
+ */
30
+ h1, h2, h3, h4, h5, h6 {
31
+ font-weight: $base-font-weight;
16
32
  }
17
33
 
18
- ul, li {
19
- margin: 0;
20
- padding: 0;
34
+ /**
35
+ * Code formatting
36
+ */
37
+ pre,
38
+ code {
39
+ font-family: $code-font-family;
40
+ font-size: $code-font-size;
41
+ border: 1px solid $border-color-01;
42
+ border-radius: 3px;
43
+ background-color: $code-background-color;
44
+ }
45
+
46
+ code {
47
+ padding: 1px 5px;
48
+ }
49
+
50
+ pre {
51
+ padding: 8px 12px;
52
+ overflow-x: auto;
53
+
54
+ > code {
55
+ border: 0;
56
+ padding-right: 0;
57
+ padding-left: 0;
58
+ }
59
+ }
60
+
61
+ /**
62
+ * Tables
63
+ */
64
+ table {
65
+ margin-bottom: $spacing-unit;
66
+ width: 100%;
67
+ text-align: $table-text-align;
68
+ color: $table-text-color;
69
+ border-collapse: collapse;
70
+ border: 1px solid $table-border-color;
71
+ tr {
72
+ &:nth-child(even) {
73
+ background-color: $table-zebra-color;
74
+ }
75
+ }
76
+ th, td {
77
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
78
+ }
79
+ th {
80
+ background-color: $table-header-bg-color;
81
+ border: 1px solid $table-header-border;
82
+ }
83
+ td {
84
+ border: 1px solid $table-border-color;
85
+ }
86
+ }
87
+
88
+ /**
89
+ * Figures
90
+ */
91
+ figure > img {
92
+ display: block;
93
+ }
94
+
95
+ figcaption {
96
+ font-size: $small-font-size;
97
+ }
98
+
99
+ /**
100
+ * Lists
101
+ */
102
+ ul, ol {
103
+ margin-left: $spacing-unit;
104
+ }
105
+
106
+ li {
107
+ > ul,
108
+ > ol {
109
+ margin-bottom: 0;
110
+ }
111
+ }
112
+
113
+ /**
114
+ * Blockquotes
115
+ */
116
+ blockquote {
117
+ color: $brand-color;
118
+ border-left: 4px solid $border-color-01;
119
+ padding-left: $spacing-unit / 2;
120
+ font-style: italic;
121
+
122
+ > :last-child {
123
+ margin-bottom: 0;
124
+ }
125
+
126
+ i, em {
127
+ font-style: normal;
128
+ }
21
129
  }
data/_sass/_layout.scss CHANGED
@@ -58,18 +58,8 @@ section {
58
58
  width: 100%;
59
59
  }
60
60
 
61
- h3 {
62
- display: block;
63
- font-size: 1.17em;
64
- margin-block-start: 1em;
65
- margin-block-end: 1em;
66
- margin-inline-start: 0px;
67
- margin-inline-end: 0px;
68
- font-weight: bold;
69
- }
70
-
71
61
  .post-category {
72
- margin-top: 64px;
62
+ margin-top: 48px;
73
63
  font-weight: 400;
74
64
  }
75
65
 
@@ -95,6 +85,8 @@ h3 {
95
85
  .post-img img {
96
86
  height: 100%;
97
87
  width: 100%;
88
+ top: 0;
89
+ object-fit: cover;
98
90
  }
99
91
 
100
92
  .post-details {
@@ -117,13 +109,7 @@ h3 {
117
109
  display: block;
118
110
  }
119
111
 
120
- .post-subtitle {
121
- display: block;
122
- font-weight: 300;
123
- font-size: 0.8em;
124
- }
125
-
126
- .post-header h2 {
112
+ .post-title-header {
127
113
  display: block;
128
114
  font-size: 1.5em;
129
115
  margin-block-start: 0.83em;
@@ -133,6 +119,19 @@ h3 {
133
119
  font-weight: bold;
134
120
  }
135
121
 
122
+ .post-subtitle {
123
+ display: block;
124
+ font-weight: 300;
125
+ font-size: 0.8em;
126
+ }
127
+
128
+ .post-content {
129
+ img {
130
+ object-fit: contain;
131
+ width: 100%;
132
+ }
133
+ }
134
+
136
135
  .post-byline {
137
136
  position: relative;
138
137
  top: -12px;
@@ -2,12 +2,14 @@
2
2
 
3
3
  // Define defaults for each variable.
4
4
 
5
- $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Symbol", "Segoe UI Emoji", "Apple Color Emoji", Roboto, Helvetica, Arial, sans-serif !default;
5
+ $base-font-family: 'Raleway', sans-serif !default;
6
6
  $code-font-family: "Menlo", "Inconsolata", "Consolas", "Roboto Mono", "Ubuntu Mono", "Liberation Mono", "Courier New", monospace;
7
7
  $base-font-size: 16px !default;
8
- $base-font-weight: 400 !default;
8
+ $code-font-size: 0.91em;
9
+ $base-font-weight: 600 !default;
9
10
  $small-font-size: $base-font-size * 0.875 !default;
10
11
  $base-line-height: 1.5 !default;
12
+ $link-base-color: #207575;
11
13
 
12
14
  $spacing-unit: 30px !default;
13
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mono-lite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Hawley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-05 00:00:00.000000000 Z
11
+ date: 2021-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll