domain-jekyll 1.2.0 → 1.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea067cfe0dffaaae93926b33b33e569387cafe0d28c930e85b5b3cc52a66f72a
4
- data.tar.gz: 463e20bc1e9f3b09cc72eade44ec9580349e52657643d469c2fecf6387c0c4b3
3
+ metadata.gz: e4cbc2a56c167c10a0b1c9c6b6282729845fd5a525eef1d9530931fcdafb1cfe
4
+ data.tar.gz: 5edf25004405c83602f0b249feff653fbb2f155bd9a58d0fd51eccfdd2bd3cac
5
5
  SHA512:
6
- metadata.gz: 52e18b850917a6d55e995ef7e30b9e4211ef79f4b935108e3d057757db51a92879b33aae37faa0a3dad538b6a3f9a1aec455baee876ed9c11426c68e037c1f11
7
- data.tar.gz: f9936a8608d4d7fb8a74818784392a48215fa78a8f4355e14e4c68ac09aac3bb100edcbee33d781262aca692bbf2a150129e170c56c06e37448785c164424b71
6
+ metadata.gz: ec0a214a90f2762deca283e35914a4f04a7c66a8962c8096d4e416ab8a83b80a859a7fac5e51a97c996b6477341065fe7534bc76f5a2abce48c12a910bf8f80d
7
+ data.tar.gz: 8d706bdd34b072ec5c5365cde3e6c88003177f309159d25f6b7ff7c07ac28254536f56ac39d6e601fcf3f0740d1513ab688d91feac7f6c253102fe03ee97e89a
data/CHANGELOG.md CHANGED
@@ -1,4 +1,6 @@
1
- ## [1.1.0](https://github.com/lumunix/domain/releases/tag/1.2.0)
1
+ ## [1.3.0](https://github.com/lumunix/domain/releases/tag/1.3.0)
2
+ ## [1.2.1](https://github.com/lumunix/domain/releases/tag/1.2.1)
3
+ ## [1.2.0](https://github.com/lumunix/domain/releases/tag/1.2.0)
2
4
  ## [1.1.0](https://github.com/lumunix/domain/releases/tag/1.1.0)
3
5
  ## [1.0.4](https://github.com/lumunix/domain/releases/tag/1.0.4)
4
6
  ## [1.0.3](https://github.com/lumunix/domain/releases/tag/1.0.3)
@@ -136,4 +136,5 @@
136
136
  {%- endif -%}
137
137
  </div>
138
138
  </div>
139
+ {%- include PreviousNext.html -%}
139
140
  </div>
@@ -1,7 +1,7 @@
1
1
  <header>
2
2
  <div class="main-site-subheader menu disable-select">
3
3
  <a class="menu-item" href="{{site.baseurl}}/">
4
- <svg class="menu-item-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 25 25" fill="none" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
4
+ <svg class="menu-item-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 25 25" fill="none" stroke="#000000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
5
5
  <path d="M20 9v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9"/>
6
6
  <path d="M9 22V12h6v10M2 10.6L12 2l10 8.6"/>
7
7
  </svg>
@@ -12,41 +12,48 @@
12
12
  xmlns="http://www.w3.org/2000/svg">
13
13
  <path
14
14
  d="M20.9777 21.6138V19.6138C20.9777 18.553 20.5563 17.5356 19.8061 16.7854C19.056 16.0353 18.0386 15.6138 16.9777 15.6138H8.97768C7.91682 15.6138 6.8994 16.0353 6.14926 16.7854C5.39911 17.5356 4.97768 18.553 4.97768 19.6138V21.6138"
15
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
15
+ stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
16
16
  <path
17
17
  d="M12.9777 11.6138C15.1868 11.6138 16.9777 9.82298 16.9777 7.61385C16.9777 5.40471 15.1868 3.61385 12.9777 3.61385C10.7685 3.61385 8.97768 5.40471 8.97768 7.61385C8.97768 9.82298 10.7685 11.6138 12.9777 11.6138Z"
18
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
18
+ stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
19
19
  </svg>
20
20
  <p class="menu-item-text">About</p>
21
21
  </a>
22
22
  <a class="menu-item" href="{{site.baseurl}}/posts">
