commit 39bbadba9f1ba69869ac1b0a6eaf59226e0e37eb
parent 8b4f6bbcca34d8a49bb11213b0693e569e6f5592
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Wed, 18 Nov 2020 18:14:18 +0100
Use actual main tag instead of "main" class
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/artistes.css b/artistes.css
@@ -1,4 +1,4 @@
-.main {
+main {
display: flex;
background: #f00;
}
@@ -9,11 +9,11 @@
background: #f44;
}
-.main div {
+main div {
padding: 2%;
}
-.main #photos {
+main #photos {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
@@ -26,7 +26,7 @@
background: #eee;
}
-.main #bio {
+main #bio {
flex: 2;
background: #bbb;
padding-left: 8%;
diff --git a/artistes.html b/artistes.html
@@ -30,7 +30,7 @@
</p>
</header>
- <div class="main">
+ <main>
<div id="photos">
<img src="https://v3.goldensun-world.com/img/artwork/vlad_b.jpg">
<img src="https://v3.goldensun-world.com/img/artwork/garet_b.jpg">
@@ -84,7 +84,7 @@
</p>
</div>
- </div>
+ </main>
</div>
<footer>