From fcc6196aa478adf3f8905b6b284a662e37273748 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Thu, 2 Jul 2020 10:02:12 +1000 Subject: [PATCH] Cleanup: remove extra spaces before {:...} tags --- css.md | 13 ------------- es6.md | 1 - go.md | 1 - polyfill.io.md | 1 - react.md | 2 -- 5 files changed, 18 deletions(-) diff --git a/css.md b/css.md index b13e008ef..fe12d9434 100644 --- a/css.md +++ b/css.md @@ -13,7 +13,6 @@ keywords: --- ## Basics - {: .-three-column} ### Selectors @@ -23,7 +22,6 @@ keywords: font-weight: bold; } ``` - {: .-setup} | Selector | Description | @@ -92,11 +90,9 @@ keywords: | `:last-child` | | `:nth-child(2)` | | `:only-child` | - {: .-left-align} ## Fonts - {: .-left-reference} ### Properties @@ -114,18 +110,15 @@ keywords: | --- | --- | | `text-align:` | `left` `right` `center` `justify` | | `text-transform:` | `capitalize` `uppercase` `lowercase` | - {: .-key-values} ### Shorthand - {: .-prime} | | style | weight | size (required) | | line-height | family | | ------- | -------- | ------ | --------------- | --- | ----------- | ----------------- | | `font:` | `italic` | `400` | `14px` | `/` | `1.5` | `sans-serif` | | | style | weight | size (required) | | line-height | family (required) | - {: .-css-breakdown} ### Example @@ -147,7 +140,6 @@ text-transform: lowercase; /* hello */ ``` ## Background - {: .-left-reference} ### Properties @@ -163,7 +155,6 @@ text-transform: lowercase; /* hello */ | `background-clip:` | `border-box` `padding-box` `content-box` | | `background-repeat:` | `no-repeat` `repeat-x` `repeat-y` | | `background-attachment:` | `scroll` `fixed` `local` | - {: .-key-values} ### Shorthand @@ -173,7 +164,6 @@ text-transform: lowercase; /* hello */ | `background:` | `#ff0` | `url(bg.jpg)` | `left` | `top` | `/` | `100px` `auto` | `no-repeat` | `fixed;` | | `background:` | `#abc` | `url(bg.png)` | `center` | `center` | `/` | `cover` | `repeat-x` | `local;` | | | color | image | positionX | positionY | | size | repeat | attachment | - {: .-css-breakdown} ### Multiple backgrounds @@ -184,7 +174,6 @@ background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), ``` ## Animation - {: .-left-reference} ### Properties @@ -200,7 +189,6 @@ background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), | `animation-direction:` | `normal` `reverse` `alternate` `alternate-reverse` | | `animation-fill-mode:` | `none` `forwards` `backwards` `both` `initial` `inherit` | | `animation-play-state:` | `normal` `reverse` `alternate` `alternate-reverse` | - {: .-key-values} ### Shorthand @@ -209,7 +197,6 @@ background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), | ------------ | -------- | -------- | --------------- | ------- | ---------- | ------------------- | --------- | ---------- | | `animation:` | `bounce` | `300ms` | `linear` | `100ms` | `infinite` | `alternate-reverse` | `both` | `reverse` | | | name | duration | timing-function | delay | count | direction | fill-mode | play-state | - {: .-css-breakdown} ### Example diff --git a/es6.md b/es6.md index c74dd5fe1..3be7e8936 100644 --- a/es6.md +++ b/es6.md @@ -489,7 +489,6 @@ Object.values(fatherJS) Object.entries(fatherJS) // [["age", 57], ["name", "Brendan Eich"]] ``` - {: data-line="3,5"} diff --git a/go.md b/go.md index e130eee03..3a723a3fb 100644 --- a/go.md +++ b/go.md @@ -461,7 +461,6 @@ func main() { fmt.Println("Working...") } ``` - {: data-line="2,3,4"} Lambdas are better suited for defer blocks. diff --git a/polyfill.io.md b/polyfill.io.md index 685bc3e47..ed553c87c 100644 --- a/polyfill.io.md +++ b/polyfill.io.md @@ -14,7 +14,6 @@ intro: | ```html ``` - {: .-wrap} This is the default script for Polyfill.io. diff --git a/react.md b/react.md index 2aa7db645..2a4eb52f4 100644 --- a/react.md +++ b/react.md @@ -155,7 +155,6 @@ class Info extends Component { } ``` - {: data-line="5,6,7,8,9,10"} Nest components to separate concerns. @@ -220,7 +219,6 @@ class Hello extends Component { } } ``` - {: data-line="2"} See: [Setting the default state](https://reactjs.org/docs/react-without-es6.html#setting-the-initial-state)