summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--artistes.css8
-rw-r--r--artistes.html4
2 files changed, 6 insertions, 6 deletions
diff --git a/artistes.css b/artistes.css
index e1e0d5d..3040559 100644
--- 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
index 044742f..b7ecaed 100644
--- 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>