diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-11-23 07:57:01 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-11-23 08:06:10 +0000 |
| commit | 3b3b56d348bd882f9db7aa813cdce6472b6ca8fa (patch) | |
| tree | 9bf03b8c76ceba469adea38c54651f75e62a11cc | |
| parent | add URLs for all projects (diff) | |
| download | mmm-3b3b56d348bd882f9db7aa813cdce6472b6ca8fa.tar.gz mmm-3b3b56d348bd882f9db7aa813cdce6472b6ca8fa.zip | |
fix h3-link hovers
| -rw-r--r-- | root/articles/text$moonscript -> fn -> mmm$dom.moon | 2 | ||||
| -rw-r--r-- | root/experiments/text$moonscript -> fn -> mmm$dom.moon | 2 | ||||
| -rw-r--r-- | root/games/text$moonscript -> fn -> mmm$dom.moon | 2 | ||||
| -rw-r--r-- | root/meta/text$moonscript -> fn -> mmm$dom.moon | 4 | ||||
| -rw-r--r-- | root/projects/text$moonscript -> fn -> mmm$dom.moon | 2 | ||||
| -rw-r--r-- | scss/_reset.scss | 29 |
6 files changed, 15 insertions, 26 deletions
diff --git a/root/articles/text$moonscript -> fn -> mmm$dom.moon b/root/articles/text$moonscript -> fn -> mmm$dom.moon index 864b604..aec02d9 100644 --- a/root/articles/text$moonscript -> fn -> mmm$dom.moon +++ b/root/articles/text$moonscript -> fn -> mmm$dom.moon @@ -3,7 +3,7 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + h3 link_to @ ul for child in *@children desc = child\gett 'description: mmm/dom' li (link_to child), ': ', desc diff --git a/root/experiments/text$moonscript -> fn -> mmm$dom.moon b/root/experiments/text$moonscript -> fn -> mmm$dom.moon index 864b604..aec02d9 100644 --- a/root/experiments/text$moonscript -> fn -> mmm$dom.moon +++ b/root/experiments/text$moonscript -> fn -> mmm$dom.moon @@ -3,7 +3,7 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + h3 link_to @ ul for child in *@children desc = child\gett 'description: mmm/dom' li (link_to child), ': ', desc diff --git a/root/games/text$moonscript -> fn -> mmm$dom.moon b/root/games/text$moonscript -> fn -> mmm$dom.moon index 0139841..cb62e1c 100644 --- a/root/games/text$moonscript -> fn -> mmm$dom.moon +++ b/root/games/text$moonscript -> fn -> mmm$dom.moon @@ -3,7 +3,7 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + h3 link_to @ ul with for child in *@children link_if_content = (opts) -> a with opts diff --git a/root/meta/text$moonscript -> fn -> mmm$dom.moon b/root/meta/text$moonscript -> fn -> mmm$dom.moon index 9062ae3..d3e27e1 100644 --- a/root/meta/text$moonscript -> fn -> mmm$dom.moon +++ b/root/meta/text$moonscript -> fn -> mmm$dom.moon @@ -2,8 +2,8 @@ import div, h3, p, br, ul, li, i from require 'mmm.dom' import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - style: { 'max-width': '700px' }, - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + style: { 'max-width': '700px' } + h3 link_to @ p "mmm is a collection of Lua/Moonscript modules for web development. All modules are 'polymorphic' - they can run in the ", (i 'browser'), ", using the native browser API for creating and interacting with DOM content, as well as on the ", diff --git a/root/projects/text$moonscript -> fn -> mmm$dom.moon b/root/projects/text$moonscript -> fn -> mmm$dom.moon index 864b604..aec02d9 100644 --- a/root/projects/text$moonscript -> fn -> mmm$dom.moon +++ b/root/projects/text$moonscript -> fn -> mmm$dom.moon @@ -3,7 +3,7 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + h3 link_to @ ul for child in *@children desc = child\gett 'description: mmm/dom' li (link_to child), ': ', desc diff --git a/scss/_reset.scss b/scss/_reset.scss index 9dae26c..a8b1d49 100644 --- a/scss/_reset.scss +++ b/scss/_reset.scss @@ -7,33 +7,20 @@ -moz-osx-font-smoothing: grayscale; } -input, select, button { - color: initial; -} - -tt, code, kbd, samp { - font-family: 'monospace'; -} - body, html, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; } -h1, h2, h3, h4, h5, h6 { - font-weight: bold; -} - -::selection { - background: $gray-dark; - color: $gray-bright; - padding: 1em; -} - +h1, h2, h3, h4, h5, h6 { font-weight: bold; } +input, select, button { color: initial; } +tt, code, kbd, samp { font-family: 'monospace'; } +code { font-size: 0.8em; } b { font-weight: bold; } i { font-style: italic; } a { cursor: pointer; } hr { clear: both; } +ul { margin: 0; } body { display: flex; @@ -60,6 +47,8 @@ a { transition: filter 500ms, text-decoration-color 500ms; } -code { - font-size: 0.8em; +::selection { + background: $gray-dark; + color: $gray-bright; + padding: 1em; } |
