This repository has been archived on 2023-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
freecodecamp-projects/3-frontend-dev-libraries/1-random-quote-machine/styles.css

58 lines
1.4 KiB
CSS

body {
background-size: cover;
background: url("background.jpg") center;
height: 100vh;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
body * {
text-align: center;
}
#quote-box {
background-color: #9f927f;
width: 450px;
height: auto;
border: 2px;
border-radius: 5px;
padding: 2rem;
opacity: 90%;
}
#quote-box .quote-text {
display: flex;
justify-content: space-evenly;
}
#quote-box .fa-quote-right, #quote-box .fa-quote-left {
color: #463d30;
}
#quote-box #text {
font-family: monospace;
font-style: italic;
font-size: 2rem;
color: #1A0B06;
box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}
#quote-box #author {
color: #463d30;
}
#quote-box #new-quote {
background-color: #463d30;
border: 2px solid #463d30;
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.56) 0 22px 70px 4px;
}
#quote-box #share-buttons {
display: flex;
gap: 1rem;
}
#quote-box #share-buttons .share-button {
color: #34302F;
font-size: 1.5rem;
}
#quote-box #share-buttons .share-button :hover {
cursor: pointer;
}
/*# sourceMappingURL=styles.css.map */