diff --git a/assets/app.css b/assets/app.css index b49ead4..56fff6e 100644 --- a/assets/app.css +++ b/assets/app.css @@ -37,6 +37,7 @@ This is to avoid redeclarating CSS rules. --panel-bg-color: hsla(0 0 50% / 0.16); --monospace-color: springgreen; --monospace-color-inline: seagreen; + --a-color: gold; /* typography, mobile first */ --base-font-size: 1.33em; @@ -85,6 +86,10 @@ body { } } +a { + color: var(--a-color); +} + input, button { font-size: 1.2em; @@ -263,6 +268,11 @@ nature of this site. As a general rule though, classes are the most versatile. */ +.home-search, +.profiles { + font-size: var(--tree-font-size); +} + .sr-only { position: absolute; left: -999em; @@ -320,13 +330,16 @@ versatile. font-size: var(--tree-font-size); > li { - display: flex; + text-align: center; + display: grid; + grid-template-columns: 50px 1fr auto; align-items: center; margin: 0; gap: 0.5em; - padding: 1.33em 0.5em; - background-color: rgba(128, 128, 128, 0.16); - border-left: 6px solid var(--tree-item-accent-color); + padding: 0.75em; + min-height: 50px; + background-color: rgba(128, 128, 128, 0.1); + border: 1px solid rgba(192, 192, 192, 0.1); &:focus-within { background-color: rgba(128, 128, 128, 0.25); @@ -523,6 +536,7 @@ Color theme, reduced motion :root { --color: #000; --bgcolor: #fff; + --a-color: blue; } } diff --git a/config/config.exs b/config/config.exs index 35d4086..3031791 100644 --- a/config/config.exs +++ b/config/config.exs @@ -26,7 +26,7 @@ config :esbuild, version: "0.17.11", mse25: [ args: - ~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/* --external:/css/*), + ~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/bl/* --external:/images/* --external:/*.{vcf,png,ico,pdf}), cd: Path.expand("../assets", __DIR__), env: %{"NODE_PATH" => Path.expand("../deps", __DIR__)} ] diff --git a/lib/mse25_web/controllers/page_html/home.html.heex b/lib/mse25_web/controllers/page_html/home.html.heex index e1b7b72..1e2d6ed 100644 --- a/lib/mse25_web/controllers/page_html/home.html.heex +++ b/lib/mse25_web/controllers/page_html/home.html.heex @@ -3,93 +3,122 @@

Anders Englöf Ytterström

-
+ :