aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-08 22:53:36 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-08 22:53:36 +0300
commit823883ffc36d5b9c02b64a545061c740364e7454 (patch)
treee606bc9438925b9bec6d327e7be7e606be6241dc
parentsyntax.css: add the reference link (diff)
downloadjekyll-theme-823883ffc36d5b9c02b64a545061c740364e7454.tar.gz
jekyll-theme-823883ffc36d5b9c02b64a545061c740364e7454.zip
add main.css that imports all others
-rw-r--r--_includes/common/header.html9
-rw-r--r--assets/css/main.css4
2 files changed, 5 insertions, 8 deletions
diff --git a/_includes/common/header.html b/_includes/common/header.html
index 8abe740..7f5390e 100644
--- a/_includes/common/header.html
+++ b/_includes/common/header.html
@@ -13,14 +13,7 @@
{% include common/bootstrap_css.html %}
- <link rel="stylesheet" href="{{ '/assets/css/common/footer.css' | relative_url }}">
- <link rel="stylesheet" href="{{ '/assets/css/common/misc.css' | relative_url }}">
-
- {% if page.custom_css %}
- {% for css in page.custom_css %}
- <link rel="stylesheet" href="{{ '/assets/css/' | relative_url }}{{ css }}"/>
- {% endfor %}
- {% endif %}
+ <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
{% include common/ie_compat.html %}
{% include common/mathjax.html %}
diff --git a/assets/css/main.css b/assets/css/main.css
new file mode 100644
index 0000000..9593c5a
--- /dev/null
+++ b/assets/css/main.css
@@ -0,0 +1,4 @@
+@import 'common/footer.css';
+@import 'common/misc.css';
+@import 'snippets.css';
+@import 'syntax.css';