www

my website
git clone https://tilde.team/~marisa/repo/www.git
Log | Files | Refs | README

commit 2914504eb48e8dd2e6aedf390a94ae9b076224ce
parent c5279c04aee1fd57fb8b330de9791ce563cd5f0e
Author: mokou <mokou@posteo.de>
Date:   Fri, 10 Jul 2020 23:15:50 +0200

Center block

Diffstat:
Mstatic/main.css | 11+++++++++++
Mtemplates/index.html | 2+-
2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/static/main.css b/static/main.css @@ -35,6 +35,13 @@ body { line-height: 1.6rem; } +main { + display: flex; + align-items: center; + justify-content: center; + min-height: 95vh; +} + a, a:visited, a:active { @@ -93,6 +100,10 @@ h4, border-bottom: 1px dashed var(--color-bg); } +.block-middle { + margin: 0; +} + .title { font-size: 3rem; line-height: 4rem; diff --git a/templates/index.html b/templates/index.html @@ -18,7 +18,7 @@ <body> <main> {% block content %} - <div class="block block-highlighted"> + <div class="block block-highlighted block-middle"> <div class="larger-type"> <strong class="merriweather"> Hi! My name is Marisa<span class="popover">