23
23
  <svg class="menu-item-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 24 25" fill="none"
24
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
24
+ stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
25
25
  <rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
26
26
  <line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line>
27
27
  <line x1="3" y1="10" x2="21" y2="10"></line>
28
28
  </svg>
29
29
  <p class="menu-item-text">Posts</p>
30
30
  </a>
31
+ <a class="menu-item" href="{{site.baseurl}}/tutorials">
32
+ <svg class="menu-item-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="19" viewBox="0 0 24 24">
33
+ <path d="M4 17.162l-2 .838v-12.972l12-5.028v2.507l-10 4.19v10.465zm16-8.156v8.635l-8 3.352v-8.635l8-3.352zm2-3.006l-12 5.028v12.972l12-5.028v-12.972zm-14 3.697l10-4.19v-2.507l-12 5.028v12.972l2-.838v-10.465z"
34
+ stroke-width="0" stroke-linecap="round" stroke-linejoin="round"/>
35
+ </svg>
36
+ <p class="menu-item-text">Tutorials</p>
37
+ </a>
31
38
  <a class="menu-item" href="{{site.baseurl}}/tags">
32
39
  <svg class="menu-item-icon" width="18" height="19" viewBox="0 0 24 25" fill="none"
33
40
  xmlns="http://www.w3.org/2000/svg">
34
- <path d="M4 9.5H20" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
35
- <path d="M4 15.5H20" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
36
- <path d="M10 3.5L8 21.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
37
- <path d="M16 3.5L14 21.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
41
+ <path d="M4 9.5H20" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" />
42
+ <path d="M4 15.5H20" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" />
43
+ <path d="M10 3.5L8 21.5" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" />
44
+ <path d="M16 3.5L14 21.5" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" />
38
45
  </svg>
39
46
  <p class="menu-item-text">Tags</p>
40
47
  </a>
41
48
  <a class="menu-item" href="{{site.baseurl}}/feed.xml">
42
49
  <svg class="menu-item-icon" width="18" height="19" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
43
50
  <path d="M4 11.5C6.38695 11.5 8.67613 12.4482 10.364 14.136C12.0518 15.8239 13 18.1131 13 20.5"
44
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
51
+ stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
45
52
  <path d="M4 4.5C8.24346 4.5 12.3131 6.18571 15.3137 9.18629C18.3143 12.1869 20 16.2565 20 20.5"
46
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
53
+ stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
47
54
  <path
48
55
  d="M5 20.5C5.55228 20.5 6 20.0523 6 19.5C6 18.9477 5.55228 18.5 5 18.5C4.44772 18.5 4 18.9477 4 19.5C4 20.0523 4.44772 20.5 5 20.5Z"
49
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
56
+ stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
50
57
  </svg>
51
58
  <p class="menu-item-text">RSS</p>
52
59
  </a>
@@ -0,0 +1,14 @@
1
+ {% if page.tutorial_previous or page.tutorial_next %}
2
+ <nav class="previousnext">
3
+ {% if page.tutorial_previous %}
4
+ <a href="{{ page.tutorial_previous | relative_url }}" class="previousnext--pager">{{ "Previous" }}</a>
5
+ {% else %}
6
+ <a href="#" class="previousnext--pager disabled">{{ "Previous" }}</a>
7
+ {% endif %}
8
+ {% if page.tutorial_next %}
9
+ <a href="{{ page.tutorial_next | relative_url }}" class="previousnext--pager">{{ "Next" }}</a>
10
+ {% else %}
11
+ <a href="#" class="previousnext--pager disabled">{{ "Next" }}</a>
12
+ {% endif %}
13
+ </nav>
14
+ {% endif %}
@@ -0,0 +1,5 @@
1
+ <blockquote class="twitter-tweet">
2
+ <a href="https://twitter.com/{{ include.id }}"></a>
3
+ </blockquote>
4
+
5
+ <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
@@ -0,0 +1,4 @@
1
+ <div class="embed-container">
2
+ <iframe src="https://www.youtube.com/embed/{{ include.id }}" width="700" height="480" frameborder="0" allowfullscreen="true">
3
+ </iframe>
4
+ </div>
@@ -4,7 +4,9 @@
4
4
  <body>
