jekyll-bulma-theme 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/LICENSE.txt +21 -21
- data/README.md +52 -52
- data/_includes/header.html +18 -0
- data/_includes/share-button.html +15 -15
- data/_layouts/default.html +1 -18
- data/_layouts/page.html +5 -5
- data/_layouts/post.html +65 -65
- data/_sass/_app.scss +157 -157
- data/_sass/syntax.scss +214 -214
- data/assets/css/app.scss +4 -4
- data/assets/js/app.js +241 -241
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3c3f78f27e5814fe9fb1328e9f111afc81829bb0
|
4
|
+
data.tar.gz: 9dc580d4ec5389933789f3f51bdac59a4eecdf36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32654554445f08672890cab58db68fee818df0f908c7a3c1d1358b75adbf1a0df89fd71ffd80a4ca75c5c8c9f40168fdc8a9ea73ec0f4b0739f8f91084d6bc0e
|
7
|
+
data.tar.gz: 3a6dab7d4a4a7191334bc864c7c6bedb4546bb3bbd4fa85a144e559890bcd1a887ca9ba9347449079a863ae0f65a644783f2c73bb2b6f5c660bd0a25cad81a31
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2018 Nakorn Sinpadung
|
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.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Nakorn Sinpadung
|
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
CHANGED
@@ -1,52 +1,52 @@
|
|
1
|
-
# jekyll-bulma-theme
|
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-bulma-theme"
|
16
|
-
```
|
17
|
-
|
18
|
-
And add this line to your Jekyll site's `_config.yml`:
|
19
|
-
|
20
|
-
```yaml
|
21
|
-
theme: jekyll-bulma-theme
|
22
|
-
```
|
23
|
-
|
24
|
-
And then execute:
|
25
|
-
|
26
|
-
$ bundle
|
27
|
-
|
28
|
-
Or install it yourself as:
|
29
|
-
|
30
|
-
$ gem install jekyll-bulma-theme
|
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-bulma-theme.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
|
-
|
1
|
+
# jekyll-bulma-theme
|
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-bulma-theme"
|
16
|
+
```
|
17
|
+
|
18
|
+
And add this line to your Jekyll site's `_config.yml`:
|
19
|
+
|
20
|
+
```yaml
|
21
|
+
theme: jekyll-bulma-theme
|
22
|
+
```
|
23
|
+
|
24
|
+
And then execute:
|
25
|
+
|
26
|
+
$ bundle
|
27
|
+
|
28
|
+
Or install it yourself as:
|
29
|
+
|
30
|
+
$ gem install jekyll-bulma-theme
|
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-bulma-theme.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,18 @@
|
|
1
|
+
{% if page.title %}
|
2
|
+
<header class="hero is-link">
|
3
|
+
<div class="hero-body">
|
4
|
+
<div class="container">
|
5
|
+
<h1 class="title">
|
6
|
+
{{ page.title }}
|
7
|
+
</h1>
|
8
|
+
<h2 class="subtitle">
|
9
|
+
{% if page.subtitle %}
|
10
|
+
{{ page.subtitle }}
|
11
|
+
{% else if page.date %}
|
12
|
+
{{ page.date | date: site.date_format }}
|
13
|
+
{% endif %}
|
14
|
+
</h2>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</header>
|
18
|
+
{% endif %}
|
data/_includes/share-button.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
<span class="tag is-white is-medium" disabled>Share:</span>
|
2
|
-
<div class="buttons has-addons">
|
3
|
-
<span class="button is-facebook on-share" data-url="{{ post.url | absolute_url }}" data-provider="facebook">
|
4
|
-
<span class="icon"><i class="fab fa-lg fa-facebook-f"></i></span>
|
5
|
-
</span>
|
6
|
-
<span class="button is-twitter on-share" data-url="{{ post.url | absolute_url }}" data-provider="twitter">
|
7
|
-
<span class="icon"><i class="fab fa-lg fa-twitter"></i></span>
|
8
|
-
</span>
|
9
|
-
<span class="button is-google on-share" data-url="{{ post.url | absolute_url }}" data-provider="google">
|
10
|
-
<span class="icon"><i class="fab fa-lg fa-google-plus-g"></i></span>
|
11
|
-
</span>
|
12
|
-
<span class="button is-pinterest on-share" data-url="{{ post.url | absolute_url }}" data-provider="pinterest">
|
13
|
-
<span class="icon"><i class="fab fa-lg fa-pinterest-p"></i></span>
|
14
|
-
</span>
|
15
|
-
</div>
|
1
|
+
<span class="tag is-white is-medium" disabled>Share:</span>
|
2
|
+
<div class="buttons has-addons">
|
3
|
+
<span class="button is-facebook on-share" data-url="{{ post.url | absolute_url }}" data-provider="facebook">
|
4
|
+
<span class="icon"><i class="fab fa-lg fa-facebook-f"></i></span>
|
5
|
+
</span>
|
6
|
+
<span class="button is-twitter on-share" data-url="{{ post.url | absolute_url }}" data-provider="twitter">
|
7
|
+
<span class="icon"><i class="fab fa-lg fa-twitter"></i></span>
|
8
|
+
</span>
|
9
|
+
<span class="button is-google on-share" data-url="{{ post.url | absolute_url }}" data-provider="google">
|
10
|
+
<span class="icon"><i class="fab fa-lg fa-google-plus-g"></i></span>
|
11
|
+
</span>
|
12
|
+
<span class="button is-pinterest on-share" data-url="{{ post.url | absolute_url }}" data-provider="pinterest">
|
13
|
+
<span class="icon"><i class="fab fa-lg fa-pinterest-p"></i></span>
|
14
|
+
</span>
|
15
|
+
</div>
|
data/_layouts/default.html
CHANGED
@@ -29,24 +29,7 @@
|
|
29
29
|
<div id="specialShadow" class="bd-special-shadow"></div>
|
30
30
|
{% include navbar.html %}
|
31
31
|
</nav>
|
32
|
-
{%
|
33
|
-
<header class="hero is-link">
|
34
|
-
<div class="hero-body">
|
35
|
-
<div class="container">
|
36
|
-
<h1 class="title">
|
37
|
-
{{ page.title }}
|
38
|
-
</h1>
|
39
|
-
<h2 class="subtitle">
|
40
|
-
{% if page.subtitle %}
|
41
|
-
{{ page.subtitle }}
|
42
|
-
{% else if page.date %}
|
43
|
-
{{ page.date | date: site.date_format }}
|
44
|
-
{% endif %}
|
45
|
-
</h2>
|
46
|
-
</div>
|
47
|
-
</div>
|
48
|
-
</header>
|
49
|
-
{% endif %}
|
32
|
+
{% include header.html %}
|
50
33
|
<main>
|
51
34
|
{{ content }}
|
52
35
|
</main>
|
data/_layouts/page.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
{{ content }}
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{{ content }}
|
data/_layouts/post.html
CHANGED
@@ -1,65 +1,65 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<section class="section">
|
6
|
-
<div class="container">
|
7
|
-
<div class="field">
|
8
|
-
<div class="content">
|
9
|
-
{{ content }}
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
<div class="field">
|
13
|
-
<div class="level">
|
14
|
-
<div class="level-left"></div>
|
15
|
-
<div class="level-right">
|
16
|
-
{% include share-button.html %}
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
{% if page.author %}
|
21
|
-
<div class="field">
|
22
|
-
<article class="message is-info">
|
23
|
-
<div class="message-header">
|
24
|
-
About author
|
25
|
-
</div>
|
26
|
-
<div class="message-body">
|
27
|
-
<div class="media">
|
28
|
-
<figure class="media-left">
|
29
|
-
<img class="image avatar" src="{{ page.author.image }}" alt="">
|
30
|
-
</figure>
|
31
|
-
<div class="media-content">
|
32
|
-
<div class="content">
|
33
|
-
<h1>
|
34
|
-
{{ page.author.realname }}
|
35
|
-
<span class="is-pulled-right">
|
36
|
-
{% if page.author.github %}
|
37
|
-
<a target="_blank" href="https://github.com/{{ page.author.github }}">
|
38
|
-
<span class="icon"><i class="fab fa-xs fa-github text-github"></i></span>
|
39
|
-
</a>
|
40
|
-
{% endif %}
|
41
|
-
{% if page.author.twitter %}
|
42
|
-
<a target="_blank" href="https://twitter.com/{{ page.author.twitter }}">
|
43
|
-
<span class="icon"><i class="fab fa-xs fa-twitter text-twitter"></i></span>
|
44
|
-
</a>
|
45
|
-
{% endif %}
|
46
|
-
{% if page.author.facebook %}
|
47
|
-
<a target="_blank" href="https://www.facebook.com/{{ page.author.facebook }}">
|
48
|
-
<span class="icon"><i class="fab fa-xs fa-facebook text-facebook"></i></span>
|
49
|
-
</a>
|
50
|
-
{% endif %}
|
51
|
-
</span>
|
52
|
-
</h1>
|
53
|
-
<blockquote>
|
54
|
-
{{ page.author.quote }}
|
55
|
-
</blockquote>
|
56
|
-
{{ page.author.extra-quote }}
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
</article>
|
62
|
-
</div>
|
63
|
-
{% endif %}
|
64
|
-
</div>
|
65
|
-
</section>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="section">
|
6
|
+
<div class="container">
|
7
|
+
<div class="field">
|
8
|
+
<div class="content">
|
9
|
+
{{ content }}
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<div class="field">
|
13
|
+
<div class="level">
|
14
|
+
<div class="level-left"></div>
|
15
|
+
<div class="level-right">
|
16
|
+
{% include share-button.html %}
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
{% if page.author %}
|
21
|
+
<div class="field">
|
22
|
+
<article class="message is-info">
|
23
|
+
<div class="message-header">
|
24
|
+
About author
|
25
|
+
</div>
|
26
|
+
<div class="message-body">
|
27
|
+
<div class="media">
|
28
|
+
<figure class="media-left">
|
29
|
+
<img class="image avatar" src="{{ page.author.image }}" alt="">
|
30
|
+
</figure>
|
31
|
+
<div class="media-content">
|
32
|
+
<div class="content">
|
33
|
+
<h1>
|
34
|
+
{{ page.author.realname }}
|
35
|
+
<span class="is-pulled-right">
|
36
|
+
{% if page.author.github %}
|
37
|
+
<a target="_blank" href="https://github.com/{{ page.author.github }}">
|
38
|
+
<span class="icon"><i class="fab fa-xs fa-github text-github"></i></span>
|
39
|
+
</a>
|
40
|
+
{% endif %}
|
41
|
+
{% if page.author.twitter %}
|
42
|
+
<a target="_blank" href="https://twitter.com/{{ page.author.twitter }}">
|
43
|
+
<span class="icon"><i class="fab fa-xs fa-twitter text-twitter"></i></span>
|
44
|
+
</a>
|
45
|
+
{% endif %}
|
46
|
+
{% if page.author.facebook %}
|
47
|
+
<a target="_blank" href="https://www.facebook.com/{{ page.author.facebook }}">
|
48
|
+
<span class="icon"><i class="fab fa-xs fa-facebook text-facebook"></i></span>
|
49
|
+
</a>
|
50
|
+
{% endif %}
|
51
|
+
</span>
|
52
|
+
</h1>
|
53
|
+
<blockquote>
|
54
|
+
{{ page.author.quote }}
|
55
|
+
</blockquote>
|
56
|
+
{{ page.author.extra-quote }}
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</article>
|
62
|
+
</div>
|
63
|
+
{% endif %}
|
64
|
+
</div>
|
65
|
+
</section>
|
data/_sass/_app.scss
CHANGED
@@ -1,157 +1,157 @@
|
|
1
|
-
@import "syntax";
|
2
|
-
|
3
|
-
$github: #333333;
|
4
|
-
$twitter: #1da1f2;
|
5
|
-
$facebook: #3b5998;
|
6
|
-
$google: #dd4b39;
|
7
|
-
$pinterest: #bd081c;
|
8
|
-
|
9
|
-
body {
|
10
|
-
display: flex;
|
11
|
-
min-height: 100vh;
|
12
|
-
flex-direction: column;
|
13
|
-
margin-top: 52px;
|
14
|
-
}
|
15
|
-
|
16
|
-
#app {
|
17
|
-
flex: 1 0 auto;
|
18
|
-
}
|
19
|
-
|
20
|
-
.media-content {
|
21
|
-
overflow: hidden;
|
22
|
-
}
|
23
|
-
|
24
|
-
.text-github, a.navbar-item.text-github:hover {
|
25
|
-
color: $github;
|
26
|
-
}
|
27
|
-
|
28
|
-
.text-twitter, a.navbar-item.text-twitter:hover {
|
29
|
-
color: $twitter;
|
30
|
-
}
|
31
|
-
|
32
|
-
.text-facebook, a.navbar-item.text-facebook:hover {
|
33
|
-
color: $facebook;
|
34
|
-
}
|
35
|
-
|
36
|
-
.is-github {
|
37
|
-
background-color: $github;
|
38
|
-
}
|
39
|
-
|
40
|
-
.is-twitter {
|
41
|
-
background-color: $twitter;
|
42
|
-
}
|
43
|
-
|
44
|
-
.is-facebook {
|
45
|
-
background-color: $facebook;
|
46
|
-
}
|
47
|
-
|
48
|
-
.is-google {
|
49
|
-
background-color: $google;
|
50
|
-
}
|
51
|
-
|
52
|
-
.is-pinterest {
|
53
|
-
background-color: $pinterest;
|
54
|
-
}
|
55
|
-
|
56
|
-
.button {
|
57
|
-
&.is-github,
|
58
|
-
&.is-twitter,
|
59
|
-
&.is-facebook,
|
60
|
-
&.is-google,
|
61
|
-
&.is-pinterest {
|
62
|
-
border-color: transparent;
|
63
|
-
color: white;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
.task-list-item-checkbox {
|
68
|
-
margin-right: 5px;
|
69
|
-
}
|
70
|
-
|
71
|
-
.task-list-item {
|
72
|
-
list-style: none;
|
73
|
-
}
|
74
|
-
|
75
|
-
%header-hashtag {
|
76
|
-
color: #3273dc;
|
77
|
-
margin-right: 10px;
|
78
|
-
}
|
79
|
-
|
80
|
-
.content {
|
81
|
-
h1::before {
|
82
|
-
content: "#";
|
83
|
-
@extend %header-hashtag;
|
84
|
-
}
|
85
|
-
h2::before {
|
86
|
-
content: "##";
|
87
|
-
@extend %header-hashtag;
|
88
|
-
}
|
89
|
-
h3::before {
|
90
|
-
content: "###";
|
91
|
-
@extend %header-hashtag;
|
92
|
-
}
|
93
|
-
h4::before {
|
94
|
-
content: "####";
|
95
|
-
@extend %header-hashtag;
|
96
|
-
}
|
97
|
-
h5::before {
|
98
|
-
content: "#####";
|
99
|
-
@extend %header-hashtag;
|
100
|
-
}
|
101
|
-
h6::before {
|
102
|
-
content: "######";
|
103
|
-
@extend %header-hashtag;
|
104
|
-
}
|
105
|
-
}
|
106
|
-
|
107
|
-
.message-body .media {
|
108
|
-
img.avatar {
|
109
|
-
height: 80px;
|
110
|
-
width: 80px;
|
111
|
-
border-radius: 50%;
|
112
|
-
}
|
113
|
-
blockquote {
|
114
|
-
background-color: transparent;
|
115
|
-
border-left: none;
|
116
|
-
padding: 0 1.5em 0.5em;
|
117
|
-
color: grey;
|
118
|
-
font-size: 1.2rem;
|
119
|
-
&::before {
|
120
|
-
content: "\2014\2014\2014";
|
121
|
-
}
|
122
|
-
}
|
123
|
-
a:not(.button):not(.tag) {
|
124
|
-
text-decoration: none;
|
125
|
-
}
|
126
|
-
}
|
127
|
-
|
128
|
-
.bd-special-shadow {
|
129
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(transparent));
|
130
|
-
background-image: linear-gradient(rgba(0, 0, 0, 0.1), transparent);
|
131
|
-
height: 8px;
|
132
|
-
left: 0;
|
133
|
-
opacity: 0;
|
134
|
-
position: absolute;
|
135
|
-
right: 0;
|
136
|
-
top: 100%;
|
137
|
-
-webkit-transform: scaleY(0);
|
138
|
-
transform: scaleY(0);
|
139
|
-
-webkit-transform-origin: center top;
|
140
|
-
transform-origin: center top;
|
141
|
-
}
|
142
|
-
|
143
|
-
@media screen and (max-width: 1023px) {
|
144
|
-
.bd-is-clipped-touch {
|
145
|
-
overflow: hidden !important;
|
146
|
-
}
|
147
|
-
}
|
148
|
-
|
149
|
-
#shadowed {
|
150
|
-
position: fixed;
|
151
|
-
top: 0;
|
152
|
-
right: 0;
|
153
|
-
bottom: 0;
|
154
|
-
left: 0;
|
155
|
-
z-index: 10;
|
156
|
-
background-color: rgba(0, 0, 0, .5);
|
157
|
-
}
|
1
|
+
@import "syntax";
|
2
|
+
|
3
|
+
$github: #333333;
|
4
|
+
$twitter: #1da1f2;
|
5
|
+
$facebook: #3b5998;
|
6
|
+
$google: #dd4b39;
|
7
|
+
$pinterest: #bd081c;
|
8
|
+
|
9
|
+
body {
|
10
|
+
display: flex;
|
11
|
+
min-height: 100vh;
|
12
|
+
flex-direction: column;
|
13
|
+
margin-top: 52px;
|
14
|
+
}
|
15
|
+
|
16
|
+
#app {
|
17
|
+
flex: 1 0 auto;
|
18
|
+
}
|
19
|
+
|
20
|
+
.media-content {
|
21
|
+
overflow: hidden;
|
22
|
+
}
|
23
|
+
|
24
|
+
.text-github, a.navbar-item.text-github:hover {
|
25
|
+
color: $github;
|
26
|
+
}
|
27
|
+
|
28
|
+
.text-twitter, a.navbar-item.text-twitter:hover {
|
29
|
+
color: $twitter;
|
30
|
+
}
|
31
|
+
|
32
|
+
.text-facebook, a.navbar-item.text-facebook:hover {
|
33
|
+
color: $facebook;
|
34
|
+
}
|
35
|
+
|
36
|
+
.is-github {
|
37
|
+
background-color: $github;
|
38
|
+
}
|
39
|
+
|
40
|
+
.is-twitter {
|
41
|
+
background-color: $twitter;
|
42
|
+
}
|
43
|
+
|
44
|
+
.is-facebook {
|
45
|
+
background-color: $facebook;
|
46
|
+
}
|
47
|
+
|
48
|
+
.is-google {
|
49
|
+
background-color: $google;
|
50
|
+
}
|
51
|
+
|
52
|
+
.is-pinterest {
|
53
|
+
background-color: $pinterest;
|
54
|
+
}
|
55
|
+
|
56
|
+
.button {
|
57
|
+
&.is-github,
|
58
|
+
&.is-twitter,
|
59
|
+
&.is-facebook,
|
60
|
+
&.is-google,
|
61
|
+
&.is-pinterest {
|
62
|
+
border-color: transparent;
|
63
|
+
color: white;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.task-list-item-checkbox {
|
68
|
+
margin-right: 5px;
|
69
|
+
}
|
70
|
+
|
71
|
+
.task-list-item {
|
72
|
+
list-style: none;
|
73
|
+
}
|
74
|
+
|
75
|
+
%header-hashtag {
|
76
|
+
color: #3273dc;
|
77
|
+
margin-right: 10px;
|
78
|
+
}
|
79
|
+
|
80
|
+
.content {
|
81
|
+
h1::before {
|
82
|
+
content: "#";
|
83
|
+
@extend %header-hashtag;
|
84
|
+
}
|
85
|
+
h2::before {
|
86
|
+
content: "##";
|
87
|
+
@extend %header-hashtag;
|
88
|
+
}
|
89
|
+
h3::before {
|
90
|
+
content: "###";
|
91
|
+
@extend %header-hashtag;
|
92
|
+
}
|
93
|
+
h4::before {
|
94
|
+
content: "####";
|
95
|
+
@extend %header-hashtag;
|
96
|
+
}
|
97
|
+
h5::before {
|
98
|
+
content: "#####";
|
99
|
+
@extend %header-hashtag;
|
100
|
+
}
|
101
|
+
h6::before {
|
102
|
+
content: "######";
|
103
|
+
@extend %header-hashtag;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
.message-body .media {
|
108
|
+
img.avatar {
|
109
|
+
height: 80px;
|
110
|
+
width: 80px;
|
111
|
+
border-radius: 50%;
|
112
|
+
}
|
113
|
+
blockquote {
|
114
|
+
background-color: transparent;
|
115
|
+
border-left: none;
|
116
|
+
padding: 0 1.5em 0.5em;
|
117
|
+
color: grey;
|
118
|
+
font-size: 1.2rem;
|
119
|
+
&::before {
|
120
|
+
content: "\2014\2014\2014";
|
121
|
+
}
|
122
|
+
}
|
123
|
+
a:not(.button):not(.tag) {
|
124
|
+
text-decoration: none;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.bd-special-shadow {
|
129
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(transparent));
|
130
|
+
background-image: linear-gradient(rgba(0, 0, 0, 0.1), transparent);
|
131
|
+
height: 8px;
|
132
|
+
left: 0;
|
133
|
+
opacity: 0;
|
134
|
+
position: absolute;
|
135
|
+
right: 0;
|
136
|
+
top: 100%;
|
137
|
+
-webkit-transform: scaleY(0);
|
138
|
+
transform: scaleY(0);
|
139
|
+
-webkit-transform-origin: center top;
|
140
|
+
transform-origin: center top;
|
141
|
+
}
|
142
|
+
|
143
|
+
@media screen and (max-width: 1023px) {
|
144
|
+
.bd-is-clipped-touch {
|
145
|
+
overflow: hidden !important;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
#shadowed {
|
150
|
+
position: fixed;
|
151
|
+
top: 0;
|
152
|
+
right: 0;
|
153
|
+
bottom: 0;
|
154
|
+
left: 0;
|
155
|
+
z-index: 10;
|
156
|
+
background-color: rgba(0, 0, 0, .5);
|
157
|
+
}
|