antitheme 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4705886702d106a7f24a268d1a82c7a17066a959ac1ba8b0f1923c679e7a90a
4
- data.tar.gz: 01e22129c487adfde24e1b835caffdc407d4df0fdc55ed6f312997c36ac03dd3
3
+ metadata.gz: c752cdf9dad5fcb79c12eb82b7ef54736eb602d556765a3b14e1d575388a67ac
4
+ data.tar.gz: 9261d236f67ff7a7ce6409efe5d4e8a2d9f2ec3acf02b5d78ccd9ba5794b5be3
5
5
  SHA512:
6
- metadata.gz: fee9f9da955d1f0f135ed77b13351d2443fd7721d15c2d475cbec20952d56a694a27126e7a6d019285761f9027caf986729e17d37f207a4d9e4862927fdc380f
7
- data.tar.gz: 19a39b17761bdac4f7f084137e8646cc4afa7a69dcc871c4ad21c583845351ce7d22587f66bb9daaa40007312d71153510ff6860d327ffc9d4e90fd4e44f57c1
6
+ metadata.gz: 57a0b102b2841506a0379af0c464aa3c2f952aaee50c6e107bb99166d941448b3548ea0cee046c76c2772f68bd231575620dfc023ff8befe4fa7643360f8ec67
7
+ data.tar.gz: 39dcb99732403efff9ec4cb002ca4ef3b6978c4a2789a0d4efe0b283d21161468cc013c34b455be8ebeb3e9a17c4c82ef14ef30d588c4b1ae7e52a446a53f36a
data/_data/nav.yaml ADDED
@@ -0,0 +1,9 @@
1
+ pages:
2
+ - title: Home
3
+ url: /
4
+
5
+ - title: CV
6
+ url: /cv
7
+
8
+ - title: Contact
9
+ url: /contact
@@ -0,0 +1,6 @@
1
+ <head>
2
+ <title>
3
+ {{ site.title }} &middot; {{ page.title }}
4
+ </title>
5
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
6
+ </head>
@@ -0,0 +1,5 @@
1
+ {%-for item in include.collection-%}
2
+ <a href="{{ item.url }}" title="{{ item.title }}" class="masthead-nav-item">
3
+ {{ item.title }}
4
+ </a>&nbsp;|&nbsp;
5
+ {%-endfor-%}
@@ -1 +1,25 @@
1
- {{ content }}
1
+ <!DOCTYPE html>
2
+ <html lang="en" data-theme="antitheme">
3
+ {%- include head.html -%}
4
+
5
+ <body>
6
+ <div class="container">
7
+
8
+ <header class="masthead">
9
+ <h1 class="masthead-title">{{ page.title }}</h1>
10
+ <nav class="masthead-nav">
11
+ {%-include nav.html collection=site.data.nav.pages-%}
12
+ </nav>
13
+ </header>
14
+
15
+ <main class="content">
16
+ {{ content }}
17
+ </main>
18
+
19
+ <footer class="footer">
20
+ </footer>
21
+
22
+ </div>
23
+ </body>
24
+
25
+ </html>
data/_sass/_base.scss ADDED
@@ -0,0 +1,19 @@
1
+ html, body { background: black; }
2
+
3
+ html { height: 100%; }
4
+
5
+ body {
6
+ color: gray;
7
+ font-family: monospace;
8
+ font-size: 16px;
9
+ line-height: 1.4;
10
+ margin: 0;
11
+ min-height: 100%;
12
+ overflow-wrap: break-word;
13
+ }
14
+
15
+ .container {
16
+ max-width: 800px;
17
+ margin: 0 auto;
18
+ padding: 4rem 2rem;
19
+ }
@@ -0,0 +1 @@
1
+ .content {}
@@ -0,0 +1 @@
1
+ .masthead {}
File without changes
@@ -0,0 +1,6 @@
1
+ ---
2
+ ---
3
+ @import "variables";
4
+ @import "base";
5
+ @import "masthead";
6
+ @import "content";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: antitheme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - zluudg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-05 00:00:00.000000000 Z
11
+ date: 2023-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -33,9 +33,17 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - LICENSE.txt
35
35
  - README.md
36
+ - _data/nav.yaml
37
+ - _includes/head.html
38
+ - _includes/nav.html
36
39
  - _layouts/default.html
40
+ - _layouts/index.html
37
41
  - _layouts/page.html
38
- - _layouts/post.html
42
+ - _sass/_base.scss
43
+ - _sass/_content.scss
44
+ - _sass/_masthead.scss
45
+ - _sass/_variables.scss
46
+ - assets/css/main.scss
39
47
  homepage: https://gitlab.com/zluudg/antitheme
40
48
  licenses:
41
49
  - MIT
File without changes