diff --git a/Readme.md b/Readme.md index e1d24cffa..291d5f1f3 100644 --- a/Readme.md +++ b/Readme.md @@ -18,6 +18,10 @@ Tables support these: {: .-shortcuts} +Pre's support these: + + {: .-setup} + Each sheet supports these metadata: ```yml diff --git a/_sass/2017/components/main-heading.scss b/_sass/2017/components/main-heading.scss index 388199ca7..522ac0cb3 100644 --- a/_sass/2017/components/main-heading.scss +++ b/_sass/2017/components/main-heading.scss @@ -28,6 +28,7 @@ display: flex; } + // Desktop @media (min-width: 541px) { & { align-items: flex-end; // bottom alighn @@ -40,6 +41,7 @@ // Advertisement & > .ad { flex: 0 1 auto; + margin-bottom: 16px; } } diff --git a/_sass/2017/markdown/code.scss b/_sass/2017/markdown/code.scss index dd1fdd596..746d221c2 100644 --- a/_sass/2017/markdown/code.scss +++ b/_sass/2017/markdown/code.scss @@ -49,6 +49,10 @@ } } +.MarkdownBody pre.-setup { + background: $gray-bg; +} + /* * Syntax kighlight */ diff --git a/_sass/2017/utils/heading-style.scss b/_sass/2017/utils/heading-style.scss index 0eb70826c..b557d1c79 100644 --- a/_sass/2017/utils/heading-style.scss +++ b/_sass/2017/utils/heading-style.scss @@ -4,7 +4,7 @@ margin-bottom: 16px; padding-bottom: 16px; margin-top: 64px; - border-bottom: solid 1px $line-color; + border-bottom: solid 1px $dark-line-color; @media (max-width: 768px) { margin: $gutter / 2; diff --git a/react.md b/react.md index 845021110..7ef41f633 100644 --- a/react.md +++ b/react.md @@ -18,6 +18,7 @@ Components import React from 'react' import ReactDOM from 'react-dom' ``` +{: .-setup} ```jsx class Hello extends React.Component { @@ -41,6 +42,7 @@ Use the [React.js jsfiddle](http://jsfiddle.net/reactjs/69z2wepo/) to start hack ```html