Remove h2 classes to make the styles work in other pages

This commit is contained in:
Tetsuro
2015-10-16 11:46:03 -04:00
parent ce1d460d8a
commit f0c7a601c3
3 changed files with 16 additions and 14 deletions
+5 -5
View File
@@ -13,7 +13,7 @@ Liquid objects can have one of six types:
Liquid variables can be initialized by using the [assign](/tags/#assign) or [capture](/tags/#capture) tags. Liquid variables can be initialized by using the [assign](/tags/#assign) or [capture](/tags/#capture) tags.
### String ## String
Strings are declared by wrapping a variable's value in single or double quotes. Strings are declared by wrapping a variable's value in single or double quotes.
@@ -23,7 +23,7 @@ Strings are declared by wrapping a variable's value in single or double quotes.
{% endraw %} {% endraw %}
{% endhighlight %} {% endhighlight %}
### Number ## Number
Numbers include floats and integers. Numbers include floats and integers.
@@ -34,7 +34,7 @@ Numbers include floats and integers.
{% endraw %} {% endraw %}
{% endhighlight %} {% endhighlight %}
### Boolean ## Boolean
Booleans are either `true` or `false`. No quotations are necessary when declaring a boolean. Booleans are either `true` or `false`. No quotations are necessary when declaring a boolean.
@@ -45,7 +45,7 @@ Booleans are either `true` or `false`. No quotations are necessary when declarin
{% endraw %} {% endraw %}
{% endhighlight %} {% endhighlight %}
### Nil ## Nil
Nil is a special empty value that is returned when Liquid code has no results. It is **not** a string with the characters "nil". Nil is a special empty value that is returned when Liquid code has no results. It is **not** a string with the characters "nil".
@@ -75,7 +75,7 @@ The current user is {{ user.name }}
The current user is The current user is
{% endraw %}{% endhighlight %} {% endraw %}{% endhighlight %}
### Array ## Array
Arrays hold lists of variables of any type. Arrays hold lists of variables of any type.
+8 -4
View File
@@ -1,13 +1,17 @@
.content__item { .content__item {
margin-bottom: $spacing-unit * 2; margin-bottom: $spacing-unit * 2;
h3 { h3 {
text-decoration: underline; text-decoration: underline;
} }
} }
.content__header { .content__list {
font-weight: bold; h2 {
font-weight: bold;
&:not(:first-child) {
margin-top: $spacing-unit * 2;
}
}
} }
+3 -5
View File
@@ -3,10 +3,8 @@ layout: default
--- ---
{% for doc in site.collections["filters"].docs %} {% for doc in site.collections["filters"].docs %}
<div id="{{ doc.title }}" class="content__item"> <h2 id="{{ doc.title | slugify }}">{{ doc.title }}</h2>
<h2 class="content__header">{{ doc.title }}</h2> <div class="content">
<div class="content"> {{ doc.content }}
{{ doc.content }}
</div>
</div> </div>
{% endfor %} {% endfor %}