white-rabbit 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8138aa66635ce7226bfe4a64c8fb4cec3d6594a55efb6bd52766cf423a856ab1
4
+ data.tar.gz: e615fadd055791b5662e1d4c504408823364434684fb29379b5111ca641ef028
5
+ SHA512:
6
+ metadata.gz: dee1ed1da6b0de4ea222f11d8b983247d6b30da455ec9f0d8931bcd48d5e4f9abdd3b9e1797dbd791105b7e501afa8c94253ddc93f16fb97ada0b84afca0adf2
7
+ data.tar.gz: 5f33a201125307852bb62745d729d16ff72d04ae90c63af42d0c851612a00bfd8d232a1112615ce82f28d75ca137ffa78b7814000052162366db1b8d284a5616
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 marcusrelacion
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # white-rabbit
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "white-rabbit"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: white-rabbit
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install white-rabbit
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `white-rabbit.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
File without changes
@@ -0,0 +1,14 @@
1
+ <section class="contact grid-item">
2
+ <div class="contact__details">
3
+ <h2 class="contact__header">{{site.contact-header}}</h2>
4
+ <p class="contact__subheader">{{site.contact-subheader}}</p>
5
+ <a href="mailto:marcus@marcusrelacion.com" class="contact__email">Let's Chat</a>
6
+ </div>
7
+ </section>
8
+
9
+ <footer class="site-footer grid-item">
10
+ <small>&copy; Copyright 2014-2019 - Marcus Relacion.</small>
11
+ </footer>
12
+ </body>
13
+
14
+ </html>
@@ -0,0 +1,15 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1">
4
+ <link rel="alternate" type="application/rss+xml" href="{{site.feed_url}}" />
5
+
6
+ {% seo %}
7
+
8
+ <!-- styles -->
9
+ <link href="/assets/styles/app.css" media="all" rel="stylesheet" type="text/css" />
10
+
11
+ <!--scripts -->
12
+ <script src="/assets/scripts/app.js"></script>
13
+ <script defer src="https://pro.fontawesome.com/releases/{{site.font-awesome}}/js/all.js" integrity="sha384-4Gm0M5DjJ0zGaEtLu0ztNIoHWiuJ5rKiaVlpZKeNqXAW49eIIa2ymxb3C4c3uEXR"
14
+ crossorigin="anonymous"></script>
15
+ </head>
@@ -0,0 +1,32 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ {% include doctype-head.html %}
4
+
5
+ <body class="layout-{{page.layout}} grid grid-12">
6
+
7
+ <header class="site-header grid-item">
8
+ <nav class="navigation">
9
+ <div class="logo">
10
+ <a href="/">
11
+ <span class="header">Marcus Relacion</span>
12
+ <span class="subheader">Design &amp; Development</span>
13
+ </a>
14
+ </div>
15
+ <ul class="links">
16
+ {% for link in site.data.navigation.primary-nav %}
17
+ <li class="link"><a href="{{link.url}}" class="">{{link.title}}</a></li>
18
+ {% endfor %}
19
+ </ul>
20
+ </nav>
21
+ </header>
22
+
23
+ <section class="hero grid-item">
24
+ <div class="hero__details">
25
+ <h1 class="hero__header">{{page.title}}</h1>
26
+ <p class="hero__subheader">{{page.description}}</p>
27
+ {% if page.tagline %}
28
+ <small class="hero__tagline">{{page.tagline}}</small>
29
+ {% endif %}
30
+ </div>
31
+ <div class="hero__image" style="background-image: url('{{page.image}}'); background-size: cover; background-position: center center; background-repeat: no-repeat;">
32
+ </section>
@@ -0,0 +1,14 @@
1
+ <li class="content__listing__item" style="background-image: url('{{post.image}}'); background-size: cover; background-position: center center; background-repeat: no-repeat;">
2
+ <a href="{{ post.url }}">
3
+ {% if post.collection == "blog" or post.collection == "photos" %}
4
+ <h6 class="content__listing__year">{{post.date | date_to_xmlschema | date: "%a, %b %d, %Y"}}</h6>
5
+ {% elsif post.collection == "work" %}
6
+ <h6 class="content__listing__year">{{post.date | date: "%Y"}}</h6>
7
+ {% endif %}
8
+ <h3 class="content__listing__title">{{post.title}}</h3>
9
+ {% if post.tags %}
10
+ <h6 class="content__listing__tags">{{post.tags"}}</h6>
11
+ {% endif %}
12
+ <div class="content__listing__overlay"></div>
13
+ </a>
14
+ </li>
@@ -0,0 +1,7 @@
1
+ {% include doctype-open.html %}
2
+
3
+ <main role="main" class="content grid-item">
4
+ {{content}}
5
+ </main>
6
+
7
+ {% include doctype-closed.html %}
@@ -0,0 +1,70 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.url == "/" %}
6
+ <section class="content content--featured grid grid-12">
7
+ <ul data-tabs class="content__tabs tabs grid-item">
8
+ {% for tab in site.data.tabs.content-tabs %}
9
+ <li><a data-tab href="#{{tab.id}}" class="content__links"><i class="fas fa-{{tab.icon}}"></i> - {{tab.title}}</a></li>
10
+ {% endfor %}
11
+ </ul>
12
+
13
+ <div data-tabs-content class="content__tab grid-item">
14
+ <section data-tabs-pane class="content__pane tabs-pane active" id="work">
15
+ <h2 class="content__header">{{page.work-header}}</h2>
16
+ <ul class="content__listing">
17
+ {% for post in site.work limit: 3 %}
18
+ {% include post-content.html %}
19
+ {% endfor %}
20
+ </ul>
21
+ </section>
22
+ <section data-tabs-pane class="content__pane tabs-pane" id="blog">
23
+ <h2 class="content__header">{{page.blog-header}}</h2>
24
+ <ul class="content__listing">
25
+ {% for post in site.blog limit: 3 %}
26
+ {% include post-content.html %}
27
+ {% endfor %}
28
+ </ul>
29
+ </section>
30
+ <section data-tabs-pane class="content__pane tabs-pane" id="photos">
31
+ <h2 class="content__header">{{page.photos-header}}</h2>
32
+ <ul class="content__listing">
33
+ {% for post in site.photos limit: 3 %}
34
+ {% include post-content.html %}
35
+ {% endfor %}
36
+ </ul>
37
+ </section>
38
+ </div>
39
+
40
+ <script>
41
+ tabby.init();
42
+ </script>
43
+ </section>
44
+ {% endif %}
45
+
46
+ {% if page.url == "/work/" %}
47
+ <section class="content content--page">
48
+ <ul class="content__listing">
49
+ {% for post in site.work %}
50
+ {% include post-content.html %}
51
+ {% endfor %}
52
+ </ul>
53
+ </section>
54
+ {% elsif page.url == "/blog/" %}
55
+ <section class="content content--page">
56
+ <ul class="content__listing">
57
+ {% for post in site.blog %}
58
+ {% include post-content.html %}
59
+ {% endfor %}
60
+ </ul>
61
+ </section>
62
+ {% elsif page.url == "/photos/" %}
63
+ <section class="content content--page">
64
+ <ul class="content__listing">
65
+ {% for post in site.photos %}
66
+ {% include post-content.html %}
67
+ {% endfor %}
68
+ </ul>
69
+ </section>
70
+ {% endif %}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{content}}
@@ -0,0 +1,59 @@
1
+ .hero,
2
+ .contact {
3
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%239C92AC' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
4
+ display: grid;
5
+ grid-template-columns: repeat(12, 1fr);
6
+ grid-template-rows: auto;
7
+ padding: var(--spacing-4);
8
+ }
9
+
10
+ .hero__details,
11
+ .contact__details {
12
+ background-color: var(--meka-body);
13
+ grid-column: 4/10;
14
+ grid-row: 2;
15
+ padding: var(--spacing-4);
16
+ text-align: center;
17
+ z-index: 900;
18
+ }
19
+
20
+ .hero__details {
21
+ margin-bottom: calc(-1*var(--spacing-5));
22
+ transform: translateY(-64px);
23
+ }
24
+
25
+ .hero__header,
26
+ .contact__header {
27
+ color: var(--dva-primary-base);
28
+ font-size: var(--section-header);
29
+ font-weight: 700;
30
+ }
31
+
32
+ .hero__subheader,
33
+ .contact__subheader {
34
+ color: var(--dva-secondary-base);
35
+ display: block;
36
+ font-size: var(--section-subheader);
37
+ }
38
+
39
+ .contact__email,
40
+ .hero__tagline {
41
+ background-color: var(--dva-secondary-base);
42
+ color: var(--meka-body);
43
+ display: inline-block;
44
+ font-size: var(--section-tagline);
45
+ margin-top: var(--spacing-4);
46
+ padding: var(--spacing-2);
47
+ }
48
+
49
+ a.contact__email:hover {
50
+ color: var(--meka-body);
51
+ }
52
+
53
+ .hero__image {
54
+ grid-column: 3/11;
55
+ grid-row: 1;
56
+ max-height: 600px;
57
+ min-height: 400px;
58
+ overflow: hidden;
59
+ }
@@ -0,0 +1,104 @@
1
+ .content--featured {
2
+ background-color: var(--dva-primary-base);
3
+ -webkit-clip-path: polygon(50% 5%, 100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
4
+ clip-path: polygon(50% 5%, 100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
5
+ color: var(--meka-body);
6
+ padding: var(--spacing-6) var(--spacing-3) 0 var(--spacing-3);
7
+ }
8
+
9
+ .content__header {
10
+ color: var(--meka-body);
11
+ font-size: var(--section-header);
12
+ font-weight: 700;
13
+ grid-row: 1;
14
+ margin-bottom: var(--spacing-3);
15
+ text-align: center;
16
+ }
17
+
18
+ .content__listing {
19
+ display: grid;
20
+ grid-gap: var(--spacing-3);
21
+ grid-row: 2;
22
+ grid-template-columns: repeat(3, 1fr);
23
+ margin-bottom: calc(-1*var(--spacing-2));
24
+ }
25
+
26
+ .content__listing__item {
27
+ border-radius: 4px;
28
+ min-height: 480px;
29
+ overflow: hidden;
30
+ padding: var(--spacing-4);
31
+ position: relative;
32
+ transition: all 200ms ease-in-out;
33
+ transform: translateY(10px);
34
+ will-change: transform;
35
+ z-index: 500;
36
+ }
37
+
38
+ .content__listing__item:hover {
39
+ transform: translateY(-8px);
40
+ transform: scale(1.025);
41
+ }
42
+
43
+ .content__listing__year,
44
+ .content__listing__title,
45
+ .content__listing__tags {
46
+ color: var(--meka-body);
47
+ }
48
+
49
+ .content__listing__year {
50
+ font-size: var(--font-size-1);
51
+ }
52
+
53
+ .content__listing__title {
54
+ font-size: var(--font-size-4);
55
+ font-weight: 700;
56
+ transition: color 150ms ease-in;
57
+ }
58
+
59
+ .content__listing__title:hover {
60
+ color: var(--meka-body);
61
+ }
62
+
63
+ .content__listing__tags {
64
+ font-size: var(--font-size-1);
65
+ }
66
+
67
+ .content__listing__overlay {
68
+ background-color: var(--dva-secondary-dark);
69
+ opacity: 0.5;
70
+ position: absolute;
71
+ top: 0;
72
+ right: 0;
73
+ bottom: 0;
74
+ left: 0;
75
+ z-index: -100;
76
+ }
77
+
78
+ .layout-post .content {
79
+ max-width: 960px;
80
+ margin: 0 auto;
81
+ }
82
+
83
+ .content h1,
84
+ .content h2 {
85
+ font-weight: 700;
86
+ margin-bottom: var(--spacing-3);
87
+ }
88
+
89
+ .content h1 {
90
+ font-size: var(--font-size-6);
91
+ }
92
+
93
+ .content h2 {
94
+ font-size: var(--font-size-4);
95
+ }
96
+
97
+ .content p {
98
+ line-height: 1.8;
99
+ }
100
+
101
+ .content p:not(:last-child),
102
+ .content img:not(last-child) {
103
+ margin-bottom: var(--spacing-3);
104
+ }
@@ -0,0 +1,45 @@
1
+ @import url("https://fonts.googleapis.com/css?family=IBM+Plex+Mono:300,400,700");
2
+ @import url('https://fonts.googleapis.com/css?family=Neuton:400,400i,700,800');
3
+ @import url('https://fonts.googleapis.com/css?family=IBM+Plex+Serif:400,400i,700');
4
+
5
+ :root {
6
+ // skin: white rabbit
7
+ --meka-body: #EADDDB;
8
+ --meka-accent: #4E3A38;
9
+ --meka-matrix: #59A98B;
10
+ --meka-windshield: #8B4981;
11
+ --dva-primary-light: #ED918F;
12
+ --dva-primary-base: #D05249;
13
+ --dva-primary-dark: #9F3632;
14
+ --dva-secondary-light: #D38DC9;
15
+ --dva-secondary-base: #8B4981;
16
+ --dva-secondary-dark: #592F40;
17
+
18
+ --monospace: "IBM Plex Mono", monospace;
19
+ --serif: "IBM Plex Serif", serif;
20
+
21
+ --font-size-base: 16px;
22
+ --font-size-1: 0.75rem;
23
+ --font-size-2: 1rem;
24
+ --font-size-3: 1.25rem;
25
+ --font-size-4: 1.5rem;
26
+ --font-size-5: 1.75rem;
27
+ --font-size-6: 2rem;
28
+ --font-size-7: 2.25rem;
29
+
30
+ --section-header: var(--font-size-6);
31
+ --section-subheader: var(--font-size-4):
32
+ --section-tagline: var(--font-size-3);
33
+
34
+ --spacing-1: 4px;
35
+ --spacing-2: 8px;
36
+ --spacing-3: 16px;
37
+ --spacing-4: 32px;
38
+ --spacing-5: 64px;
39
+ --spacing-6: 128px;
40
+ --spacing-7: 256px;
41
+
42
+ --compact: var(--spacing-2);
43
+ --cozy: var(--spacing-4);
44
+ --comfortable: var(--spacing-4);
45
+ }