jekyll-rebellion 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +46 -0
  4. data/_includes/blog-list.html +35 -0
  5. data/_includes/component.html +1 -0
  6. data/_includes/components/big-picture.html +25 -0
  7. data/_includes/components/contents.html +25 -0
  8. data/_includes/components/event-item.html +33 -0
  9. data/_includes/components/event-list.html +22 -0
  10. data/_includes/components/floating-boxes.html +37 -0
  11. data/_includes/components/halves.html +33 -0
  12. data/_includes/components/pull-quote.html +26 -0
  13. data/_includes/components/rich-text.html +11 -0
  14. data/_includes/components/section-full-width.html +8 -0
  15. data/_includes/components/section.html +10 -0
  16. data/_includes/components/text-section.html +10 -0
  17. data/_includes/components/youtube-video.html +16 -0
  18. data/_includes/desktop-header.html +35 -0
  19. data/_includes/footer.html +50 -0
  20. data/_includes/google-analytics.html +8 -0
  21. data/_includes/head.html +12 -0
  22. data/_includes/header.html +18 -0
  23. data/_includes/mobile-header.html +54 -0
  24. data/_includes/site-title.html +10 -0
  25. data/_includes/social-links.html +31 -0
  26. data/_layouts/base-post.html +59 -0
  27. data/_layouts/default.html +65 -0
  28. data/_layouts/home.html +10 -0
  29. data/_layouts/page.html +10 -0
  30. data/_layouts/post.html +9 -0
  31. data/_sass/rebellion.scss +44 -0
  32. data/_sass/rebellion/base.scss +318 -0
  33. data/_sass/rebellion/components.scss +326 -0
  34. data/_sass/rebellion/desktop-header.scss +81 -0
  35. data/_sass/rebellion/footer.scss +83 -0
  36. data/_sass/rebellion/header.scss +106 -0
  37. data/_sass/rebellion/mobile-header.scss +213 -0
  38. data/assets/css/rebellion-style.scss +50 -0
  39. data/assets/css/style.scss +2 -0
  40. data/assets/facebook.svg +4 -0
  41. data/assets/fucxedcaps-v2-webfont.woff +0 -0
  42. data/assets/fucxedcaps-v2-webfont.woff2 +0 -0
  43. data/assets/instagram.svg +9 -0
  44. data/assets/js.js +42 -0
  45. data/assets/logo-black.svg +5 -0
  46. data/assets/logo-square.svg +1 -0
  47. data/assets/logo-white.svg +1 -0
  48. data/assets/twitter.svg +4 -0
  49. metadata +160 -0
