From eb970f183980dcfa2d06013cdec2ccafeffba3f1 Mon Sep 17 00:00:00 2001 From: edpibu Date: Sun, 11 Apr 2021 18:24:27 +0200 Subject: [PATCH] Added navigation to photos --- css/photos.css | 14 ++++++++++++++ index.html | 2 +- photos/index.html | 7 ++++++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/css/photos.css b/css/photos.css index b217478..8d6a433 100644 --- a/css/photos.css +++ b/css/photos.css @@ -1,3 +1,17 @@ +header { + display: grid; + grid-template-columns: 2fr 1fr; + transition: transform 250ms; +} +header>* { + align-self: center; +} +header nav { + text-align: right; + font-size: 1.5rem; + font-weight: 800; +} + .album { width: 320px; height: 180px; diff --git a/index.html b/index.html index 5ae1bcb..f4023dc 100644 --- a/index.html +++ b/index.html @@ -43,8 +43,8 @@

Burkhart