space-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 00a0b295e42e8f2fff939e9f14ef14a87e1da2d6efd6f7999110a0886ce948db
4
+ data.tar.gz: 4a8285fe8fadbf9eb9e600f22c92125e5b505999dfdbfcd75eda6f4775ab858e
5
+ SHA512:
6
+ metadata.gz: e59f1aed4b60528fa80ccca458c20f825103c471231697c9cb5e3cf54f2fca875c1fa70ef7de5e58aa1cc8e1c96e4b9f1a6ab7c139283fdc955318fc7f7be1af
7
+ data.tar.gz: 69a6f0928504449023bc936d45fe1a67dd5c904293487a967806eda33b92fb5883c2d57f3139ab200b4990ca18446b614a3d1686acc718b8b32e12892dd05e5b
@@ -0,0 +1,15 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 0xf17
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in
8
+ all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
15
+ THE SOFTWARE.
@@ -0,0 +1 @@
1
+ space-jekyll-theme
@@ -0,0 +1,14 @@
1
+ logo: /assets/img/logo.png
2
+ title: Sketch and Crit
3
+
4
+ navigation:
5
+ - name: Cover
6
+ link: /
7
+ - name: Blog
8
+ link: /blog
9
+ - name: Nebula
10
+ link: /nebula
11
+ - name: Contact
12
+ link: "mailto: mail@example.com"
13
+
14
+ footer: Made by <a>0xf17</a>. Code at <a>GitHub</a>.
@@ -0,0 +1,4 @@
1
+ <figure>
2
+ <img src="{{ include.src }}">
3
+ <figcaption>{{ include.caption }}</figcaption>
4
+ </figure>
@@ -0,0 +1,3 @@
1
+ <footer>
2
+ <p>{{ site.footer }}</p>
3
+ </footer>
@@ -0,0 +1,9 @@
1
+ <nav>
2
+ {% for item in site.navigation %}
3
+ <a href="{{ item.link }}"
4
+ {% if page.title == item.name %}
5
+ class="active"
6
+ {% endif %}>
7
+ {{ item.name}}</a>
8
+ {% endfor %}
9
+ </nav>
@@ -0,0 +1,20 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>{{page.title}}</title>
6
+ <link rel="stylesheet" href="/assets/css/styles.css">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ </head>
9
+ <body>
10
+ <div class="container">
11
+ <div class="nav">
12
+ <img class="logo" src="{{site.logo}}">
13
+ {% include navigation.html %}
14
+ </div>
15
+ {{ content }}
16
+
17
+ {% include footer.html %}
18
+ </div>
19
+ </body>
20
+ </html>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+ {{ content }}
@@ -0,0 +1,4 @@
1
+ $device-sm-min: 500px;
2
+ $device-md-min: 700px;
3
+ $device-lg-min: 900px;
4
+ $device-xl-min: 1200px;
@@ -0,0 +1,23 @@
1
+ @mixin sm {
2
+ @media (min-width: #{$device-sm-min}) {
3
+ @content
4
+ }
5
+ }
6
+
7
+ @mixin md {
8
+ @media (min-width: #{$device-md-min}) {
9
+ @content
10
+ }
11
+ }
12
+
13
+ @mixin lg {
14
+ @media (min-width: #{$device-lg-min}) {
15
+ @content
16
+ }
17
+ }
18
+
19
+ @mixin xl {
20
+ @media (min-width: #{$device-xl-min}) {
21
+ @content
22
+ }
23
+ }
@@ -0,0 +1,219 @@
1
+ @import "_breakpoints";
2
+ @import "_mixins";
3
+
4
+ $display-font: "Sporting Grotesque", sans-serif;
5
+ $body-font: "Proza Libre";
6
+ $mono-font: "Inconsolata";
7
+ $bg-color: #c2c2c2;
8
+ $blue: #000;
9
+
10
+ * {
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ .logo {
15
+ width: 80px;
16
+ }
17
+
18
+ h1,
19
+ h2,
20
+ h3,
21
+ h4,
22
+ h5,
23
+ h6 {
24
+ font-family: $display-font;
25
+ font-weight: normal;
26
+ }
27
+
28
+ a {
29
+ text-decoration: none;
30
+ color: black;
31
+ padding-bottom: 0.25em;
32
+ border-bottom: 1px solid lightgray;
33
+ }
34
+
35
+ a:hover {
36
+ color: black;
37
+ border-bottom: 1px solid black;
38
+ }
39
+
40
+ h1 {
41
+ font-size: 40px;
42
+ line-height: 170%;
43
+ margin-top: 80px;
44
+ margin-bottom: 40px;
45
+ }
46
+
47
+ h2 {
48
+ font-size: 34px;
49
+ line-height: 160%;
50
+ margin-top: 60px;
51
+ margin-bottom: 40px;
52
+ }
53
+ h3 {
54
+ font-size: 30px;
55
+ line-height: 150%;
56
+ margin-top: 40px;
57
+ margin-bottom: 20px;
58
+ }
59
+
60
+ h4 {
61
+ font-size: 26px;
62
+ line-height: 140%;
63
+ }
64
+ h5 {
65
+ font-size: 18px;
66
+ letter-spacing: 1px;
67
+ text-transform: uppercase;
68
+ line-height: 140%;
69
+ }
70
+ h6 {
71
+ font-size: 14px;
72
+ letter-spacing: 2px;
73
+ text-transform: uppercase;
74
+ line-height: 140%;
75
+ }
76
+
77
+ p {
78
+ color: #353535;
79
+ font-size: 20px;
80
+ font-weight: 200;
81
+ line-height: 160%;
82
+ }
83
+
84
+ ul,
85
+ ol,
86
+ dl {
87
+ line-height: 200%;
88
+ font-size: 20px;
89
+ }
90
+ body {
91
+ font-family: $body-font;
92
+ margin: 0;
93
+ width: 100%;
94
+ background-color: white;
95
+ }
96
+
97
+ img,
98
+ audio,
99
+ video,
100
+ figure {
101
+ width: 100%;
102
+ margin-left: 0;
103
+ }
104
+
105
+ iframe {
106
+ width: 100%;
107
+ }
108
+ .container {
109
+ background-color: white;
110
+ margin: 2em auto 2em auto;
111
+ padding: 0 2em 0 2em;
112
+ max-width: 800px;
113
+ @include sm {
114
+ margin: 2em auto 2em auto;
115
+ padding: 0 2em 0 2em;
116
+ }
117
+ @include xl {
118
+ margin: 8em auto 8em auto;
119
+ }
120
+ }
121
+
122
+ nav {
123
+ margin-top: 40px;
124
+ margin-bottom: 40px;
125
+ font-family: $display-font;
126
+ font-size: 20px;
127
+
128
+ a {
129
+ margin-right: 30px;
130
+ line-height: 40px;
131
+ text-decoration: none !important;
132
+ border-bottom: none;
133
+ }
134
+
135
+ a.active {
136
+ text-decoration: none;
137
+ color: black;
138
+ padding-bottom: 0.25em;
139
+ border-bottom: 1px solid black;
140
+ }
141
+ }
142
+
143
+ .center {
144
+ text-align: center;
145
+ align-content: center;
146
+ justify-content: center;
147
+ }
148
+
149
+ .fixed {
150
+ position: fixed;
151
+ }
152
+
153
+ .filler {
154
+ background-color: white;
155
+ width: 100%;
156
+ height: 100%;
157
+ }
158
+
159
+ table {
160
+ text-align: left;
161
+ font-size: 20px;
162
+
163
+ caption {
164
+ text-align: left;
165
+ }
166
+ }
167
+
168
+ li {
169
+ list-style-type: "■";
170
+ padding-inline-start: 1ch;
171
+ }
172
+
173
+ blockquote {
174
+ font-family: $display-font;
175
+ color: black;
176
+
177
+ p {
178
+ color: inherit;
179
+ }
180
+ }
181
+
182
+ mono,
183
+ pre,
184
+ samp,
185
+ code,
186
+ kbd {
187
+ font-family: $mono-font;
188
+ font-size: inherit;
189
+ font-weight: 400;
190
+ }
191
+
192
+ pre {
193
+ font-size: 20px;
194
+ }
195
+
196
+ cite {
197
+ font-family: $body-font;
198
+ font-style: normal;
199
+ }
200
+
201
+ hr {
202
+ height: 1px;
203
+ border-width: 0;
204
+ color: lightgray;
205
+ background-color: lightgray;
206
+ }
207
+
208
+
209
+ footer {
210
+ margin-top: 80px;
211
+ font-size: 16px;
212
+ margin-bottom: 160px;
213
+ color: grey;
214
+
215
+ p {
216
+ color: inherit;
217
+ font-size: inherit;
218
+ }
219
+ }
@@ -0,0 +1,3 @@
1
+ ---
2
+ ---
3
+ @import "main";
Binary file
metadata ADDED
@@ -0,0 +1,71 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: space-jekyll-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - '0xf17'
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-12-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.1'
27
+ description:
28
+ email:
29
+ - grv@mathscapes.xyz
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _config.yml
37
+ - _includes/figure.html
38
+ - _includes/footer.html
39
+ - _includes/navigation.html
40
+ - _layouts/default.html
41
+ - _layouts/page.html
42
+ - _layouts/post.html
43
+ - _sass/_breakpoints.scss
44
+ - _sass/_mixins.scss
45
+ - _sass/main.scss
46
+ - assets/css/styles.scss
47
+ - assets/img/logo.png
48
+ homepage: https://mathscapes.github.io
49
+ licenses:
50
+ - MIT
51
+ metadata: {}
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubygems_version: 3.1.5
68
+ signing_key:
69
+ specification_version: 4
70
+ summary: Space Jekyll theme for internal use at Mathscapes
71
+ test_files: []