blessed: update layout

This commit is contained in:
Rico Sta. Cruz 2017-09-20 13:18:48 +08:00
parent 81ed3a6302
commit 7affb8660e
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
2 changed files with 5 additions and 3 deletions

View File

@ -42,6 +42,7 @@
& > div > iframe { & > div > iframe {
display: inline-block; display: inline-block;
opacity: 0.7; opacity: 0.7;
transition: opacity 150ms linear;
} }
& > div:hover > iframe { & > div:hover > iframe {

View File

@ -1,9 +1,10 @@
--- ---
title: Blessed title: Blessed
category: JavaScript libraries category: JavaScript libraries
layout: 2017/sheet
--- ---
## Screen ### Screen
```js ```js
screen = blessed.screen({ screen = blessed.screen({
@ -20,7 +21,7 @@ screen.title = 'My window title'
screen.key(['escape', 'q', 'C-c'], (ch, key) => { ... }) screen.key(['escape', 'q', 'C-c'], (ch, key) => { ... })
``` ```
## Element ### Element
```js ```js
box = blessed.box({ box = blessed.box({
@ -35,7 +36,7 @@ box = blessed.box({
}) })
``` ```
## Tags ### Tags
``` ```
{bold} {bold}