From 423e195ce366a6283d7d1d3b6c88976c0d7e159b Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Thu, 24 Aug 2017 22:14:46 +0800 Subject: [PATCH] Update --- _includes/2017/head.html | 1 + _sass/2017/components/h3-section.scss | 10 ++++++---- _sass/2017/markdown/table.scss | 2 +- _sass/2017/style.scss | 3 ++- exunit.md | 8 +++++++- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/_includes/2017/head.html b/_includes/2017/head.html index a3c0723e8..d0ff25655 100644 --- a/_includes/2017/head.html +++ b/_includes/2017/head.html @@ -11,6 +11,7 @@ + diff --git a/_sass/2017/components/h3-section.scss b/_sass/2017/components/h3-section.scss index 5e3bf4663..3d1ef6eaf 100644 --- a/_sass/2017/components/h3-section.scss +++ b/_sass/2017/components/h3-section.scss @@ -94,8 +94,10 @@ */ .h3-section.-prime > .body { - border-radius: 2px; - box-shadow: - 0 8px 12px rgba($baseB-600, 0.3), - 0 2px 3px rgba($baseB-400, 0.35); + @media (min-width: 481px) { + border-radius: 2px; + box-shadow: + 0 8px 12px rgba($baseB-600, 0.3), + 0 2px 3px rgba($baseB-400, 0.35); + } } diff --git a/_sass/2017/markdown/table.scss b/_sass/2017/markdown/table.scss index c0ea3c0f0..eda8eece0 100644 --- a/_sass/2017/markdown/table.scss +++ b/_sass/2017/markdown/table.scss @@ -61,7 +61,7 @@ border-radius: 3px; margin-right: 2px; letter-spacing: 0.2em; - font-family: roboto; + font-family: $body-font; color: $text-color; } } diff --git a/_sass/2017/style.scss b/_sass/2017/style.scss index a114490b3..a8a43e5e4 100644 --- a/_sass/2017/style.scss +++ b/_sass/2017/style.scss @@ -1,7 +1,8 @@ $gutter: 32px; $column: 400px; -$body-font: roboto, sans-serif; +$system-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; +$body-font: $system-font; $monospace-font: 'fira mono', Consolas, menlo, 'Andale Mono', 'Ubuntu Mono', monospace; $body-bg: #f8f8fb; diff --git a/exunit.md b/exunit.md index d1fe0b9ab..5a57e8ae2 100644 --- a/exunit.md +++ b/exunit.md @@ -1,8 +1,11 @@ --- title: ExUnit category: Elixir +layout: 2017/sheet --- +### Test cases + ```elixir defmodule MyTest do use ExUnit.Case @@ -43,7 +46,7 @@ defmodule AssertionTest do end ``` -### [Assertions](http://devdocs.io/elixir/ex_unit/exunit.assertions) +### Assertions ```elixir assert x == y @@ -57,8 +60,11 @@ assert_raise ArithmeticError, "message", fn -> ... assert_raise ArithmeticError, ~r/message/, fn -> ... flunk "This should've been an error" +``` +See: [Assertions](http://devdocs.io/elixir/ex_unit/exunit.assertions) ## Also see +{: .-one-column} -