@@ -0,0 +1,8 @@
1
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
+ <script>
3
+ window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+ gtag('config', '{{ site.google_analytics }}');
8
+ </script>
@@ -0,0 +1,12 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1">
4
+ <link href="https://fonts.googleapis.com/css?family=Crimson+Text:400,700&display=swap" rel="stylesheet">
5
+ {%- seo -%}
6
+ <link rel="stylesheet" href="{{ "/assets/css/rebellion-style.css" | relative_url }}">
7
+ <link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
8
+ {%- feed_meta -%}
9
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
10
+ {%- include google-analytics.html -%}
11
+ {%- endif -%}
12
+ </head>
@@ -0,0 +1,18 @@
1
+ <header class="Rebellion-Header nav-visible">
2
+ {%- assign default_paths = site.pages | sort: "order" | map: "path" -%}
3
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
4
+
5
+ {% include mobile-header.html %}
6
+ {% include desktop-header.html %}
7
+
8
+
9
+ {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
10
+ {% if site.header_pages %}
11
+ {% assign titles_size = 0 %}
12
+ {%- for path in page_paths -%}
13
+ {%- assign my_page = site.pages | where: "path", path | first -%}
14
+ {% assign add = my_page.title | size %}
15
+ {% assign titles_size = titles_size | plus: add %}
16
+ {% endfor %}
17
+ {% endif %}
18
+ </header>
@@ -0,0 +1,54 @@
1
+ <div class="mobile">
2
+ <div class="edgePadding"></div>
3
+
4
+ <div class="centralPadding"></div>
5
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
6
+ {% if site.donate %}
7
+ <a class="Rebellion-Button" href="{{ site.donate }}">Donate</a>
8
+ {% endif %}
9
+ <label class="open-menu" for="nav-trigger" title="Open menu">
10
+ <span class="menu-icon">
11
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
12
+ <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
13
+ </svg>
14
+ </span>
15
+ </label>
16
+ <label class="close-menu" for="nav-trigger" title="Close menu">
17
+ <span class="menu-icon">
18
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 490 490">
19
+ <path d="M386.813 0L245 141.812 103.188 0 0 103.188 141.813 245 0 386.812l103.187 103.187L245 348.187 386.813 490 490 386.812 348.187 244.999 490 103.187z"/>
20
+ </svg>
21
+ </span>
22
+ </label>
23
+
24
+ {% include site-title.html %}
25
+ <div class="edgePadding"></div>
26
+ <div class="mobile-drawer-container">
27
+ <div class="mobile-drawer">
28
+ <div class="mobile-nav">
29
+ {%- for path in page_paths -%}
30
+ {%- assign my_page = site.pages | where: "path", path | first -%}
31
+
32
+ {% assign excluded_layout = false %}
33
+ {% for tag in site.main_nav_exclude_layouts %}
34
+ {% if tag == my_page.layout %}
35
+ {% assign excluded_layout = true %}
36
+ {% endif %}
37
+ {% endfor %}
38
+
39
+ {%- unless my_page.main_nav_exclude or excluded_layout -%}
40
+ {%- if my_page.title -%}
41
+ <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
42
+ {%- endif -%}
43
+ {% endunless %}
44
+ {%- endfor -%}
45
+ </div>
46
+ <div class="padding"></div>
47
+ {% if site.donate %}
48
+ <a class="Rebellion-Button" href="{{ site.donate }}">Donate</a>
49
+ {% endif %}
50
+ {% include social-links.html %}
51
+ </div>
52
+ </div>
53
+ <label class="scrim" for="nav-trigger"></div>
54
+ </div>
@@ -0,0 +1,10 @@
1
+ <a class="site-title" rel="author" href="{{ "/" | relative_url }}" title="{{site.title}}">
2
+ {% if site.logo %}
3
+ <img class="main-logo" src="{{ site.logo }}" alt="{{ site.title | escape }}"/>
4
+ {% else %}
5
+ <span>{{ site.title | escape }}</span>
6
+ {% endif %}
7
+ {% if site.logo_square %}
8
+ <img class="logo-square" src="{{ site.logo_square }}" alt="{{ site.title | escape }}"/>
9
+ {% endif %}
10
+ </a>
@@ -0,0 +1,31 @@
1
+ <div class="social-links">
2
+ {% if site.facebook %}
3
+ <a href="{{ site.facebook }}" title="Facebook">
4
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
5
+ <circle cx="151.69" cy="148.96" r="135.04"/>
6
+ <path d="M128.44 242.77c.02-.47.05-.94.05-1.41v-85.19-1.09H100.1c-1.26 0-1.26 0-1.26-1.21 0-10.63.01-21.26-.02-31.89 0-.97.29-1.21 1.23-1.21 9.06.03 18.11.02 27.17.02h1.27v-1.03c.02-8.84-.05-17.67.07-26.51.1-7.11 1.48-13.99 4.58-20.44 4.21-8.76 10.82-15.01 19.8-18.75 6.01-2.49 12.29-3.66 18.76-3.56 7.42.11 14.83.44 22.24.71 1.38.05 2.75.28 4.13.35.77.04 1.03.32 1.02 1.09-.03 4.4-.01 8.8-.01 13.21 0 5.19-.02 10.38.02 15.57.01.9-.25 1.18-1.17 1.17-5.63-.04-11.26-.11-16.89.02-2.56.06-5.15.34-7.65.88-4.82 1.06-7.67 4.24-8.63 9.03-.39 1.93-.6 3.92-.62 5.88-.07 7.2-.03 14.4-.03 21.6 0 .21.03.43.05.76h32.36c1.36 0 1.38 0 1.21 1.29-.73 5.66-1.49 11.32-2.22 16.98-.61 4.73-1.2 9.46-1.77 14.2-.22 1.81-.17 1.81-1.99 1.81h-27.64v85.61c0 .69-.01 1.38-.02 2.07-11.88.04-23.77.04-35.65.04z" fill="#fff"/>
7
+ </svg>
8
+ </a>
9
+ {% endif %}
10
+ {% if site.twitter %}
11
+ <a href="{{ site.twitter }}" title="Twitter">
12
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
13
+ <circle cx="151.56" cy="148.96" r="135.04"/>
14
+ <path d="M240.34 95.5a70.794 70.794 0 0 1-20.32 5.57c7.3-4.38 12.92-11.31 15.56-19.58-6.84 4.06-14.41 7-22.47 8.59a35.316 35.316 0 0 0-25.83-11.17c-19.54 0-35.39 15.84-35.39 35.38 0 2.77.31 5.47.92 8.06-29.41-1.48-55.48-15.56-72.93-36.97a35.175 35.175 0 0 0-4.79 17.79c0 12.28 6.25 23.11 15.74 29.45-5.8-.18-11.26-1.78-16.03-4.43v.45c0 17.14 12.2 31.45 28.38 34.7-2.97.81-6.1 1.24-9.32 1.24-2.28 0-4.5-.22-6.66-.63 4.5 14.06 17.57 24.29 33.06 24.57-12.11 9.49-27.37 15.15-43.95 15.15-2.86 0-5.67-.17-8.44-.5 15.66 10.04 34.26 15.9 54.24 15.9 65.09 0 100.68-53.92 100.68-100.68 0-1.53-.03-3.06-.1-4.58a72.13 72.13 0 0 0 17.65-18.31z" fill="#fff"/>
15
+ </svg>
16
+ </a>
17
+ {% endif %}
18
+ {% if site.instagram %}
19
+ <a href="{{ site.instagram }}" title="Instagram">
20
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
21
+ <style>
22
+ .st0{fill:#fff}
23
+ </style>
24
+ <circle cx="153" cy="150.23" r="135.04"/>
25
+ <path class="st0" d="M185.18 230.32h-64.36c-25.23 0-45.76-20.53-45.76-45.76v-68.67c0-25.23 20.53-45.76 45.76-45.76h64.36c25.23 0 45.76 20.53 45.76 45.76v68.67c0 25.23-20.53 45.76-45.76 45.76zM120.82 81.86c-18.76 0-34.03 15.26-34.03 34.03v68.67c0 18.76 15.26 34.03 34.03 34.03h64.36c18.76 0 34.03-15.26 34.03-34.03v-68.67c0-18.76-15.26-34.03-34.03-34.03h-64.36z"/>
26
+ <path class="st0" d="M153 192.56c-23.47 0-42.56-19.09-42.56-42.56 0-11.57 4.76-22.83 13.05-30.88 8.08-7.85 18.64-12 29.72-11.67 13.25.39 24.25 4.85 31.8 12.92 7.16 7.64 10.81 17.95 10.55 29.8-.25 11.34-4.72 21.97-12.6 29.91-7.99 8.05-18.63 12.48-29.96 12.48zm-.98-70.79c-6.89 0-13.45 2.7-18.54 7.64-5.53 5.37-8.7 12.88-8.7 20.59 0 15.56 12.66 28.22 28.22 28.22 15.48 0 27.87-12.46 28.22-28.37.18-8.02-2.13-14.83-6.68-19.68-4.88-5.21-12.41-8.11-21.75-8.39-.26-.01-.52-.01-.77-.01z"/>
27
+ <circle class="st0" cx="196.59" cy="106.24" r="9.93"/>
28
+ </svg>
29
+ </a>
30
+ {% endif %}
31
+ </div>
@@ -0,0 +1,59 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
6
+
7
+ <div class="Rebellion-Section">
8
+ <div class="Rebellion-Wrapper-Wide">
9
+ <a href="{{ page.previous.url }}">&lt; {{ page.previous.date }}</a>
10
+ <a href="{{ page.next.url }}" style="float: right;"> {{ page.next.date }} &gt;</a>
11
+ </div>
12
+
13
+ <div class="Rebellion-Post-Info">
14
+ {% if page.authors %}
15
+ <div class="box">
16
+ {% if page.authors.size == 1 %}
17
+ <h3>Author</h3>
18
+ {% else %}
19
+ <h3>Authors</h3>
20
+ {% endif %}
21
+ <ul class="authors">
22
+ {% for author in page.authors %}
23
+ {% if author.image %}
24
+ <img src="{{ story.content.image }}" />
25
+ {% endif %}
26
+ {% if author.url %}
27
+ <li><a href="/{{ author.url }}" rel="author">{{ author.name }}</a></li>
28
+ {% else %}
29
+ <li>{{ author.name }}</li>
30
+ {%endif%}
31
+ {% if author.bio %}
32
+ {{ author.bio }}
33
+ {% endif %}
34
+ {% endfor %}
35
+ </ul>
36
+ </div>
37
+ {% endif %}
38
+
39
+ {% if page.categories %}
40
+ <div class="box">
41
+ <h3>Tags</h3>
42
+ <ul class="tags">
43
+ {% for tag in page.categories %}
44
+ <li><a href="/categories/{{ tag }}/">{{ tag }}</a></li>
45
+ {% endfor %}
46
+ </ul>
47
+ </div>
48
+ {% endif %}
49
+
50
+ <div class="box">
51
+ <h3>Published</h3>
52
+ <p>Published: {{ page.date }}</p>
53
+ {% if page.last_updaed %}
54
+ <p>Updated: {{ page.last_updaed }}</p>
55
+ {% endif %}
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </div>
@@ -0,0 +1,65 @@
1
+ {% include head.html %}
2
+ <body>
3
+ {% include header.html %}
4
+
5
+ <main class="Rebellion-main">
6
+
7
+ {% if page.top_image %}
8
+ {% if layout.image_big %}
9
+ <div class="Rebellion-Section Rebellion-Big-Picture" style="background-image:url('{{page.top_image}}')"></div>
10
+ {% else %}
11
+ <div class="Rebellion-Section Rebellion-Half-Picture" style="background-image:url('{{page.top_image}}')"></div>
12
+ {% endif %}
13
+ {% if page.jump %}
14
+ <div class="Rebellion-Near-Bottom">
15
+ <div class="Rebellion-Flex-Line">
16
+ <a href="#{{ page.jump.target }}"><span class="Rebellion-Button">{{ page.jump.text }}</span></a>
17
+ </div>
18
+ </div>
19
+ {% endif %}
20
+ {% endif %}
21
+
22
+ {% if page.contents_links %}
23
+ <div class="Rebellion-Section Rebellion-Contents">
24
+ <div class="Rebellion-Wrapper-Wide">
25
+ <h2>{{ page.title }}</h2>
26
+ <ol>
27
+ {% for link in page.contents_links %}
28
+ <li><a href="#{{link.a}}">{{link.title}}</a></li>
29
+ {% endfor %}
30
+ </ol>
31
+ </div>
32
+ </div>
33
+ {% endif %}
34
+
35
+ {% if page.top_quote %}
36
+ <div class="Rebellion-Section Rebellion-PullQuote">
37
+ <div class="Rebellion-Wrapper-Wide">
38
+ <h1>{{ page.top_quote }}</h1>
39
+ </div>
40
+ </div>
41
+ {% endif %}
42
+
43
+ {{ content }}
44
+
45
+ {% if page.end_quote %}
46
+ <div class="Rebellion-Section Rebellion-PullQuote">
47
+ <div class="Rebellion-Wrapper-Wide">
48
+ <h1>{{ page.end_quote }}</h1>
49
+ <div class="Rebellion-Flex-Line">
50
+ {% if site.join_us %}
51
+ <a href="{{ site.join_us }}"><span class="Rebellion-Button">Join Us</span></a>
52
+ {% endif %}
53
+ {% if site.donate %}
54
+ <a href="{{ site.donate }}"><span class="Rebellion-Button">Donate</span></a>
55
+ {% endif %}
56
+ </div>
57
+ </div>
58
+ </div>
59
+ {% endif %}
60
+ </main>
61
+
62
+ {% include footer.html %}
63
+ </body>
64
+ <script src="/assets/js.js"></script>
65
+ </html>
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: default
3
+ image_big: true
4
+ ---
5
+
6
+ <div class="Rebellion-Section">
7
+ <div class="Rebellion-Wrapper-Wide">
8
+ {{ content }}
9
+ </div>
10
+ </div>
@@ -0,0 +1,10 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="Rebellion-Section">
6
+ <div class="Rebellion-Wrapper-Wide">
7
+ {{ content }}
8
+ </div>
9
+ </div>
10
+
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: base-post
3
+ ---
4
+ <div class="Rebellion-Section">
5
+ <div class="Rebellion-Wrapper-Wide">
6
+ <h1>{{ page.title }}</h1>
7
+ {{ content }}
8
+ </div>
9
+ </div>
@@ -0,0 +1,44 @@
1
+ // Define defaults for each variable.
2
+
3
+ @font-face{
4
+ font-family:"FucXed";
5
+ font-style:normal;
6
+ font-weight:normal;
7
+ src:url("../fucxedcaps-v2-webfont.woff2") format("woff2"),url("../assets/fucxedcaps-v2-webfont.woff") format("woff");
8
+ font-display:swap
9
+ }
10
+
11
+
12
+ // Fonts
13
+ $base-font-stack: "Crimson Text", serif !default;
14
+ $base-font-size: 16pt !default;
15
+ $base-font-weight: 400 !default;
16
+ $base-line-height: 1.5 !default;
17
+ $header-font-stack: "FucXed","Helvetica Neue",Helvetica,Arial,sans-serif;
18
+ $small-font-size: $base-font-size * 0.875 !default;
19
+ $smaller-font-size: $base-font-size * 0.7 !default;
20
+
21
+
22
+ $table-text-align: left !default;
23
+
24
+ // Width of the content area
25
+ $content-width-narrow: 400px !default;
26
+ $content-width-wide: 600px !default;
27
+ $half-width: 500px !default;
28
+
29
+ $on-small: 400px !default;
30
+ $on-medium: 800px !default;
31
+ $on-large: 1300px !default;
32
+
33
+ $spacing-unit: 10px !default;
34
+ $action-bar-height: 72px !default;
35
+ $rounding: 5px;
36
+
37
+ // Import partials.
38
+ @import
39
+ "rebellion/base",
40
+ "rebellion/header",
41
+ "rebellion/footer",
42
+ "rebellion/components"
43
+ ;
44
+
@@ -0,0 +1,318 @@
1
+ /**
2
+ * Reset some basic elements
3
+ */
4
+
5
+ body {
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ h1, h2, h3, h4, h5, h6,
11
+ p, hr,
12
+ dl, dd, ol, ul {
13
+ margin: $spacing-unit 0;
14
+ padding: 0;
15
+ }
16
+
17
+ h1, h2, h3, h4, h5, h6 {
18
+ font-weight: $base-font-weight;
19
+ font-family: $header-font-stack;
20
+ margin-top: $spacing-unit*2;
21
+ }
22
+
23
+ pre, code, blockquote, figure, table {
24
+ margin: $spacing-unit*2 0;
25
+ padding: 0;
26
+ }
27
+ h1 { text-align: center; }
28
+
29
+
30
+ /**
31
+ * Basic styling
32
+ */
33
+ body {
34
+ font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-stack;
35
+ color: $text-color;
36
+ background-color: $background-color;
37
+ display: flex;
38
+ min-height: 100vh;
39
+ flex-direction: column;
40
+ }
41
+
42
+
43
+ img {
44
+ max-width: 100%;
45
+ vertical-align: middle;
46
+ }
47
+
48
+ figure {
49
+ & > img {
50
+ display: block;
51
+ margin-left: 50%;
52
+ transform:translateX(-50%);
53
+ }
54
+
55
+ > figcaption {
56
+ text-align: center;
57
+ font-size: $small-font-size;
58
+ color: $text-color-light;
59
+ }
60
+ }
61
+
62
+
63
+
64
+ /**
65
+ * Lists
66
+ */
67
+ ul, ol {
68
+ margin-left: $spacing-unit;
69
+ }
70
+
71
+ li {
72
+ > ul, > ol {
73
+ margin-bottom: 0;
74
+ }
75
+ }
76
+
77
+ ol {
78
+ li {
79
+ list-style-type: none;
80
+ counter-increment: list;
81
+ position: relative;
82
+ margin-left: 1.2em;
83
+ }
84
+
85
+ li:before {
86
+ font-weight: bold;
87
+ content: counter(list) ".";
88
+ position: absolute;
89
+ left: -2.5em;
90
+ width: 2em;
91
+ text-align: right;
92
+ color: $brand-color;
93
+ }
94
+
95
+ .li01:before { content: '1.' }
96
+ .li02:before { content: '2.' }
97
+ .li03:before { content: '3.' }
98
+ .li04:before { content: '4.' }
99
+ .li05:before { content: '5.' }
100
+ .li06:before { content: '6.' }
101
+ .li07:before { content: '7.' }
102
+ .li08:before { content: '8.' }
103
+ .li09:before { content: '9.' }
104
+ .li10:before { content: '10.' }
105
+ .li11:before { content: '11.' }
106
+ .li12:before { content: '12.' }
107
+ .li13:before { content: '13.' }
108
+ .li14:before { content: '14.' }
109
+ .li15:before { content: '15.' }
110
+ .li16:before { content: '16.' }
111
+ .li17:before { content: '17.' }
112
+ .li18:before { content: '18.' }
113
+ .li19:before { content: '19.' }
114
+ .li20:before { content: '20.' }
115
+ .li21:before { content: '21.' }
116
+ .li22:before { content: '22.' }
117
+ .li23:before { content: '23.' }
118
+ .li24:before { content: '24.' }
119
+ .li25:before { content: '25.' }
120
+ .li26:before { content: '26.' }
121
+ .li27:before { content: '27.' }
122
+ .li28:before { content: '28.' }
123
+ .li29:before { content: '29.' }
124
+ .li30:before { content: '30.' }
125
+ .li31:before { content: '31.' }
126
+ }
127
+
128
+ ul {
129
+ li {
130
+ color: $text-color;
131
+ list-style-type: none;
132
+ }
133
+
134
+ li:before {
135
+ content: '\2022 '; // Unicode bullet symbol
136
+ color: $brand-color;
137
+ padding-right: 0.5em;
138
+ }
139
+ }
140
+
141
+
142
+
143
+
144
+ /**
145
+ * Links
146
+ */
147
+ a {
148
+ color: $brand-color;
149
+ text-decoration: none;
150
+ font-weight: bold;
151
+
152
+ &:visited {
153
+ color: darken($brand-color, 15%);
154
+ }
155
+
156
+ &:hover {
157
+ color: $text-color;
158
+ text-decoration: underline;
159
+ }
160
+ }
161
+
162
+
163
+ /**
164
+ * Blockquotes
165
+ */
166
+ blockquote {
167
+ color: $grey-color-dark;
168
+ border-left: 4px solid $brand-color;
169
+ padding-left: $spacing-unit;
170
+ font-size: $base-font-size * 1.125;
171
+ letter-spacing: -1px;
172
+ font-style: italic;
173
+
174
+ > :last-child {
175
+ margin-bottom: 0;
176
+ }
177
+ }
178
+
179
+
180
+
181
+ /**
182
+ * Code formatting
183
+ */
184
+ pre, code {
185
+ font-size: $base-font-size * 0.9375;
186
+ border: 1px solid $grey-color-light;
187
+ border-radius: 3px;
188
+ background-color: #eef;
189
+ }
190
+
191
+ code {
192
+ padding: 1px 5px;
193
+ }
194
+
195
+ pre {
196
+ padding: 8px 12px;
197
+ overflow-x: auto;
198
+
199
+ > code {
200
+ border: 0;
201
+ padding-right: 0;
202
+ padding-left: 0;
203
+ }
204
+ }
205
+
206
+
207
+
208
+
209
+ /**
210
+ * Tables
211
+ */
212
+ table {
213
+ width: 100%;
214
+ text-align: $table-text-align;
215
+ color: $text-color-light;
216
+ border-collapse: collapse;
217
+ border: 1px solid $grey-color-light;
218
+ font-size: $small-font-size;
219
+ tr {
220
+ &:nth-child(even) {
221
+ background-color: lighten($grey-color-light, 6%);
222
+ }
223
+ }
224
+ th, td {
225
+ padding: ($spacing-unit / 3) ($spacing-unit / 2);
226
+ }
227
+ th {
228
+ background-color: lighten($grey-color-light, 3%);
229
+ border: 1px solid darken($grey-color-light, 4%);
230
+ border-bottom-color: darken($grey-color-light, 12%);
231
+ font-size: $smaller-font-size;
232
+ }
233
+ td {
234
+ border: 1px solid $grey-color-light;
235
+ }
236
+ caption {
237
+ font-size: $small-font-size;
238
+ caption-side: bottom;
239
+ }
240
+ }
241
+
242
+
243
+
244
+ /**
245
+ * Clearfix
246
+ */
247
+ %clearfix:after {
248
+ content: "";
249
+ display: table;
250
+ clear: both;
251
+ }
252
+
253
+ .Rebellion-Wrapper-Wide{
254
+ max-width: -webkit-calc(#{$content-width-wide} - (#{$spacing-unit}));
255
+ max-width: calc(#{$content-width-wide} - (#{$spacing-unit}));
256
+ margin-right: auto;
257
+ margin-left: auto;
258
+ padding-right: $spacing-unit;
259
+ padding-left: $spacing-unit;
260
+ @extend %clearfix;
261
+
262
+ }
263
+
264
+ .Rebellion-Wrapper-Narrow{
265
+ max-width: -webkit-calc(#{$content-width-narrow} - (#{$spacing-unit}));
266
+ max-width: calc(#{$content-width-narrow} - (#{$spacing-unit}));
267
+ margin-right: auto;
268
+ margin-left: auto;
269
+ padding-right: $spacing-unit;
270
+ padding-left: $spacing-unit;
271
+ @extend %clearfix;
272
+ }
273
+
274
+ .Rebellion-Main {
275
+ display: flex;
276
+ flex: 1 0 auto;
277
+ flex-direction: column;
278
+ display: block; //Defaults to 'inline' in IE 11
279
+ }
280
+
281
+
282
+ .Rebellion-Button {
283
+ display: inline-block;
284
+ background-color: $accent-color;
285
+ color: $accent-text-color;
286
+ padding: 0.5em 1em;
287
+ border-radius: $rounding;
288
+ font-family: $header-font-stack;
289
+ transition: background-color 0.3s ease-in-out;
290
+ font-weight: normal;
291
+ &:hover {
292
+ text-decoration: none;
293
+ background-color: $accent-color-dark;
294
+ }
295
+ &:visited {
296
+ color: $accent-text-color;
297
+ }
298
+ }
299
+
300
+
301
+ .Rebellion-Post-Info {
302
+ display: flex;
303
+ flex-wrap: wrap;
304
+ justify-content: space-evenly;
305
+ align-content: stretch;
306
+ padding-top: $spacing-unit*4;
307
+ font-size: $small-font-size;
308
+
309
+ > .box {
310
+ background-color: $grey-color-light;
311
+ padding: 0 $spacing-unit*2;
312
+ flex-basis: 250px;
313
+ }
314
+ }
315
+
316
+ .invert-text {
317
+ color: $background-color;
318
+ }