simplify and clean up border lines a bit
This commit is contained in:
parent
339529d4e6
commit
af508dd1df
2 changed files with 7 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
|||
<body>
|
||||
<main>
|
||||
|
||||
<div class="gallery">
|
||||
<section class="gallery">
|
||||
<img src="images/collabyrinth-title.png">
|
||||
<img src="images/collabyrinth-title.png">
|
||||
<img src="images/collabyrinth-title.png">
|
||||
|
@ -16,7 +16,7 @@
|
|||
<img src="images/collabyrinth-title.png">
|
||||
<img src="images/collabyrinth-title.png">
|
||||
<img src="images/collabyrinth-title.png">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
|
|
10
style.css
10
style.css
|
@ -30,23 +30,23 @@ a:visited {
|
|||
|
||||
section {
|
||||
margin-top: 2ch;
|
||||
border-top: 2ch double mediumvioletred;
|
||||
border-top: 1.5ch double mediumvioletred;
|
||||
}
|
||||
|
||||
section img {
|
||||
display: block;
|
||||
border: 2ch double mediumvioletred;
|
||||
border: 1.5ch double mediumvioletred;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 80%;
|
||||
max-height: 40ch;
|
||||
}
|
||||
|
||||
div.gallery {
|
||||
.gallery {
|
||||
display:flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
div.gallery img {
|
||||
.gallery img {
|
||||
border: 0.5ch solid mediumvioletred;
|
||||
margin: 1ch;
|
||||
width: 10ch;
|
||||
|
|
Loading…
Add table
Reference in a new issue