summaryrefslogtreecommitdiff
path: root/docs/lab
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-09-29 20:32:06 +0300
committerRasmus Andersson <rasmus@notion.se>2018-10-11 09:38:24 +0300
commited0ff206fc38a544464d3ab7aa33a1ddc2e0c603 (patch)
treee96121119982b2b0966e15d34d8d8f0375df7fdf /docs/lab
parent4a0bb4131209191b117ab180fc4a30b4cfe8fddd (diff)
downloadinter-ed0ff206fc38a544464d3ab7aa33a1ddc2e0c603.tar.xz
web: minor adjustments
Diffstat (limited to 'docs/lab')
-rw-r--r--docs/lab/lab.css4
-rw-r--r--docs/lab/var.html5
2 files changed, 6 insertions, 3 deletions
diff --git a/docs/lab/lab.css b/docs/lab/lab.css
index b744490c7..719bc949c 100644
--- a/docs/lab/lab.css
+++ b/docs/lab/lab.css
@@ -1,4 +1,4 @@
-* { margin:0; padding:0; }
+* { margin:0; padding:0; font-synthesis: none; }
html { }
body {
background-color: white;
@@ -44,7 +44,7 @@ h2 {
user-select:none; -moz-user-select: none;
font-family: sans-serif !important;
overflow: auto;
- letter-spacing:0.01em;
+ letter-spacing:0.012em;
}
.options > * {
display: block;
diff --git a/docs/lab/var.html b/docs/lab/var.html
index 947b8d6c5..0ed45c444 100644
--- a/docs/lab/var.html
+++ b/docs/lab/var.html
@@ -15,7 +15,7 @@
html {
font-family: 'Inter UI', sans-serif;
font-size: 14px;
- letter-spacing: 0.001em;
+ letter-spacing: 0;
}
body {
margin: 0;
@@ -133,6 +133,7 @@ function startAnimation() {
return
}
weightInput.disabled = true
+ italicInput.disabled = true
isAnimating = true
let v = 0
let wmin = parseFloat(weightInput.min)
@@ -168,7 +169,9 @@ function startAnimation() {
function stopAnimation() {
isAnimating = false
weightInput.disabled = false
+ italicInput.disabled = false
weightInput.value = String(state.weight)
+ italicInput.value = String(state.italic)
}
// UI control: weight slider