fix: popup quote dimensions

This commit is contained in:
john-emerson14
2020-03-23 14:43:46 -03:00
parent 8c0ebb9aef
commit 5e18d9b71a
2 changed files with 7 additions and 10 deletions

View File

@@ -25,9 +25,9 @@
<div class="popup">
<div class="popup-photo">
<img src="https://avatars0.githubusercontent.com/u/43749971" alt="Profile Picture">
<div class="popup-quote">
But... the sensation that I've lost something lingers for a longtime after I wake up.
</div>
</div>
<div class="popup-quote">
But... the sensation that I've lost something lingers for a longtime after I wake up.
</div>
<a class="popup-close" onclick="history.back()">&times;</a>

View File

@@ -156,8 +156,8 @@ body {
display: flex;
flex-direction: column;
align-items: center;
max-width: 500px;
max-height: 500px;
max-width: 400px;
/* max-height: 500px; */
width: auto;
height: auto;
margin: 56px;
@@ -170,13 +170,10 @@ body {
.popup-quote {
font-family : Baskerville, Georgia, serif;
font-style : italic;
position: absolute;
bottom: 0;
right: 0;
left: 0;
position: flex;
color: var(--accentColor);
padding: 20px;
background-color: rgba(0, 0, 0, 0.7);
background-color: var(--bgColor);
text-align: center;
font-size: 1rem;
}