5
5
 
6
6
  <div class="wrapper">
7
- {{ content }}
7
+ {% assign content_ = content | replace: '<table', '<div class="table-wrapper"><table' %}
8
+ {% assign content_ = content_ | replace: '</table>', '</table></div>' %}
9
+ {{ content_ }}
8
10
  </div>
9
11
 
10
12
 
data/_layouts/Home.html CHANGED
@@ -1,4 +1,29 @@
1
1
  ---
2
- layout: Sidebar
2
+ layout: Page
3
3
  ---
4
- {% include Postlist.html %}
4
+ <div id="post-wrapper">
5
+ {% for post in paginator.posts %}
6
+ <article class="post feed-title-excerpt-block disable-select" data-url="{{site.url}}{{site.baseurl}}{{post.url}}">
7
+ {% if post.thumbnail %}
8
+ <a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append : post.thumbnail}})" href="{{post.url | prepend: site.baseurl}}"></a>
9
+ {% else %}
10
+ {% endif %}
11
+ <div class="post-content">
12
+ <h2 class="post-title"><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h2>
13
+ <p>{{ post.content | strip_html | truncatewords: 60 }}</p>
14
+ <span class="post-date">{{post.date | date: '%Y, %b %d'}}&nbsp;&nbsp;&nbsp;—&nbsp;</span>
15
+ <span class="post-words">{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
16
+
17
+ </div>
18
+ </article>
19
+ {% endfor %}
20
+ </div>
21
+
22
+ {% case site.preferences.pagination.system %}
23
+ {% when "infinitescroll" %}
24
+ {% include InfiniteScroll.html %}
25
+ {% when "pagination" %}
26
+ {% include Pagination.html %}
27
+ {% else %}
28
+ {% include InfiniteScroll.html %}
29
+ {% endcase %}
data/_layouts/Post.html CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: Sidebar
2
+ layout: Page
3
3
  ---
4
4
  <article class="article-page">
5
5
  <div class="page-content">
@@ -0,0 +1,53 @@
1
+ ---
2
+ layout: Page
3
+ ---
4
+ <article class="article-page">
5
+ <div class="page-content">
6
+ {% if page.header %}
7
+ <div class="page-header-image">
8
+ <figure>
9
+ <img class="page-image" src={{ "" | prepend: site.baseurl | append : page.header}} alt="{{page.title}}">
10
+ </figure>
11
+ </div> <!-- End Page Cover Image -->
12
+ {% else %}
13
+ {% endif %}
14
+ <header class="header-page">
15
+ <h1 class="page-title">{{page.title}}</h1>
16
+ </header>
17
+ {%- include Content.html -%}
18
+ <div id="post-wrapper">
19
+ {% for tag in site.tags %}
20
+ {%- if tag[0] == page.tutorial_tag -%}
21
+ {% for post in tag[1] %}
22
+ <article class="post feed-title-excerpt-block disable-select" data-url="{{site.url}}{{site.baseurl}}{{post.url}}">
23
+ {% if post.thumbnail %}
24
+ <a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append : post.thumbnail}})" href="{{post.url | prepend: site.baseurl}}"></a>
25
+ {% else %}
26
+ {% endif %}
27
+ <div class="post-content">
28
+ <h2 class="post-title"><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h2>
29
+ <p>{{ post.content | strip_html | truncatewords: 60 }}</p>
30
+ <span class="post-date">{{post.date | date: '%Y, %b %d'}}&nbsp;&nbsp;&nbsp;—&nbsp;</span>
31
+ <span class="post-words">{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
32
+ </div>
33
+ </article>
34
+ {% endfor %}
35
+ {%- endif -%}
36
+ {% endfor %}
37
+ </div>
38
+
39
+ {%- include Footer.html -%}
40
+
41
+
42
+ {% if site.preferences.author.enabled %}
43
+ {% assign author = site.authors[page.author] %}
44
+ {% if page.author %}
45
+ {% include Author.html %}
46
+ {% endif %}
47
+ {% endif %}
48
+
49
+ {% if page.comments %}
50
+ {%- include Comments.html -%}
51
+ {% endif %}
52
+ </div> <!-- End Page Content -->
53
+ </article> <!-- End Article Page -->
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: Page
3
+ ---
4
+ <div id="post-wrapper">
5
+ {% for tutorial in site.tutorials %}
6
+ <article class="post feed-title-excerpt-block disable-select" data-url="{{site.url}}{{site.baseurl}}{{tutorial.url}}">
7
+ {% if tutorial.thumbnail %}
8
+ <a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append : tutorial.thumbnail}})" href="{{tutorial.url | prepend: site.baseurl}}"></a>
9
+ {% else %}
10
+ {% endif %}
11
+ <div class="post-content">
12
+ <h2 class="post-title"><a href="{{tutorial.url | prepend: site.baseurl}}">{{tutorial.title}}</a></h2>
13
+ <p>{{ tutorial.content | strip_html | truncatewords: 60 }}</p>
14
+ <span class="post-date">{{tutorial.date | date: '%Y, %b %d'}}&nbsp;&nbsp;&nbsp;—&nbsp;</span>
15
+ <span class="post-words">{% capture words %}{{ tutorial.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
16
+
17
+ </div>
18
+ </article>
19
+ {% endfor %}
20
+ </div>
@@ -2,7 +2,8 @@
2
2
  Author
3
3
  ========================================================================== */
4
4
  .author {
5
- margin: 0px 50px 50px 0px;
5
+ margin: 0 50px 50px 0;
6
+
6
7
  .author-image {
7
8
  width: 100px;
8
9
  height: 150px;
@@ -10,7 +11,6 @@ margin: 0px 50px 50px 0px;
10
11
  }
11
12
 
12
13
  .author-social {
13
-
14
14
  float: right;
15
15
  }
16
16
 
@@ -1,7 +1,7 @@
1
1
  /* ==========================================================================
2
2
  Back To Top
3
3
  ========================================================================== */
4
- #back-to-top {
5
- background-color: $back-to-top-color;
6
- z-index: 12;
7
- }
4
+ #back-to-top {
5
+ background-color: $back-to-top-color;
6
+ z-index: 12;
7
+ }
@@ -1,44 +1,44 @@
1
1
  /* ==========================================================================
2
2
  Code Copy
3
3
  ========================================================================== */
4
+ .code-header {
5
+ display: flex;
6
+ justify-content: flex-end;
7
+ }
4
8
 
5
- .code-header {
6
- display: flex;
7
- justify-content: flex-end;
8
- }
9
+ .copy-code-button {
10
+ display: grid;
11
+ margin: 0 0 -15px;
12
+ background-color: $secondary-bg-color;
13
+ grid-auto-flow: column;
14
+ align-items: center;
15
+ grid-column-gap: 4px;
16
+ border: none;
17
+ border-radius: 4px;
18
+ cursor: pointer;
19
+ font-size: 1rem;
20
+ padding: 4px 8px;
9
21
 
10
- .copy-code-button {
11
- display: grid;
12
- margin:0px 0px -15px 0px;
13
- background-color: $secondary-bg-color;
14
- grid-auto-flow: column;
15
- align-items: center;
16
- grid-column-gap: 4px;
17
- border: none;
18
- border-radius: 4px;
19
- cursor: pointer;
20
- font-size: 1rem;
21
- padding: 4px 8px;
22
+ &::before {
23
+ content: "Copy";
24
+ }
22
25
 
23
- &::before {
24
- content: "Copy";
25
- }
26
+ &::after {
27
+ content: "📋";
28
+ display: block;
29
+ }
26
30
 
27
- &::after {
28
- content: "📋";
29
- display: block;
30
- }
31
+ &.copied {
32
+ &::before {
33
+ content: "Copied!";
34
+ }
31
35
 
32
- &.copied {
33
- &::before {
34
- content: "Copied!";
35
- }
36
+ &::after {
37
+ content: "✔️";
38
+ }
39
+ }
36
40
 
37
- &::after {
38
- content: "✔️";
39
- }
40
- }
41
- &:hover {
42
- background-color: $quaternary-bg-color;
43
- }
44
- }
41
+ &:hover {
42
+ background-color: $quaternary-bg-color;
43
+ }
44
+ }
@@ -249,7 +249,6 @@ pre code {
249
249
  overflow: auto !important;
250
250
  white-space: pre-wrap !important;
251
251
  word-wrap: break-word !important;
252
-
253
252
  vertical-align: middle;
254
253
  width: 100%;
255
254
  background-color: $secondary-bg-color;
@@ -1,101 +1,101 @@
1
1
  /* ==========================================================================
2
2
  Context Menu
3
3
  ========================================================================== */
4
- .context-menu-res {
5
- display: none;
6
- position: absolute;
7
- z-index: 10;
8
- padding: 12px 0;
9
- width: 240px;
10
- background-color: $primary-bg-color;
11
- border: solid 1px $ternary-border-color;
12
- border-radius: 5px;
13
- box-shadow: 1px 1px 15px $secondary-box-shadow-color;
14
- }
4
+ .context-menu-res {
5
+ display: none;
6
+ position: absolute;
7
+ z-index: 10;
8
+ padding: 12px 0;
9
+ width: 240px;
10
+ background-color: $primary-bg-color;
11
+ border: solid 1px $ternary-border-color;
12
+ border-radius: 5px;
13
+ box-shadow: 1px 1px 15px $secondary-box-shadow-color;
14
+ }
15
15
 
16
- .context-menu-res li {
17
- line-height: 0.8rem;
18
- padding-left: 0.2rem;
19
- padding-top: 0.3rem;
20
- padding-bottom: 0.3rem;
21
- }
16
+ .context-menu-res li {
17
+ line-height: 0.8rem;
18
+ padding-left: 0.2rem;
19
+ padding-top: 0.3rem;
20
+ padding-bottom: 0.3rem;
21
+ }
22
22
 
23
- .context-menu-res--active {
24
- display: block;
25
- }
23
+ .context-menu-res--active {
24
+ display: block;
25
+ }
26
26
 
27
- .context-menu-res li:hover {
28
- color: $primary-text-color;
29
- background-color: $secondary-bg-color;
30
- }
27
+ .context-menu-res li:hover {
28
+ color: $primary-text-color;
29
+ background-color: $secondary-bg-color;
30
+ }
31
31
 
32
- .context-menu-res li:hover > .context-menu-res__link {
33
- font-weight: bold;
34
- }
32
+ .context-menu-res li:hover > .context-menu-res__link {
33
+ font-weight: bold;
34
+ }
35
35
 
36
- .context-menu-res__link {
37
- color: $primary-text-color;
38
- text-decoration: none;
39
- }
40
- /* context-menu styling */
41
- .context-menu {
42
- display: none;
43
- position: absolute;
44
- z-index: 10;
45
- padding: 12px 0;
46
- width: 177px;
47
- background-color: $primary-bg-color;
48
- border: solid 1px $ternary-border-color;
49
- border-radius: 5px;
50
- box-shadow: 1px 1px 15px $secondary-box-shadow-color;
51
- }
36
+ .context-menu-res__link {
37
+ color: $primary-text-color;
38
+ text-decoration: none;
39
+ }
40
+ /* context-menu styling */
41
+ .context-menu {
42
+ display: none;
43
+ position: absolute;
44
+ z-index: 10;
45
+ padding: 12px 0;
46
+ width: 177px;
47
+ background-color: $primary-bg-color;
48
+ border: solid 1px $ternary-border-color;
49
+ border-radius: 5px;
50
+ box-shadow: 1px 1px 15px $secondary-box-shadow-color;
51
+ }
52
52
 
53
- .context-menu--active {
54
- display: block;
55
- }
53
+ .context-menu--active {
54
+ display: block;
55
+ }
56
56
 
57
- .context-menu__items {
58
- list-style: none;
59
- margin: 0;
60
- padding-left: 6px;
61
- padding-right: 6px;
62
- }
57
+ .context-menu__items {
58
+ list-style: none;
59
+ margin: 0;
60
+ padding-left: 6px;
61
+ padding-right: 6px;
62
+ }
63
63
 
64
- .context-menu__item {
65
- display: block;
66
- margin-bottom: 4px;
67
- }
64
+ .context-menu__item {
65
+ display: block;
66
+ margin-bottom: 4px;
67
+ }
68
68
 
69
- .context-menu__item:last-child {
70
- margin-bottom: 0;
71
- }
69
+ .context-menu__item:last-child {
70
+ margin-bottom: 0;
71
+ }
72
72
 
73
- .context-menu__link {
74
- display: block;
75
- padding: 4px 12px;
76
- color: $primary-text-color;
77
- text-decoration: none;
78
- font-size: 12px;
79
- font-family: $font-family !important;
80
- }
73
+ .context-menu__link {
74
+ display: block;
75
+ padding: 4px 12px;
76
+ color: $primary-text-color;
77
+ text-decoration: none;
78
+ font-size: 12px;
79
+ font-family: $font-family !important;
80
+ }
81
81
 
82
- .context-menu__link:hover {
83
- color: $primary-text-color;
84
- background-color: $secondary-bg-color;
85
- }
82
+ .context-menu__link:hover {
83
+ color: $primary-text-color;
84
+ background-color: $secondary-bg-color;
85
+ }
86
86
 
87
- .feed-title-excerpt-block {
88
- width: 100%;
89
- cursor: pointer;
90
- border-top: 1px solid var(--primary-border-color);
91
- border-bottom: 1px solid var(--primary-border-color);
92
- }
87
+ .feed-title-excerpt-block {
88
+ width: 100%;
89
+ cursor: pointer;
90
+ border-top: 1px solid var(--primary-border-color);
91
+ border-bottom: 1px solid var(--primary-border-color);
92
+ }
93
93
 
94
- .feed-title-excerpt-block:hover {
95
- background-color: var(--secondary-bg-color);
96
- }
94
+ .feed-title-excerpt-block:hover {
95
+ background-color: var(--secondary-bg-color);
96
+ }
97
97
 
98
- .popup {
99
- position: absolute;
100
- display: none;
101
- }
98
+ .popup {
99
+ position: absolute;
100
+ display: none;
101
+ }
@@ -0,0 +1,20 @@
1
+ /* ==========================================================================
2
+ Embed
3
+ ========================================================================== */
4
+ .embed-container {
5
+ position: relative;
6
+ padding-bottom: 50%;
7
+ height: 0;
8
+ overflow: hidden;
9
+ max-width: 100%;
10
+ }
11
+
12
+ .embed-container embed,
13
+ .embed-container iframe,
14
+ .embed-container object {
15
+ position: absolute;
16
+ top: 0;
17
+ left: 0;
18
+ width: 100%;
19
+ height: 100%;
20
+ }
@@ -1,31 +1,29 @@
1
1
  /* ==========================================================================
2
2
  Highlight
3
3
  ========================================================================== */
4
- table.hljs-ln {
5
- width: auto;
6
- border-width: 0px;
7
- }
8
- table.hljs-ln td {
9
- border-width: 0px;
10
- }
4
+ table.hljs-ln {
5
+ width: auto;
6
+ border-width: 0;
7
+ }
11
8
 
12
- /* for block of numbers */
13
- .hljs-ln-numbers {
14
- -webkit-touch-callout: none;
15
- -webkit-user-select: none;
16
- -khtml-user-select: none;
17
- -moz-user-select: none;
18
- -ms-user-select: none;
19
- user-select: none;
20
-
21
- text-align: center;
22
- color: #ccc;
23
- border-right: 1px solid #CCC !important;
24
- vertical-align: top;
25
- padding-right: 5px !important;
26
- }
27
-
28
- /* for block of code */
29
- .hljs-ln-code {
30
- padding-left: 10px !important;
31
- }
9
+ table.hljs-ln td {
10
+ border-width: 0;
11
+ }
12
+ /* for block of numbers */
13
+ .hljs-ln-numbers {
14
+ -webkit-touch-callout: none;
15
+ -webkit-user-select: none;
16
+ -khtml-user-select: none;
17
+ -moz-user-select: none;
18
+ -ms-user-select: none;
19
+ user-select: none;
20
+ text-align: center;
21
+ color: #ccc;
22
+ border-right: 1px solid #CCC !important;
23
+ vertical-align: top;
24
+ padding-right: 5px !important;
25
+ }
26
+ /* for block of code */
27
+ .hljs-ln-code {
28
+ padding-left: 10px !important;
29
+ }