aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-12-07 13:22:38 +0000
committers-ol <s-ol@users.noreply.github.com>2018-12-07 13:22:38 +0000
commit45924ae41520af5cfa64ca4a41b855af5cc7aca6 (patch)
tree17b1d3b32ce96c945da38de83ce4e79d24a4403b /build
parentfix onclick attrs (diff)
downloadmmm-45924ae41520af5cfa64ca4a41b855af5cc7aca6.tar.gz
mmm-45924ae41520af5cfa64ca4a41b855af5cc7aca6.zip
fix svg anim in firefox
Diffstat (limited to 'build')
-rw-r--r--build/layout.moon31
1 files changed, 18 insertions, 13 deletions
diff --git a/build/layout.moon b/build/layout.moon
index 5548281..8ef7fd4 100644
--- a/build/layout.moon
+++ b/build/layout.moon
@@ -1,4 +1,4 @@
-import header, footer, div, svg, g, circle, h1, span, b, a, img from require 'mmm.dom'
+import header, aside, footer, div, svg, g, circle, h1, span, b, a, img from require 'mmm.dom'
pick = (...) ->
num = select '#', ...
@@ -23,24 +23,29 @@ logo = svg {
g {
transform: 'translate(0 .18)'
- circle class: 'out', r: '.6', fill: 'none', 'stroke-width': '.12'
- circle class: 'in', r: '.2', stroke: 'none'
+ g { class: 'circle out', circle r: '.6', fill: 'none', 'stroke-width': '.12' }
+ g { class: 'circle in', circle r: '.2', stroke: 'none' }
}
}
{
header: header {
- h1 {
- logo
- b!
- span 'mmm', class: 'bold'
- '.s-ol.nu'
+ div {
+ h1 {
+ logo
+ b!
+ span 'mmm', class: 'bold'
+ '.s-ol.nu'
+ }
+ span "fun stuff with code and wires"
+ -- pick 'fun', 'cool', 'weird', 'interesting', 'new'
+ -- pick 'stuff', 'things', 'projects', 'experiments', 'news'
+ -- "with"
+ -- pick 'mostly code', 'code and wires', 'silicon', 'electronics'
}
- span "fun stuff with code and wires"
- -- pick 'fun', 'cool', 'weird', 'interesting', 'new'
- -- pick 'stuff', 'things', 'projects', 'experiments', 'news'
- -- "with"
- -- pick 'mostly code', 'code and wires', 'silicon', 'electronics'
+-- aside {
+-- a 'message me', href: '#'
+-- }
}
footer: footer {
span {