commit cdff8a8483ec50ac4277079ed31b9b653b1d96de parent d55d735f430067642fd559b29cbcdf871c01e710 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Tue, 3 Nov 2020 22:04:12 +0100 Add logo Diffstat:
| M | artistes.html | | | 4 | ++++ |
| M | commun.css | | | 14 | ++++++++++++++ |
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/artistes.html b/artistes.html @@ -3,6 +3,9 @@ <link rel="stylesheet" href="artistes.css"> </head> <body> + <header> + <img src="https://upload.wikimedia.org/wikipedia/en/a/a4/Golden_Sun_icon.png" + alt="logo"> <nav> <ol> <li>accueil</li> @@ -11,6 +14,7 @@ <li>contact</li> </ol> </nav> + </header> <div class="main"> <div id="photos"> diff --git a/commun.css b/commun.css @@ -1,3 +1,17 @@ +header { + display: flex; + width: 100%; +} + +header img { + height: 3em; + margin: auto; +} + +nav { + flex: 1; +} + nav ol { display: flex; padding-left: 0;