code refactoring
change note to image for zooming styling changes to divs selectors removed that were no longer needed
This commit is contained in:
parent
9ae6900ea4
commit
be86abc72f
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -9,11 +9,10 @@
|
|||
|
||||
<body>
|
||||
<header><p class="header-text">For you, Emma</p></header>
|
||||
|
||||
|
||||
<section>
|
||||
<div class="visitor-note">
|
||||
<p class="read-this">Read!</p>
|
||||
<img class="note" src="/img/notebook-paper.png" alt="a piece of paper representing a note that needs to be clicked on to read">
|
||||
<img class="read-this" src="/img/read.jpg" alt="a piece of note paper that must be clicked on to read" height="300" width="300">
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
|
|
|
@ -181,38 +181,29 @@ section {
|
|||
z-index: 2;
|
||||
}
|
||||
|
||||
.note, .read-this {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.visitor-note {
|
||||
margin-right: 5rem
|
||||
}
|
||||
|
||||
.note {
|
||||
height: 30vh;
|
||||
width: auto;
|
||||
position: relative;
|
||||
top: 10%;
|
||||
left: 18%;
|
||||
z-index: 1;
|
||||
margin: 0 3rem;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.read-this {
|
||||
font-size: 3rem;
|
||||
font-family: learning-curve-regular;
|
||||
position: absolute;
|
||||
left: 5%;
|
||||
top: 30%;
|
||||
z-index: 2;
|
||||
cursor: pointer;
|
||||
height: 250px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.items {
|
||||
margin-top: 3rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.baxter {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.trans-pride-heart {
|
||||
width: 200px;
|
||||
aspect-ratio: 1;
|
||||
|
@ -225,9 +216,4 @@ section {
|
|||
position: relative;
|
||||
left: 15%;
|
||||
transform: rotate(-15deg);
|
||||
}
|
||||
|
||||
.baxter {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
}
|
Loading…
Reference in New Issue