diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-01-08 16:24:09 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2019-01-08 16:24:09 +0100 |
| commit | 6ec6042366c0885bfeb2d645df6a207b498e6c4b (patch) | |
| tree | ff3cc44bd15e5829361973765eca4bb8d1d01f29 /tools/editor/index.html | |
| parent | 4e549bfbd1bde06f99d330497e3560925705db32 (diff) | |
| download | mitjafelicijan.com-6ec6042366c0885bfeb2d645df6a207b498e6c4b.tar.gz | |
added padding and yellow background when text selected
Diffstat (limited to 'tools/editor/index.html')
| -rw-r--r-- | tools/editor/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/editor/index.html b/tools/editor/index.html index d3ec567..3bdef13 100644 --- a/tools/editor/index.html +++ b/tools/editor/index.html | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | top: 0; | 24 | top: 0; |
| 25 | right: 0; | 25 | right: 0; |
| 26 | bottom: 0; | 26 | bottom: 0; |
| 27 | padding: 80px; | 27 | padding: 70px; |
| 28 | outline: none; | 28 | outline: none; |
| 29 | border: 0; | 29 | border: 0; |
| 30 | background: #222; | 30 | background: #222; |
| @@ -32,8 +32,10 @@ | |||
| 32 | font-size: 28px; | 32 | font-size: 28px; |
| 33 | font-family: Monaco, monospace; | 33 | font-family: Monaco, monospace; |
| 34 | font-weight: 200; | 34 | font-weight: 200; |
| 35 | line-height: 130%; | ||
| 35 | overflow: auto; | 36 | overflow: auto; |
| 36 | } | 37 | } |
| 38 | ::selection { background:#ff0; color:#000 } | ||
| 37 | </style> | 39 | </style> |
| 38 | 40 | ||
| 39 | <article contenteditable></article> | 41 | <article contenteditable></article> |
