From 5b52ff4d4188d8ab2866059e87d0f6b85d1a49e0 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 25 Jan 2018 08:42:04 +0100 Subject: [PATCH] docs: update docs --- resources/docs/css/extra.css | 22 ++++++++++++++++++++-- resources/docs/interface.md | 4 ++-- resources/mkdocs.yml | 26 +++++++++++++++++++------- 3 files changed, 41 insertions(+), 11 deletions(-) diff --git a/resources/docs/css/extra.css b/resources/docs/css/extra.css index eb5818e0..4327df2f 100644 --- a/resources/docs/css/extra.css +++ b/resources/docs/css/extra.css @@ -1,2 +1,20 @@ -body {overflow-y: scroll} -.md-nav__title.md-nav__title--site {display: none;} +.md-header, .md-tabs { + background:rgb(49, 63, 85)!important; +} + +@media only screen and (max-width: 76.1875em) { +.md-header, .md-nav__title--site { + background:rgb(49, 63, 85)!important; +} +} + +.md-header-nav__button.md-logo { + margin-right:-1rem!important; +} + +.md-nav__title--site, .md-header-nav__title { + text-transform: uppercase; + font-size: 1.4rem!important; + font-weight:500!important; + letter-spacing:1px; +} diff --git a/resources/docs/interface.md b/resources/docs/interface.md index a79e0f55..7ddca071 100644 --- a/resources/docs/interface.md +++ b/resources/docs/interface.md @@ -31,5 +31,5 @@ See [Editing sessions](editing-sessions.md). | Double Click | Double Tap | Some widgets handle double click / tap events. | | Right-click | Long touch | Widgets that have only one value input will give focus to it when receiving this event. When the editor is enabled, Right-click / Long touch spawns the editor's context menu. | | Drag | Drag | The widgets respond to mouse and touch drag gestures with a 1:1 precision ratio. | -| `Ctrl` + Drag | | Holding the `Ctrl` key while dragging with the mouse increases the gesture's precision by 8.| -| | Multi-finger drag (single target) | Using two or more fingers on a single-touch target increases the gesture's precision by the squared number of fingers. | +| `Ctrl` + Drag | | Holding the `Ctrl` key while dragging with the mouse increases the gesture's precision by 10.| +| | Two-fingers drag (single target) | Using two on a single-touch target increases the gesture's precision by 10. | diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index 45926062..1390061a 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -1,20 +1,32 @@ site_name: Open Stage Control repo_name: open-stage-control repo_url: https://github.com/jean-emmanuel/open-stage-control +edit_uri: tree/master/resources/docs/ copyright: "Open Stage Control is an AMMD software licensed under the GNU/GPLv3 License" site_description: "A libre desktop OSC bi-directionnal control surface application." -theme_dir: mkdocs-material/material -site_favicon: img/logo.png - -extra: +theme: + name: 'material' + custom_dir: 'mkdocs-material/material' feature: - tabs: false - logo: img/logo-material.svg + tabs: true + favicon: 'img/logo.png' + language: 'en' + logo: + icon: null + palette: + primary: 'blue grey' + accent: 'light blue' + font: + text: 'Roboto' + code: 'Roboto Mono' + +extra_css: + - 'css/extra.css' pages: - - Open Stage Control: index.md + - OSC Control Surface: index.md - Getting started: getting-started.md - User interface: interface.md - Editing sessions: editing-sessions.md