Skip to content

Commit 2d42241

Browse files
author
saowang
committed
v2.0.8
1 parent 6aa4648 commit 2d42241

File tree

4 files changed

+13
-16
lines changed

4 files changed

+13
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Documentation that can guide how to create with Github pages, please refer to [r
2929
- Shortcodes (Toasts card, mermaid)
3030
- Pages Plugins (emoji, gist, avatar, mentions)
3131
- Auto generate sidebar
32-
- [Inline Attribute Lists](https://kramdown.gettalong.org/syntax.html#inline-attribute-lists) (Primer utilities, Font Awesome 4)
32+
- [Attribute List Definitions](https://kramdown.gettalong.org/syntax.html#attribute-list-definitions) (Primer/css utilities, Font Awesome 4)
3333
- Service worker (caches)
3434
- SEO (404, robots.txt, sitemap.xml)
3535
- Canonical Link (Open Graph, Twitter Card, Schema data)

_includes/reset/variables.liquid

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@
1515
{%- assign schema_modi = site.time | date_to_xmlschema -%}
1616
{%- assign schema_surl = page.url | absolute_url | xml_escape -%}
1717

18-
{% comment %} debug {% endcomment %}
19-
{%- if site.debug -%}
20-
{%- assign base = site.baseurl -%}
21-
{%- else -%}
22-
{%- assign base = "https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme@" | append: version -%}
23-
{%- endif -%}
24-
2518
{% comment %} custom {% endcomment %}
2619
{%- capture custom_scss -%}
2720
{%- include assets/custom.scss -%} {{- site.scss -}}
@@ -30,3 +23,10 @@
3023
{%- capture custom_script -%}
3124
{%- include assets/custom.js -%} {{- site.script -}}
3225
{%- endcapture -%}
26+
27+
{% comment %} debug {% endcomment %}
28+
{%- if site.debug -%}
29+
{%- assign base = site.baseurl -%}
30+
{%- else -%}
31+
{%- assign base = "https://cdn.jsdelivr.net/gh/rundocs/jekyll-rtd-theme@" | append: version -%}
32+
{%- endif -%}

_sass/_variables.scss

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
// fonts
2-
$body-font: "Lato", sans-serif;
3-
$mono-font: monospace;
2+
$body-font: "Lato", BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
3+
$mono-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
44
$head-font: "Roboto-Slab", sans-serif;
55

6-
// reset
7-
$box-shadow-focus: none;
8-
96
// theme color
107
$theme-blue: #2980b9;
118
$theme-red: #e74c3c;
12-
$theme-offgreen: #1abc9c;
9+
$theme-green: #1abc9c;
1310
$theme-orange: #e67e22;
1411

1512
$theme-white: lighten($black, 99%);

_sass/class/toasts.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
}
2929

3030
&.tip {
31-
background-color: lighten($theme-offgreen, 50%);
31+
background-color: lighten($theme-green, 50%);
3232

3333
.title {
34-
background: lighten($theme-offgreen, 0%);
34+
background: lighten($theme-green, 0%);
3535
}
3636
}
3737

0 commit comments

Comments
 (0)