{% include elements/anchor.html name="Colors" %}
-
- As with buttons, you can choose one of the 7 different colors:
-
+
+ As with buttons, you can choose one of the 7 different colors:
+
@@ -207,9 +207,9 @@ meta:
{% include elements/anchor.html name="Gradients" %}
-
+
By adding the is-bold modifier, you can generate a subtle gradient
-
+
@@ -331,9 +331,22 @@ meta:
{% include elements/anchor.html name="Sizes" %}
-
- You can have even more imposing banners by using one of 3 different sizes
-
+
+
+ You can have even more imposing banners by using one of 3 different sizes:
+
+
+
+ medium
+
+
+ large
+
+
+ fullheight
+
+
+
@@ -403,10 +416,10 @@ meta:
- Full Height title
+ Fullheight title
- Full Height subtitle
+ Fullheight subtitle
@@ -418,10 +431,10 @@ meta:
- Full Height title
+ Fullheight title
- Full Height subtitle
+ Fullheight subtitle
@@ -429,12 +442,56 @@ meta:
{% endhighlight %}
+
- {% include elements/anchor.html name="Full height hero" %}
-
And vertically centered
+ {% include elements/anchor.html name="Fullheight with navbar" %}
+ {% include elements/new-tag.html version="0.7.2" %}
-
You can split the hero in 3 vertical parts:
+
+ If you are using a fixed navbar, you can use the is-fullheight-with-navbar modifier on the hero for it to occupy the viewport height minus the navbar height.
+
+
+
+
+
+
+ {% include examples/navbar-basic.html %}
+
+
+
+
+ Fullheight title
+
+
+ Fullheight subtitle
+
+
+
+
+
+
+{% highlight html %}
+
+
+
+
+ Fullheight title
+
+
+ Fullheight subtitle
+
+
+
+
+{% endhighlight %}
+
+
+
+
+ {% include elements/anchor.html name="Fullheight hero in 3 parts" %}
+
+
To obtain a hero that will cover the whole height of the viewport, you can split it in 3 vertical parts:
hero
@@ -679,4 +736,4 @@ meta:
{% include layout/main-open.html %}
-{% include elements/variables.html type='component' %}
+{% include elements/variables.html type='component' hide_content=true %}