jekyll-theme-ferris 0.0.1

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: e149e2f3b5c9444559e78b922074aff1d5b780d0ccd21639c5ff5abde3e77d96
4
+ data.tar.gz: 58e06f0986613c2c833b82295d3f6f4fc01a1280847abab0ad35511ef33fb8fc
5
+ SHA512:
6
+ metadata.gz: a48fbcd16dc3663285c7d6a3155d386fe89cf105c960d93b5ead4bceaee4748afca9f9472fa192ae1dacaad2bfb34a9b4765a9c0993281ece1a84a64526175af
7
+ data.tar.gz: bf2d1d2f26d16a4126e790d53c634801de612a094b214444285579e490c831397bb08f67807afaddb32b80e94dfe3e3e80fabcec845881405b86af783244c016
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Olivia Hugger
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.
@@ -0,0 +1,52 @@
1
+ # jekyll-theme-ferris
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 "jekyll-theme-ferris"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: jekyll-theme-ferris
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install jekyll-theme-ferris
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 `jekyll-theme-ferris.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).
52
+
@@ -0,0 +1,14 @@
1
+ {% assign event = include.event %}
2
+ <article class="event is-inline" itemscope itemtype="http://schema.org/SocialEvent" itemid="{{ event.url | prepend: site.baseurl }}">
3
+ <header>
4
+ <h1 class="event-title">
5
+ {% include event-title.html event=event %}
6
+ </h1>
7
+ </header>
8
+
9
+ {% if event.talks %}
10
+ <ol class="talk-list is-short">
11
+ {% include talk-list.html talks=event.talks show_abstract=false %}
12
+ </ol>
13
+ {% endif %}
14
+ </article>
@@ -0,0 +1,15 @@
1
+ {% assign event = include.event %}
2
+ {% if event.links.size > 0 %}
3
+ <div class="event-links">
4
+ <p>
5
+ This event was also announced on:
6
+ </p>
7
+ <ul>
8
+ {% for link in event.links %}
9
+ <li>
10
+ <a href="{{ link[1] }}" itemprop="sameAs">{{ link[0] }}</a>
11
+ </li>
12
+ {% endfor %}
13
+ </ul>
14
+ </div>
15
+ {% endif %}
@@ -0,0 +1,14 @@
1
+ {% assign event = include.event %}
2
+ <a class="event-link" href="{{ event.url | prepend: site.baseurl }}" itemprop="url">
3
+ <span class="title" itemprop="name">{{ event.title }}</span>
4
+ </a>
5
+ <span class="event-in-space-time">
6
+ <time datetime="{{ event.date | date: "%Y-%m-%dT%H:%M:%SZ" }}" itemprop="startDate">
7
+ <span class="date">{% include fancy-date.html date=event.date %}</span>
8
+ <span class="time">{{ event.date | date:"%H:%M" }}</span>
9
+ </time>
10
+ <span class="event-location">
11
+ {% assign location = site.data.locations[event.location] %}
12
+ <a class="location-name" href="{{ location.web }}">@&nbsp;{{ location.short }}</a>
13
+ </span>
14
+ </span>
@@ -0,0 +1,34 @@
1
+ {% assign event = include.event %}
2
+ <div itemscope itemtype="http://schema.org/SocialEvent" itemid="{{ event.url | prepend: site.baseurl }}" class="event">
3
+ <header class="event-header">
4
+ <h1 class="event-title">
5
+ {% include event-title.html event=event %}
6
+ </h1>
7
+ </header>
8
+
9
+ <div class="event-description text" itemprop="description">
10
+ {{ event.content | markdownify}}
11
+
12
+ {% include meetup-rsvp-button.html event=event %}
13
+ </div>
14
+
15
+ {% if event.talks %}
16
+ <ol class="talk-list is-fancy">
17
+ {% include talk-list.html talks=event.talks show_abstract=include.show_abstracts %}
18
+ </ol>
19
+ {% elsif include.call_for_talks %}
20
+ <p><em>
21
+ We're currently looking for talks.
22
+
23
+ {% if event.links['Planning discussion on Github'] %}
24
+ <a href="{{ event.links['Planning discussion on Github'] }}">Help us!</a>
25
+ {% else %}
26
+ <a href="{{ site.feedback_url }}">Help us!</a>
27
+ {% endif %}
28
+ </em></p>
29
+ {% endif %}
30
+
31
+ {% include location.html location=event.location %}
32
+
33
+ {% include event-links.html event=event %}
34
+ </div>
@@ -0,0 +1,16 @@
1
+ {% comment %}
2
+ Most code from http://alanwsmith.com/jekyll-liquid-date-formatting-examples
3
+ {% endcomment %}
4
+
5
+ {% assign d = include.date | date: "%-d" %}
6
+ {% assign m = include.date | date: "%B" %}
7
+
8
+ {{ include.date | date: "%A" }},
9
+ {% case m %}
10
+ {% when 'April' or 'May' or 'June' or 'July' %}{{ m }}
11
+ {% when 'September' %}Sept.
12
+ {% else %}{{ include.date | date: "%b" }}.
13
+ {% endcase %}
14
+ {% case d %}
15
+ {% when '1' or '21' or '31' %}{{ d }}st{% when '2' or '22' %}{{ d }}nd{% when '3' or '23' %}{{ d }}rd{% else %}{{ d }}th{% endcase %},
16
+ {{ include.date | date: "%Y" }}
@@ -0,0 +1,22 @@
1
+ <footer class="site-footer">
2
+ <div class="wrapper">
3
+ <nav class="site-nav">
4
+ {% for page in site.pages %}
5
+ {% if page.title %}{% unless page.not_in_menu %}
6
+ <p><a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></p>
7
+ {% endunless %}{% endif %}
8
+ {% endfor %}
9
+ </nav>
10
+ <aside class="external-links">
11
+ <p>
12
+ join us on <a href="http://www.meetup.com/{{ site.author.meetup }}" rel="me">Meetup.com</a>
13
+ </p>
14
+ <p>
15
+ follow us <a href="https://twitter.com/{{ site.author.twitter }}" rel="me">on Twitter</a>
16
+ </p>
17
+ <p>
18
+ contribute to this site <a href="{{ site.source_url }}">on GitHub</a>
19
+ </p>
20
+ </aside>
21
+ </div>
22
+ </footer>
@@ -0,0 +1,32 @@
1
+ <head>
2
+ <meta charset="utf-8"/>
3
+ <meta name="viewport" content="width=device-width initial-scale=1" />
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
5
+ <meta name=viewport content="width=device-width, initial-scale=1"/>
6
+
7
+ <title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
8
+ {% if page.location %}
9
+ {% capture meta_description %}
10
+ {% include event-title.html event=page %}
11
+ {% endcapture %}
12
+ <meta name="description" content="{{ meta_description | strip_html | trim }}"/>
13
+ {% else %}
14
+ <meta name="description" content="{{ site.description }}"/>
15
+ {% endif %}
16
+
17
+ <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/>
18
+ <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"/>
19
+ <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"/>
20
+
21
+ <meta property="og:type" content="website"/>
22
+ <meta property="og:image" content="{{ site.url }}/logo.png"/>
23
+
24
+ <style type="text/css">
25
+ {% capture include_to_scssify -%}
26
+ {% include styles.scss %}
27
+ {% endcapture -%}
28
+ {{ include_to_scssify | scssify }}
29
+ </style>
30
+
31
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | replace:'//','/' | prepend: site.baseurl | prepend: site.url }}"/>
32
+ </head>
@@ -0,0 +1,19 @@
1
+ <header class="site-header">
2
+ <div class="wrapper">
3
+ <div class="left">
4
+ {% if include.variant == "start-page" %}<h1>{% endif %}
5
+ <a class="site-title" href="{{ site.baseurl }}/">
6
+ {{ site.title }}
7
+ </a>
8
+ {% if include.variant == "start-page" %}</h1>{% endif %}
9
+ <p class="byline">
10
+ {{ site.description }}
11
+ </p>
12
+ </div>
13
+ <div class="right">
14
+ <a href="{{ site.baseurl }}/">
15
+ {% include logo.html %}
16
+ </a>
17
+ </div>
18
+ </div>
19
+ </header>
@@ -0,0 +1,35 @@
1
+ {% assign location = site.data.locations[include.location] %}
2
+ <section itemprop="location" itemscope itemtype="http://schema.org/Place" class="location">
3
+ <h1>Location: <span itemprop="name">{{location.name}}</span></h1>
4
+
5
+ <div class="location-info">
6
+ <address class="address">
7
+ <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
8
+ <p itemprop="streetAddress">{{location.street}}</p>
9
+ <p itemprop="addressLocality">{{location.city}}</p>
10
+ </div>
11
+ <p>
12
+ <a itemprop="url" href="{{location.web}}">Website</a>
13
+ </p>
14
+ <p>
15
+ <a href="https://www.google.com/maps/?q={{location.street | uri_escape}},+{{location.city | uri_escape}}">
16
+ Show on Google Maps
17
+ </a>
18
+ </p>
19
+ {% if location.osm %}
20
+ <p>
21
+ <a href="{{location.osm}}">
22
+ Show on OpenStreetMap
23
+ </a>
24
+ </p>
25
+ {% endif %}
26
+ </address>
27
+ <div class="location-directions">
28
+ {% if location.directions %}
29
+ <div class="text">
30
+ {{ location.directions | markdownify }}
31
+ </div>
32
+ {% endif %}
33
+ </div>
34
+ </div>
35
+ </section>
@@ -0,0 +1,3 @@
1
+ <svg width="16px" height="16px" viewBox="0 0 256 250" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid">
2
+ <path d="M128.00106,0 C57.3172926,0 0,57.3066942 0,128.00106 C0,184.555281 36.6761997,232.535542 87.534937,249.460899 C93.9320223,250.645779 96.280588,246.684165 96.280588,243.303333 C96.280588,240.251045 96.1618878,230.167899 96.106777,219.472176 C60.4967585,227.215235 52.9826207,204.369712 52.9826207,204.369712 C47.1599584,189.574598 38.770408,185.640538 38.770408,185.640538 C27.1568785,177.696113 39.6458206,177.859325 39.6458206,177.859325 C52.4993419,178.762293 59.267365,191.04987 59.267365,191.04987 C70.6837675,210.618423 89.2115753,204.961093 96.5158685,201.690482 C97.6647155,193.417512 100.981959,187.77078 104.642583,184.574357 C76.211799,181.33766 46.324819,170.362144 46.324819,121.315702 C46.324819,107.340889 51.3250588,95.9223682 59.5132437,86.9583937 C58.1842268,83.7344152 53.8029229,70.715562 60.7532354,53.0843636 C60.7532354,53.0843636 71.5019501,49.6441813 95.9626412,66.2049595 C106.172967,63.368876 117.123047,61.9465949 128.00106,61.8978432 C138.879073,61.9465949 149.837632,63.368876 160.067033,66.2049595 C184.49805,49.6441813 195.231926,53.0843636 195.231926,53.0843636 C202.199197,70.715562 197.815773,83.7344152 196.486756,86.9583937 C204.694018,95.9223682 209.660343,107.340889 209.660343,121.315702 C209.660343,170.478725 179.716133,181.303747 151.213281,184.472614 C155.80443,188.444828 159.895342,196.234518 159.895342,208.176593 C159.895342,225.303317 159.746968,239.087361 159.746968,243.303333 C159.746968,246.709601 162.05102,250.70089 168.53925,249.443941 C219.370432,232.499507 256,184.536204 256,128.00106 C256,57.3066942 198.691187,0 128.00106,0 Z M47.9405593,182.340212 C47.6586465,182.976105 46.6581745,183.166873 45.7467277,182.730227 C44.8183235,182.312656 44.2968914,181.445722 44.5978808,180.80771 C44.8734344,180.152739 45.876026,179.97045 46.8023103,180.409216 C47.7328342,180.826786 48.2627451,181.702199 47.9405593,182.340212 Z M54.2367892,187.958254 C53.6263318,188.524199 52.4329723,188.261363 51.6232682,187.366874 C50.7860088,186.474504 50.6291553,185.281144 51.2480912,184.70672 C51.8776254,184.140775 53.0349512,184.405731 53.8743302,185.298101 C54.7115892,186.201069 54.8748019,187.38595 54.2367892,187.958254 Z M58.5562413,195.146347 C57.7719732,195.691096 56.4895886,195.180261 55.6968417,194.042013 C54.9125733,192.903764 54.9125733,191.538713 55.713799,190.991845 C56.5086651,190.444977 57.7719732,190.936735 58.5753181,192.066505 C59.3574669,193.22383 59.3574669,194.58888 58.5562413,195.146347 Z M65.8613592,203.471174 C65.1597571,204.244846 63.6654083,204.03712 62.5716717,202.981538 C61.4524999,201.94927 61.1409122,200.484596 61.8446341,199.710926 C62.5547146,198.935137 64.0575422,199.15346 65.1597571,200.200564 C66.2704506,201.230712 66.6095936,202.705984 65.8613592,203.471174 Z M75.3025151,206.281542 C74.9930474,207.284134 73.553809,207.739857 72.1039724,207.313809 C70.6562556,206.875043 69.7087748,205.700761 70.0012857,204.687571 C70.302275,203.678621 71.7478721,203.20382 73.2083069,203.659543 C74.6539041,204.09619 75.6035048,205.261994 75.3025151,206.281542 Z M86.046947,207.473627 C86.0829806,208.529209 84.8535871,209.404622 83.3316829,209.4237 C81.8013,209.457614 80.563428,208.603398 80.5464708,207.564772 C80.5464708,206.498591 81.7483088,205.631657 83.2786917,205.606221 C84.8005962,205.576546 86.046947,206.424403 86.046947,207.473627 Z M96.6021471,207.069023 C96.7844366,208.099171 95.7267341,209.156872 94.215428,209.438785 C92.7295577,209.710099 91.3539086,209.074206 91.1652603,208.052538 C90.9808515,206.996955 92.0576306,205.939253 93.5413813,205.66582 C95.054807,205.402984 96.4092596,206.021919 96.6021471,207.069023 Z"></path>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="16px" height="13px" version="1.1" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" viewBox="0 0 6701 5446" xmlns:xlink="http://www.w3.org/1999/xlink">
2
+ <path class="twitter-logo" d="M6701 645c-247,109 -512,183 -790,216 284,-170 502,-440 604,-761 -266,158 -560,272 -873,334 -251,-267 -608,-434 -1004,-434 -759,0 -1375,616 -1375,1375 0,108 12,213 36,313 -1143,-57 -2156,-605 -2834,-1437 -118,203 -186,439 -186,691 0,477 243,898 612,1144 -225,-7 -437,-69 -623,-172 0,6 0,11 0,17 0,666 474,1222 1103,1348 -115,31 -237,48 -362,48 -89,0 -175,-9 -259,-25 175,546 683,944 1284,955 -471,369 -1063,589 -1708,589 -111,0 -220,-7 -328,-19 608,390 1331,618 2108,618 2529,0 3912,-2095 3912,-3912 0,-60 -1,-119 -4,-178 269,-194 502,-436 686,-712z"/>
3
+ </svg>
@@ -0,0 +1 @@
1
+ <img src="/assets/logo.png" width="200" />
@@ -0,0 +1,10 @@
1
+ {% assign event = include.event %}
2
+ {% if event.links['Meetup.com'] %}
3
+ {% if event.date > site.time %}
4
+ <p>
5
+ Please
6
+ <a href="{{ event.links['Meetup.com'] }}/">let us know</a>
7
+ if you're planning to drop by! :-)
8
+ </p>
9
+ {% endif %}
10
+ {% endif %}
@@ -0,0 +1,27 @@
1
+ $max-width: 50rem;
2
+ $spacing: 1rem;
3
+ $spacing-small: 0.4em;
4
+ $spacing-large: 1.4em;
5
+
6
+ $breakpoint-one-column: 40rem;
7
+
8
+ $color-bg: #FFF;
9
+ $color-fg: #333;
10
+ $color-ac: #FF7500; // orange from /r/rust
11
+ $color-lo: #ccc;
12
+
13
+ @import
14
+ "resets",
15
+ "layout",
16
+ "common",
17
+ "text",
18
+ "figures",
19
+ "header",
20
+ "footer",
21
+ "event",
22
+ "event-list",
23
+ "talks",
24
+ "location",
25
+ "start",
26
+ "template"
27
+ ;
@@ -0,0 +1,31 @@
1
+ {% for talk in include.talks %}
2
+ <li class="talk-item">
3
+ <article class="talk" id="talk-{{forloop.index}}" itemprop="workPerformed" itemscope itemtype="http://schema.org/AudioObject">
4
+ <header class="talk-header">
5
+ <h1 class="talk-title" itemprop="name">{{talk.title}}</h1>
6
+ {% if talk.speaker %}
7
+ <p itemprop="author" itemscope itemtype="http://schema.org/Person">
8
+ by <em class="talk-speaker" itemprop="name">{{talk.speaker.name}}</em>
9
+ {% if talk.speaker.twitter %}<a class="talk-speaker-twitter" itemprop="sameAs" href="https://twitter.com/{{talk.speaker.twitter}}" title="@{{talk.speaker.twitter}} on Twitter">
10
+ {% include logo-twitter.html %}
11
+ </a>{% endif %}
12
+ {% if talk.speaker.github %}<a class="talk-speaker-github" itemprop="sameAs" href="https://github.com/{{talk.speaker.github}}" title="@{{talk.speaker.github}} on GitHub">
13
+ {% include logo-github.html %}
14
+ </a>{% endif %}
15
+ {% if talk.slides %}
16
+ &mdash; <a itemprop="isBasedOnUrl" href="{{ talk.slides }}">Slides</a>
17
+ {% endif %}
18
+ {% if talk.video %}
19
+ &mdash; <a itemprop="contentUrl" href="{{ talk.video }}">Video</a>
20
+ {% endif %}
21
+ </p>
22
+ {% endif %}
23
+ </header>
24
+ {% if include.show_abstract && if talk.abstract %}
25
+ <div class="talk-abstract" itemprop="description">
26
+ {{ talk.abstract | markdownify }}
27
+ </div>
28
+ {% endif %}
29
+ </article>
30
+ </li>
31
+ {% endfor %}
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include head.html %}
4
+ <body>
5
+ {% include header.html variant=page.header-variant %}
6
+
7
+ {{ content }}
8
+
9
+ {% include footer.html %}
10
+ </body>
11
+ </html>
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="page-event" role="main">
5
+ {% include event.html event=page show_abstracts=true %}
6
+ </article>
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="page" role="main">
5
+ <header class="post-header">
6
+ <h1 class="post-title">{{ page.title }}</h1>
7
+ </header>
8
+
9
+ <div class="post-content">
10
+ {{ content }}
11
+ </div>
12
+ </article>
@@ -0,0 +1,17 @@
1
+ @mixin hr($style: solid) {
2
+ margin-top: $spacing-large;
3
+ border-top: 1px $style $color-lo;
4
+ padding-top: $spacing-large;
5
+ }
6
+
7
+ @mixin label() {
8
+ padding: ($spacing-small / 2) $spacing-small;
9
+ margin: 0;
10
+
11
+ font-size: 0.75rem;
12
+ font-weight: bold;
13
+ text-transform: uppercase;
14
+
15
+ background-color: $color-fg;
16
+ color: $color-bg;
17
+ }
@@ -0,0 +1,24 @@
1
+ .event-list {
2
+ list-style: none;
3
+ padding-left: 0;
4
+
5
+ .event-item:not(:last-child) {
6
+ padding-bottom: $spacing;
7
+ border-bottom: 1px solid $color-lo;
8
+ margin-bottom: $spacing;
9
+ }
10
+
11
+ .event-title {
12
+ font-size: 1rem;
13
+ font-weight: normal;
14
+
15
+ .title {
16
+ display: block;
17
+ font-weight: bold;
18
+ }
19
+
20
+ .separator {
21
+ display: none;
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,48 @@
1
+ .event {
2
+ margin: $spacing 0;
3
+
4
+ .talk-list,
5
+ .location,
6
+ .event-links {
7
+ margin-top: $spacing;
8
+ }
9
+ }
10
+
11
+ .event-title {
12
+ font-size: 1.5rem;
13
+ }
14
+
15
+ .event-in-space-time {
16
+ display: block;
17
+ font-weight: normal;
18
+ }
19
+
20
+ .event-title,
21
+ .event-meetupcom,
22
+ .event time,
23
+ .event-meta {
24
+ margin-bottom: $spacing;
25
+ }
26
+
27
+ .event-links {
28
+ ul {
29
+ padding-left: 0;
30
+ margin-left: 0;
31
+ list-style: none;
32
+ }
33
+
34
+ li {
35
+ display: inline-block;
36
+ padding-bottom: $spacing-small;
37
+ padding-right: $spacing-small;
38
+
39
+ + li {
40
+ &:before {
41
+ display: inline-block;
42
+ padding-right: $spacing-small;
43
+ content: " – ";
44
+ color: $color-lo;
45
+ }
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,37 @@
1
+ figure {
2
+ margin-bottom: $spacing;
3
+
4
+ figcaption {
5
+ margin-bottom: $spacing-small;
6
+ font-style: italic;
7
+ }
8
+
9
+ img {
10
+ display: block;
11
+ max-width: 100%;
12
+ height: auto;
13
+ }
14
+ }
15
+
16
+ .embed {
17
+ position: relative;
18
+ display: block;
19
+ height: 0;
20
+ padding: 0;
21
+ overflow: hidden;
22
+
23
+ iframe,
24
+ video {
25
+ position: absolute;
26
+ top: 0;
27
+ bottom: 0;
28
+ left: 0;
29
+ width: 100%;
30
+ height: 100%;
31
+ border: 0
32
+ }
33
+ }
34
+
35
+ .ratio-16-9 {
36
+ padding-bottom: 9 / 16 * 100%;
37
+ }
@@ -0,0 +1,16 @@
1
+ .site-footer {
2
+ margin-top: $spacing-large;
3
+ border-top: 1px solid $color-lo;
4
+ padding-top: $spacing-large;
5
+ padding-bottom: $spacing-large;
6
+
7
+ .wrapper {
8
+ @extend %row;
9
+ @extend %clearfix;
10
+ }
11
+
12
+ .site-nav,
13
+ .external-links {
14
+ @extend %half;
15
+ }
16
+ }
@@ -0,0 +1,64 @@
1
+ .site-header {
2
+ padding-top: $spacing;
3
+ padding-bottom: $spacing;
4
+ border-bottom: 1px solid $color-lo;
5
+ margin-bottom: $spacing;
6
+
7
+ .wrapper {
8
+ @extend %row;
9
+ display: flex;
10
+
11
+ .left, .right {
12
+ display: flex;
13
+ flex-direction: column;
14
+ justify-content: center;
15
+ }
16
+
17
+ svg {
18
+ g, path {
19
+ transition: all 0.2s ease-in-out;
20
+ transform-origin: center center;
21
+ }
22
+
23
+ &:hover {
24
+ .cathedral {
25
+ fill: $color-ac;
26
+ }
27
+
28
+ .cogwheel {
29
+ transform: rotate(-2deg);
30
+ }
31
+ }
32
+ }
33
+
34
+ @media screen and (max-width: 20rem) {
35
+ flex-direction: column-reverse;
36
+
37
+ svg {
38
+ display: block;
39
+ margin-left: auto;
40
+ margin-right: auto;
41
+ max-height: 5em;
42
+ }
43
+ }
44
+
45
+ @media screen and (min-width: 20.0001rem) {
46
+ .left {
47
+ flex: 1;
48
+ }
49
+
50
+ .right {
51
+ margin-left: $spacing;
52
+ }
53
+ }
54
+ }
55
+ }
56
+
57
+ .site-title {
58
+ word-wrap: break-word;
59
+ font-size: 2rem;
60
+
61
+ @media screen and (max-width: 25rem) {
62
+ font-size: 1.5rem;
63
+ }
64
+ }
@@ -0,0 +1,46 @@
1
+ @mixin clearfix {
2
+ *zoom: 1;
3
+ &:before, &:after {
4
+ display: table;
5
+ content: "";
6
+ }
7
+ &:after {
8
+ clear: both;
9
+ }
10
+ }
11
+
12
+ %clearfix {
13
+ @include clearfix;
14
+ }
15
+
16
+ %row {
17
+ max-width: $max-width;
18
+ margin: 0 auto;
19
+ @extend %clearfix;
20
+
21
+ @media screen and (max-width: ($max-width + 2 * $spacing)) {
22
+ padding: 0 $spacing;
23
+ }
24
+ }
25
+
26
+ %half {
27
+ width: 50%;
28
+ float: left;
29
+
30
+ @media screen and (min-width: $breakpoint-one-column + 0.1rem) {
31
+ &:nth-child(2n+1) {
32
+ clear: left;
33
+ padding-right: $spacing;
34
+ }
35
+ &:nth-child(2n) {
36
+ clear: right;
37
+ padding-left: $spacing;
38
+ }
39
+ }
40
+
41
+ @media screen and (max-width: $breakpoint-one-column) {
42
+ width: 100%;
43
+ float: none;
44
+ @include clearfix;
45
+ }
46
+ }
@@ -0,0 +1,46 @@
1
+ .location {
2
+ padding: 0;
3
+
4
+ .location-info {
5
+ @extend %row;
6
+ }
7
+
8
+ .address,
9
+ .location-directions {
10
+ @extend %half;
11
+ }
12
+
13
+ .map-container {
14
+ position: relative;
15
+ height: 0;
16
+ padding-bottom: 70%;
17
+ margin-bottom: $spacing;
18
+
19
+ iframe {
20
+ position: absolute;
21
+ top: 0;
22
+ left: 0;
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+ }
27
+
28
+ h1 {
29
+ @include label();
30
+ margin-top: 0;
31
+ margin-bottom: $spacing;
32
+ }
33
+
34
+ .location-directions {
35
+ font-size: 0.9rem;
36
+ line-height: 1.5;
37
+
38
+ @media screen and (max-width: $breakpoint-one-column) {
39
+ margin-top: 1em;
40
+ }
41
+
42
+ ul:first-child {
43
+ margin-top: 0;
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,5 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
@@ -0,0 +1,29 @@
1
+ .page-home {
2
+ .section-headline {
3
+ @include label();
4
+ display: inline-block;
5
+ clear: right;
6
+ }
7
+
8
+ .event {
9
+ margin-top: 0;
10
+ }
11
+
12
+ .event-title {
13
+ margin-top: ($spacing-small / 2);
14
+ }
15
+
16
+ figure {
17
+ margin-top: $spacing;
18
+ }
19
+ }
20
+
21
+ .next-meetup {
22
+ padding-top: $spacing;
23
+ }
24
+
25
+ .future-meetups,
26
+ .prev-meetup,
27
+ .featured-impressions {
28
+ @include hr(solid);
29
+ }
@@ -0,0 +1,55 @@
1
+ .talk-list.is-fancy {
2
+ @extend %clearfix;
3
+ margin-bottom: $spacing;
4
+
5
+ .talk-item {
6
+ @extend %half;
7
+ margin-bottom: $spacing;
8
+ }
9
+ }
10
+
11
+ .talk-list.is-short {
12
+ li {
13
+ margin-left: 1.3em;
14
+ }
15
+ }
16
+
17
+ .talk-item .talk {
18
+ &:before {
19
+ @include label();
20
+ display: block;
21
+ }
22
+ }
23
+
24
+ .talk-header {
25
+ margin-bottom: $spacing;
26
+
27
+ .talk-title {
28
+ font-size: 1rem;
29
+ margin-top: $spacing-small;
30
+ }
31
+ }
32
+
33
+ .talk-speaker-twitter,
34
+ .talk-speaker-github {
35
+ svg {
36
+ fill: $color-ac;
37
+ }
38
+ }
39
+
40
+ .talk-abstract {
41
+ font-size: 0.9em;
42
+ line-height: 1.5;
43
+ }
44
+
45
+ // Talk Header with Counter
46
+
47
+ .talk-list.is-fancy {
48
+ counter-reset: talk-counter;
49
+ list-style: none;
50
+
51
+ .talk-item .talk:before {
52
+ counter-increment: talk-counter;
53
+ content: "Talk #" counter(talk-counter, decimal);
54
+ }
55
+ }
@@ -0,0 +1,10 @@
1
+ body {
2
+ background-color: $color-bg;
3
+ color: $color-fg;
4
+ }
5
+
6
+ .page-home,
7
+ article.page,
8
+ article.page-event {
9
+ @extend %row;
10
+ }
@@ -0,0 +1,99 @@
1
+ $body-font: "Fira Sans";
2
+ $body-font-fallback: "Source Sans Pro", Roboto, "Droid Sans", Helvetica, Arial, sans-serif;
3
+
4
+ body, html {
5
+ font-family: $body-font-fallback;
6
+ font-size: 18px;
7
+ line-height: 1.3;
8
+ color: $color-fg;
9
+ }
10
+
11
+ html.wf-firasans-n4-active {
12
+ &, body {
13
+ font-family: $body-font, $body-font-fallback;
14
+ }
15
+ }
16
+
17
+ h1,
18
+ h2,
19
+ h3 {
20
+ margin: $spacing 0 $spacing-small;
21
+ }
22
+
23
+ h1,
24
+ .as-h1 {
25
+ font-size: 2rem;
26
+ font-weight: bold;
27
+ }
28
+
29
+ h2,
30
+ .as-h2 {
31
+ font-size: 1rem;
32
+ font-weight: bold;
33
+ text-transform: uppercase;
34
+ }
35
+
36
+ a {
37
+ color: $color-ac;
38
+ text-decoration: none;
39
+ }
40
+
41
+ p {
42
+ margin-bottom: $spacing-small;
43
+ }
44
+
45
+ ul {
46
+ margin-left: 0;
47
+ padding-left: 1.2rem;
48
+ list-style: square;
49
+ }
50
+
51
+ .text {
52
+ $text-elements: p, ul, ol;
53
+ line-height: 1.5;
54
+ padding-bottom: $spacing;
55
+
56
+ #{$text-elements} + #{$text-elements} {
57
+ margin-top: $spacing;
58
+ }
59
+
60
+ li + li {
61
+ margin-top: $spacing-small;
62
+ }
63
+ }
64
+
65
+ address {
66
+ font-style: normal;
67
+ }
68
+
69
+ hr {
70
+ border: 0;
71
+ height: 0;
72
+
73
+ @include hr(dashed);
74
+ }
75
+
76
+
77
+ // Font Features
78
+
79
+ html,
80
+ body,
81
+ table {
82
+ -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0;
83
+ -moz-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0;
84
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0;
85
+ }
86
+
87
+ h1,
88
+ h2,
89
+ h3 {
90
+ -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 1;
91
+ -moz-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 1;
92
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 1;
93
+ }
94
+
95
+ time {
96
+ -webkit-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0;
97
+ -moz-font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0;
98
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0;
99
+ }
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-ferris
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - olivia
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-07-29 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: '3.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ description:
56
+ email:
57
+ - olivia@fastmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/event-inline.html
65
+ - _includes/event-links.html
66
+ - _includes/event-title.html
67
+ - _includes/event.html
68
+ - _includes/fancy-date.html
69
+ - _includes/footer.html
70
+ - _includes/head.html
71
+ - _includes/header.html
72
+ - _includes/location.html
73
+ - _includes/logo-github.html
74
+ - _includes/logo-twitter.html
75
+ - _includes/logo.html
76
+ - _includes/meetup-rsvp-button.html
77
+ - _includes/styles.scss
78
+ - _includes/talk-list.html
79
+ - _layouts/default.html
80
+ - _layouts/event.html
81
+ - _layouts/page.html
82
+ - _sass/_common.scss
83
+ - _sass/_event-list.scss
84
+ - _sass/_event.scss
85
+ - _sass/_figures.scss
86
+ - _sass/_footer.scss
87
+ - _sass/_header.scss
88
+ - _sass/_layout.scss
89
+ - _sass/_location.scss
90
+ - _sass/_resets.scss
91
+ - _sass/_start.scss
92
+ - _sass/_talks.scss
93
+ - _sass/_template.scss
94
+ - _sass/_text.scss
95
+ homepage: https://github.com/rust-community/jekyll-theme-ferris
96
+ licenses:
97
+ - MIT
98
+ metadata: {}
99
+ post_install_message:
100
+ rdoc_options: []
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ requirements: []
114
+ rubyforge_project:
115
+ rubygems_version: 2.7.6
116
+ signing_key:
117
+ specification_version: 4
118
+ summary: A meetup theme.
119
+ test_files: []