diff --git a/static/style.css b/static/style.css index 7378289..4aef10c 100644 --- a/static/style.css +++ b/static/style.css @@ -10,9 +10,15 @@ nav { align-items: center; flex-wrap: wrap; } -nav a:first-child { margin-left: 0; text-decoration: none } +menu { padding: 0; display: flex } +nav > a:first-child { margin-left: 0; text-decoration: none } nav h1 { margin: 0 } nav a { margin-left: 1.5rem; } +@media only screen and (max-width: 540px) { + nav { flex-direction: column; padding-bottom: .5rem } + menu { margin: 2rem 0 0 } + menu a { margin: .75rem } +} article, nav { padding-left: 1rem; padding-right: 1rem; @@ -136,11 +142,16 @@ strong { } .selling-point { - /* Max 2, min 1 selling point per row */ - max-width: 20em; + max-width: 50%; + box-sizing: border-box; font-size: 1.20rem; - padding: 2rem; - padding-top: 1rem; + padding: 1rem 1.5rem; +} + +@media only screen and (max-width: 768px) { + .selling-point { + max-width: 100% + } } .selling-point h2 { diff --git a/templates/base.html b/templates/base.html index a17830c..39804bc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -24,10 +24,12 @@

Helix

- News - Documentation - GitHub - Matrix + + News + Documentation + GitHub + Matrix +
{% block content %} {% endblock %} diff --git a/templates/index.html b/templates/index.html index 6708cd1..b17dada 100644 --- a/templates/index.html +++ b/templates/index.html @@ -48,7 +48,7 @@

Built in Rust, for the terminal

-

Modern and sane builtin features

+

Modern builtin features

Fuzzy finder to jump to files and symbols, project wide search, beautiful themes, auto closing bracket pairs,