Jeremy Thomas 8 лет назад
Родитель
Сommit
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>
 <!DOCTYPE html>
-<html>
+<html class="{% if page.route %}route-{{page.route}}{% elsif page.layout %}route-{{page.layout}}{% endif %}">
   {% include head.html %}
   {% include head.html %}
   <body class="layout-{{ page.layout }}{% if page.doc-tab %} page-{{ page.doc-tab}}{% endif %}">
   <body class="layout-{{ page.layout }}{% if page.doc-tab %} page-{{ page.doc-tab}}{% endif %}">
     {{ content }}
     {{ 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: slideDown 500ms both
   animation-delay: 1.6s
   animation-delay: 1.6s
 
 
-#carbon
+html.route-index #carbon
   animation: slideUp 500ms both
   animation: slideUp 500ms both
   animation-delay: 1.8s
   animation-delay: 1.8s
 
 

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

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