mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 09:05:13 -07:00
Style updates + truthy/falsy content udpate
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
{% include sidebar.html %}
|
{% include sidebar.html %}
|
||||||
|
|
||||||
<div class="content__area">
|
<div class="content__area">
|
||||||
<div class="content__list">
|
<div class="content">
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ h1 {
|
|||||||
h2 {
|
h2 {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
margin-top: $spacing-unit;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
|
|||||||
@@ -5,11 +5,12 @@
|
|||||||
padding: $spacing-unit/4 $spacing-unit/2;
|
padding: $spacing-unit/4 $spacing-unit/2;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: $color-blue-4;
|
background: $color-blue-4;
|
||||||
text-decoration: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ $wrapper-width: 800px;
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content__list {
|
.content {
|
||||||
max-width: $wrapper-width;
|
max-width: $wrapper-width;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 $spacing-unit;
|
padding: 0 $spacing-unit;
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ title: Truthy and falsy
|
|||||||
|
|
||||||
In programming, anything that returns `true` in a conditional is called **truthy**. Anything that returns `false` in a conditional is called **falsy**. All object types can be described as either truthy or falsy.
|
In programming, anything that returns `true` in a conditional is called **truthy**. Anything that returns `false` in a conditional is called **falsy**. All object types can be described as either truthy or falsy.
|
||||||
|
|
||||||
|
- [Truthy](#truthy)
|
||||||
|
- [Falsy](#falsy)
|
||||||
|
- [Summary](#summary)
|
||||||
|
|
||||||
## Truthy
|
## Truthy
|
||||||
|
|
||||||
All values in Liquid are truthy except `nil` and `false`.
|
All values in Liquid are truthy except `nil` and `false`.
|
||||||
|
|||||||
Reference in New Issue
Block a user