css: fix background-size
This commit is contained in:
parent
5c7b47b7a4
commit
8dde8ffe8f
|
@ -110,6 +110,15 @@
|
||||||
|
|
||||||
& tr td {
|
& tr td {
|
||||||
@include font-size(1);
|
@include font-size(1);
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
& tr td:not(:last-child) {
|
||||||
|
padding-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
& tr td:not(:first-child) {
|
||||||
|
padding-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
& tr:last-child {
|
& tr:last-child {
|
||||||
|
@ -119,5 +128,6 @@
|
||||||
& tr:last-child td {
|
& tr:last-child td {
|
||||||
@include font-size(-1);
|
@include font-size(-1);
|
||||||
color: $base-mute;
|
color: $base-mute;
|
||||||
|
white-space: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
css.md
4
css.md
|
@ -137,9 +137,7 @@ Background
|
||||||
| `background-color:` | `<color>` |
|
| `background-color:` | `<color>` |
|
||||||
| `background-image:` | `url(...)` |
|
| `background-image:` | `url(...)` |
|
||||||
| `background-position:` | `left/center/right` `top/center/bottom` |
|
| `background-position:` | `left/center/right` `top/center/bottom` |
|
||||||
| `background-size:` | `cover` |
|
| `background-size:` | `cover` `X Y` |
|
||||||
| | `X Y` |
|
|
||||||
| --- | --- |
|
|
||||||
| `background-clip:` | `border-box` `padding-box` `content-box` |
|
| `background-clip:` | `border-box` `padding-box` `content-box` |
|
||||||
| `background-repeat:` | `no-repeat` `repeat-x` `repeat-y` |
|
| `background-repeat:` | `no-repeat` `repeat-x` `repeat-y` |
|
||||||
| `background-attachment:` | `scroll` `fixed` `local` |
|
| `background-attachment:` | `scroll` `fixed` `local` |
|
||||||
|
|
1
vim.md
1
vim.md
|
@ -132,6 +132,7 @@ Operators let you operate in a range of text (defined by *motion*). These are pr
|
||||||
| `gu` | Lowercase |
|
| `gu` | Lowercase |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `!` | Filter through external program |
|
| `!` | Filter through external program |
|
||||||
|
{: .-shortcuts}
|
||||||
|
|
||||||
See `:help operator`
|
See `:help operator`
|
||||||
|
|
||||||
|
|
|
@ -216,7 +216,6 @@ Custom commands
|
||||||
```vim
|
```vim
|
||||||
command! Save :set fo=want tw=80 nowrap
|
command! Save :set fo=want tw=80 nowrap
|
||||||
```
|
```
|
||||||
{: .-setup}
|
|
||||||
|
|
||||||
Custom commands start with uppercase letters. The `!` redefines a command if it already exists.
|
Custom commands start with uppercase letters. The `!` redefines a command if it already exists.
|
||||||
|
|
||||||
|
@ -225,6 +224,7 @@ Custom commands start with uppercase letters. The `!` redefines a command if it
|
||||||
```vim
|
```vim
|
||||||
command! Save call script#foo()
|
command! Save call script#foo()
|
||||||
```
|
```
|
||||||
|
{: .-setup}
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
function! script#foo()
|
function! script#foo()
|
||||||
|
@ -237,6 +237,7 @@ endfunction
|
||||||
```vim
|
```vim
|
||||||
command! -nargs=? Save call script#foo(<args>)
|
command! -nargs=? Save call script#foo(<args>)
|
||||||
```
|
```
|
||||||
|
{: .-setup}
|
||||||
|
|
||||||
| What | What |
|
| What | What |
|
||||||
| ---- | ---- |
|
| ---- | ---- |
|
||||||
|
|
Loading…
Reference in New Issue