ceevee 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +47 -0
- data/_includes/footer.html +31 -0
- data/_includes/head.html +9 -0
- data/_includes/header.html +22 -0
- data/_includes/post_preview.html +25 -0
- data/_includes/project_preview.html +20 -0
- data/_includes/sidebar.html +22 -0
- data/_layouts/blog.html +14 -0
- data/_layouts/default.html +28 -0
- data/_layouts/post.html +37 -0
- data/_layouts/project.html +25 -0
- data/_layouts/projects.html +14 -0
- data/_layouts/timeline.html +7 -0
- data/_sass/ceevee.scss +13 -0
- data/_sass/ceevee.scss.old +51 -0
- data/_sass/ceevee/_base.scss +254 -0
- data/_sass/ceevee/_header.scss +28 -0
- data/_sass/ceevee/_layout.scss +255 -0
- data/_sass/ceevee/_main.scss +30 -0
- data/_sass/ceevee/_post.scss +52 -0
- data/_sass/ceevee/_post_preview.scss +56 -0
- data/_sass/ceevee/_project.scss +0 -0
- data/_sass/ceevee/_project_preview.scss +57 -0
- data/_sass/ceevee/_sidebar.scss +51 -0
- data/_sass/ceevee/_syntax-highlighting.scss +71 -0
- data/_sass/ceevee/_timeline.scss +93 -0
- data/assets/img1.JPG +0 -0
- data/assets/img2.JPG +0 -0
- data/assets/img3.JPG +0 -0
- data/assets/img4.JPG +0 -0
- data/assets/img5.JPG +0 -0
- data/assets/img6.JPG +0 -0
- data/assets/img7.JPG +0 -0
- data/assets/img8.JPG +0 -0
- data/assets/main.scss +5 -0
- data/assets/sidebar-image.jpg +0 -0
- metadata +138 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7ca02d376cfd3b4df0ab4d047a11d24de64e550d4829b45c61e5a4a95b5032bb
|
4
|
+
data.tar.gz: d9203555e385c67b0095bf14805c077aadf585a41af87a3f09df24ac5d7eead2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dce72de8ae090da55980c0d133132699eb9a3c14df74ff2165694b17dfb721f04f4c41ff6cd8ced1876fd8dc13f74850c6c9fe1530675f5712adda33daf6ee7b
|
7
|
+
data.tar.gz: 967d16432a8e3c68a3d93c3d50ef6867e34015dd35fcf904b4d824f1a0444c8fb77c31a9e8e482424980b72cdaa2bad108eb65ce4bd3f1a90bcc2472ceb3140a
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Mathias Schaeffner
|
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,47 @@
|
|
1
|
+
|
2
|
+
# ceevee
|
3
|
+
|
4
|
+
Ceevee is a Jekyll theme for a personal website. It has a blog, a projects page and a timeline that can be used for a CV.
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your Jekyll site's `Gemfile`:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "ceevee"
|
12
|
+
```
|
13
|
+
|
14
|
+
And add this line to your Jekyll site's `_config.yml`:
|
15
|
+
|
16
|
+
```yaml
|
17
|
+
theme: ceevee
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install ceevee
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
31
|
+
|
32
|
+
## Contributing
|
33
|
+
|
34
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/mschaeffner/ceevee. 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.
|
35
|
+
|
36
|
+
## Development
|
37
|
+
|
38
|
+
To set up your environment to develop this theme, run `bundle install`.
|
39
|
+
|
40
|
+
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.
|
41
|
+
|
42
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
43
|
+
To add a custom directory to your theme-gem, please edit the regexp in `ceevee.gemspec` accordingly.
|
44
|
+
|
45
|
+
## License
|
46
|
+
|
47
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<footer class="site-footer h-card">
|
2
|
+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
3
|
+
|
4
|
+
<div class="wrapper">
|
5
|
+
|
6
|
+
<h2 class="footer-heading">{{ site.title | escape }}</h2>
|
7
|
+
|
8
|
+
<div class="footer-col-wrapper">
|
9
|
+
<div class="footer-col footer-col-1">
|
10
|
+
<ul class="contact-list">
|
11
|
+
<li class="p-name">
|
12
|
+
{%- if site.author -%}
|
13
|
+
{{ site.author | escape }}
|
14
|
+
{%- else -%}
|
15
|
+
{{ site.title | escape }}
|
16
|
+
{%- endif -%}
|
17
|
+
</li>
|
18
|
+
{%- if site.email -%}
|
19
|
+
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
20
|
+
{%- endif -%}
|
21
|
+
</ul>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="footer-col footer-col-3">
|
25
|
+
<p>{{- site.description | escape -}}</p>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
</div>
|
30
|
+
|
31
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
{%- seo -%}
|
6
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
7
|
+
<link href="https://fonts.googleapis.com/css?family=PT+Serif:400,700" rel="stylesheet">
|
8
|
+
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet">
|
9
|
+
</head>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<header class="header">
|
2
|
+
|
3
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
4
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
5
|
+
|
6
|
+
{%- if page_paths -%}
|
7
|
+
<nav class="nav">
|
8
|
+
{%- for path in page_paths -%}
|
9
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
10
|
+
{%- if my_page.title -%}
|
11
|
+
<a class="nav-link {% if page.url == my_page.url or page.layout == 'post' and my_page.url == '/' %}nav-link-active{% endif %}" href="{{ my_page.url | relative_url }}">
|
12
|
+
{%- if my_page.icon -%}
|
13
|
+
<i class="{{ my_page.icon }} nav-icon"></i>
|
14
|
+
{%- endif -%}
|
15
|
+
{{ my_page.title | escape }}
|
16
|
+
</a>
|
17
|
+
{%- endif -%}
|
18
|
+
{%- endfor -%}
|
19
|
+
</nav>
|
20
|
+
{%- endif -%}
|
21
|
+
|
22
|
+
</header>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<a class="post-preview" href="{{ post.url | relative_url }}">
|
2
|
+
|
3
|
+
<div class="post-preview-image">
|
4
|
+
<span style="background-image: url({{ post.image | relative_url }})" ></span>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<div class="post-preview-text">
|
8
|
+
<h2 class="post-preview-title">
|
9
|
+
{{ post.title | escape }}
|
10
|
+
</h2>
|
11
|
+
|
12
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
13
|
+
<div class="post-preview-date">
|
14
|
+
{{ post.date | date: date_format }}
|
15
|
+
</div>
|
16
|
+
|
17
|
+
{%- if post.tagline -%}
|
18
|
+
<div class="post-preview-tagline">
|
19
|
+
{{ post.tagline }}
|
20
|
+
</div>
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
</div>
|
24
|
+
|
25
|
+
</a>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<a class="project-preview" href="{{ post.url | relative_url }}">
|
2
|
+
|
3
|
+
<div class="project-preview-image">
|
4
|
+
<span style="background-image: url({{ post.image | relative_url }})" ></span>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<div class="project-preview-text">
|
8
|
+
<h2 class="project-preview-title">
|
9
|
+
{{ post.title | escape }}
|
10
|
+
</h2>
|
11
|
+
|
12
|
+
{%- if post.tagline -%}
|
13
|
+
<div class="project-preview-tagline">
|
14
|
+
{{ post.tagline }}
|
15
|
+
</div>
|
16
|
+
{%- endif -%}
|
17
|
+
|
18
|
+
</div>
|
19
|
+
|
20
|
+
</a>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<div class="sidebar">
|
2
|
+
|
3
|
+
<a href="/">
|
4
|
+
<img src="{{ "/assets/sidebar-image.jpg" | relative_url }}" class="sidebar-image" />
|
5
|
+
</a>
|
6
|
+
|
7
|
+
<h1 class="sidebar-name">{{ site.author }}</h1>
|
8
|
+
|
9
|
+
{%- if site.author_title -%}
|
10
|
+
<h2 class="sidebar-title">{{ site.author_title }}</h2>
|
11
|
+
{%- endif -%}
|
12
|
+
|
13
|
+
{%- if site.sidebar_sections -%}
|
14
|
+
{%- for section in site.sidebar_sections -%}
|
15
|
+
<div class="sidebar-section">
|
16
|
+
<h4>{{ section.title }}</h2>
|
17
|
+
<p>{{ section.text }}</p>
|
18
|
+
</div>
|
19
|
+
{%- endfor -%}
|
20
|
+
{%- endif -%}
|
21
|
+
|
22
|
+
</div>
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<div class="container">
|
9
|
+
|
10
|
+
{%- include sidebar.html -%}
|
11
|
+
|
12
|
+
<div class="main">
|
13
|
+
|
14
|
+
{%- include header.html -%}
|
15
|
+
|
16
|
+
<div class="content">
|
17
|
+
{{ content }}
|
18
|
+
</div>
|
19
|
+
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<!-- {%- include footer.html -%} -->
|
23
|
+
|
24
|
+
</div>
|
25
|
+
|
26
|
+
</body>
|
27
|
+
|
28
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
<header>
|
7
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<h2 class="post-tagline" itemprop="alternativeHeadline">{{ page.tagline | escape }}</h2>
|
9
|
+
|
10
|
+
<div class="post-image">
|
11
|
+
<span style="background-image: url({{ page.image | relative_url }})" ></span>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<p class="post-meta">
|
15
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
16
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
17
|
+
{{ page.date | date: date_format }}
|
18
|
+
</time>
|
19
|
+
{%- if site.author -%}
|
20
|
+
• <span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
21
|
+
<span itemprop="name">{{ site.author }}</span>
|
22
|
+
</span>
|
23
|
+
{%- endif -%}
|
24
|
+
</p>
|
25
|
+
</header>
|
26
|
+
|
27
|
+
<div class="post-content" itemprop="articleBody">
|
28
|
+
{{ content }}
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div class="post-end"></div>
|
32
|
+
|
33
|
+
{%- if site.disqus.shortname -%}
|
34
|
+
{%- include disqus_comments.html -%}
|
35
|
+
{%- endif -%}
|
36
|
+
|
37
|
+
</article>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
<header>
|
7
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
8
|
+
<h2 class="post-tagline" itemprop="alternativeHeadline">{{ page.tagline | escape }}</h2>
|
9
|
+
|
10
|
+
<div class="post-image">
|
11
|
+
<span style="background-image: url({{ page.image | relative_url }})" ></span>
|
12
|
+
</div>
|
13
|
+
</header>
|
14
|
+
|
15
|
+
<div class="post-content" itemprop="articleBody">
|
16
|
+
{{ content }}
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="post-end"></div>
|
20
|
+
|
21
|
+
{%- if site.disqus.shortname -%}
|
22
|
+
{%- include disqus_comments.html -%}
|
23
|
+
{%- endif -%}
|
24
|
+
|
25
|
+
</article>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="project-preview_container">
|
6
|
+
|
7
|
+
{%- assign posts = site.posts | where: "layout", "project" -%}
|
8
|
+
{%- if posts.size > 0 -%}
|
9
|
+
{%- for post in posts -%}
|
10
|
+
{%- include project_preview.html -%}
|
11
|
+
{%- endfor -%}
|
12
|
+
{%- endif -%}
|
13
|
+
|
14
|
+
</div>
|
data/_sass/ceevee.scss
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
// Define defaults for each variable.
|
4
|
+
|
5
|
+
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
6
|
+
$base-font-size: 16px !default;
|
7
|
+
$base-font-weight: 400 !default;
|
8
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
9
|
+
$base-line-height: 1.5 !default;
|
10
|
+
|
11
|
+
$spacing-unit: 30px !default;
|
12
|
+
|
13
|
+
$text-color: #111 !default;
|
14
|
+
$background-color: #fdfdfd !default;
|
15
|
+
$brand-color: #2a7ae2 !default;
|
16
|
+
|
17
|
+
$grey-color: #828282 !default;
|
18
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
19
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
20
|
+
|
21
|
+
$table-text-align: left !default;
|
22
|
+
|
23
|
+
// Width of the content area
|
24
|
+
$content-width: 800px !default;
|
25
|
+
|
26
|
+
$on-palm: 600px !default;
|
27
|
+
$on-laptop: 800px !default;
|
28
|
+
|
29
|
+
// Use media queries like this:
|
30
|
+
// @include media-query($on-palm) {
|
31
|
+
// .wrapper {
|
32
|
+
// padding-right: $spacing-unit / 2;
|
33
|
+
// padding-left: $spacing-unit / 2;
|
34
|
+
// }
|
35
|
+
// }
|
36
|
+
@mixin media-query($device) {
|
37
|
+
@media screen and (max-width: $device) {
|
38
|
+
@content;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
@mixin relative-font-size($ratio) {
|
43
|
+
font-size: $base-font-size * $ratio;
|
44
|
+
}
|
45
|
+
|
46
|
+
// Import partials.
|
47
|
+
@import
|
48
|
+
"ceevee/base",
|
49
|
+
"ceevee/layout",
|
50
|
+
"ceevee/syntax-highlighting"
|
51
|
+
;
|
@@ -0,0 +1,254 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body, h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre, hr,
|
6
|
+
dl, dd, ol, ul, figure {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Basic styling
|
15
|
+
*/
|
16
|
+
body {
|
17
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
18
|
+
color: $text-color;
|
19
|
+
background-color: $background-color;
|
20
|
+
-webkit-text-size-adjust: 100%;
|
21
|
+
-webkit-font-feature-settings: "kern" 1;
|
22
|
+
-moz-font-feature-settings: "kern" 1;
|
23
|
+
-o-font-feature-settings: "kern" 1;
|
24
|
+
font-feature-settings: "kern" 1;
|
25
|
+
font-kerning: normal;
|
26
|
+
display: flex;
|
27
|
+
min-height: 100vh;
|
28
|
+
flex-direction: column;
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
35
|
+
*/
|
36
|
+
h1, h2, h3, h4, h5, h6,
|
37
|
+
p, blockquote, pre,
|
38
|
+
ul, ol, dl, figure,
|
39
|
+
%vertical-rhythm {
|
40
|
+
margin-bottom: $spacing-unit / 2;
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
/**
|
46
|
+
* `main` element
|
47
|
+
*/
|
48
|
+
main {
|
49
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
/**
|
55
|
+
* Images
|
56
|
+
*/
|
57
|
+
img {
|
58
|
+
max-width: 100%;
|
59
|
+
vertical-align: middle;
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
/**
|
65
|
+
* Figures
|
66
|
+
*/
|
67
|
+
figure > img {
|
68
|
+
display: block;
|
69
|
+
}
|
70
|
+
|
71
|
+
figcaption {
|
72
|
+
font-size: $small-font-size;
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
/**
|
78
|
+
* Lists
|
79
|
+
*/
|
80
|
+
ul, ol {
|
81
|
+
margin-left: $spacing-unit;
|
82
|
+
}
|
83
|
+
|
84
|
+
li {
|
85
|
+
> ul,
|
86
|
+
> ol {
|
87
|
+
margin-bottom: 0;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Headings
|
95
|
+
*/
|
96
|
+
h1, h2, h3, h4, h5, h6 {
|
97
|
+
font-weight: $base-font-weight;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Links
|
104
|
+
*/
|
105
|
+
a {
|
106
|
+
color: $brand-color;
|
107
|
+
text-decoration: none;
|
108
|
+
|
109
|
+
&:visited {
|
110
|
+
color: darken($brand-color, 15%);
|
111
|
+
}
|
112
|
+
|
113
|
+
&:hover {
|
114
|
+
color: $text-color;
|
115
|
+
text-decoration: underline;
|
116
|
+
}
|
117
|
+
|
118
|
+
.social-media-list &:hover {
|
119
|
+
text-decoration: none;
|
120
|
+
|
121
|
+
.username {
|
122
|
+
text-decoration: underline;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Blockquotes
|
130
|
+
*/
|
131
|
+
blockquote {
|
132
|
+
color: $grey-color;
|
133
|
+
border-left: 4px solid $grey-color-light;
|
134
|
+
padding-left: $spacing-unit / 2;
|
135
|
+
@include relative-font-size(1.125);
|
136
|
+
letter-spacing: -1px;
|
137
|
+
font-style: italic;
|
138
|
+
|
139
|
+
> :last-child {
|
140
|
+
margin-bottom: 0;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
/**
|
147
|
+
* Code formatting
|
148
|
+
*/
|
149
|
+
pre,
|
150
|
+
code {
|
151
|
+
@include relative-font-size(0.9375);
|
152
|
+
border: 1px solid $grey-color-light;
|
153
|
+
border-radius: 3px;
|
154
|
+
background-color: #eef;
|
155
|
+
}
|
156
|
+
|
157
|
+
code {
|
158
|
+
padding: 1px 5px;
|
159
|
+
}
|
160
|
+
|
161
|
+
pre {
|
162
|
+
padding: 8px 12px;
|
163
|
+
overflow-x: auto;
|
164
|
+
|
165
|
+
> code {
|
166
|
+
border: 0;
|
167
|
+
padding-right: 0;
|
168
|
+
padding-left: 0;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Wrapper
|
176
|
+
*/
|
177
|
+
.wrapper {
|
178
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
179
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
180
|
+
margin-right: auto;
|
181
|
+
margin-left: auto;
|
182
|
+
padding-right: $spacing-unit;
|
183
|
+
padding-left: $spacing-unit;
|
184
|
+
@extend %clearfix;
|
185
|
+
|
186
|
+
@include media-query($on-laptop) {
|
187
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
188
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
189
|
+
padding-right: $spacing-unit / 2;
|
190
|
+
padding-left: $spacing-unit / 2;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
/**
|
197
|
+
* Clearfix
|
198
|
+
*/
|
199
|
+
%clearfix:after {
|
200
|
+
content: "";
|
201
|
+
display: table;
|
202
|
+
clear: both;
|
203
|
+
}
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
/**
|
208
|
+
* Icons
|
209
|
+
*/
|
210
|
+
|
211
|
+
.svg-icon {
|
212
|
+
width: 16px;
|
213
|
+
height: 16px;
|
214
|
+
display: inline-block;
|
215
|
+
fill: #{$grey-color};
|
216
|
+
padding-right: 5px;
|
217
|
+
vertical-align: text-top;
|
218
|
+
}
|
219
|
+
|
220
|
+
.social-media-list {
|
221
|
+
li + li {
|
222
|
+
padding-top: 5px;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Tables
|
230
|
+
*/
|
231
|
+
table {
|
232
|
+
margin-bottom: $spacing-unit;
|
233
|
+
width: 100%;
|
234
|
+
text-align: $table-text-align;
|
235
|
+
color: lighten($text-color, 18%);
|
236
|
+
border-collapse: collapse;
|
237
|
+
border: 1px solid $grey-color-light;
|
238
|
+
tr {
|
239
|
+
&:nth-child(even) {
|
240
|
+
background-color: lighten($grey-color-light, 6%);
|
241
|
+
}
|
242
|
+
}
|
243
|
+
th, td {
|
244
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
245
|
+
}
|
246
|
+
th {
|
247
|
+
background-color: lighten($grey-color-light, 3%);
|
248
|
+
border: 1px solid darken($grey-color-light, 4%);
|
249
|
+
border-bottom-color: darken($grey-color-light, 12%);
|
250
|
+
}
|
251
|
+
td {
|
252
|
+
border: 1px solid $grey-color-light;
|
253
|
+
}
|
254
|
+
}
|