浏览代码

Fix index carbon

Jeremy Thomas 8 年之前
父节点
当前提交
535a238b58
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      docs/_layouts/default.html
  2. 1 1
      docs/bulma-docs.sass
  3. 1 1
      docs/css/bulma-docs.css

+ 1 - 1
docs/_layouts/default.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html>
+<html class="{% if page.route %}route-{{page.route}}{% elsif page.layout %}route-{{page.layout}}{% endif %}">
   {% include head.html %}
   <body class="layout-{{ page.layout }}{% if page.doc-tab %} page-{{ page.doc-tab}}{% endif %}">
     {{ content }}

+ 1 - 1
docs/bulma-docs.sass

@@ -201,7 +201,7 @@ $curve: cubic-bezier(0, 0.71, 0.29, 1)
   animation: slideDown 500ms both
   animation-delay: 1.6s
 
-#carbon
+html.route-index #carbon
   animation: slideUp 500ms both
   animation-delay: 1.8s
 

+ 1 - 1
docs/css/bulma-docs.css

@@ -6387,7 +6387,7 @@ body.page-grid .column > .notification {
   animation-delay: 1.6s;
 }
 
-#carbon {
+html.route-index #carbon {
   animation: slideUp 500ms both;
   animation-delay: 1.8s;
 }