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

View File

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