64 lines
1.4 KiB
SCSS
64 lines
1.4 KiB
SCSS
|
$main-color1: #1A0B06;
|
||
|
$main-color2: #34302F;
|
||
|
$accent-color1: #463d30;
|
||
|
$accent-color2: #9f927f;
|
||
|
|
||
|
body {
|
||
|
background-size: cover;
|
||
|
background: url('background.jpg') center;
|
||
|
height: 100vh;
|
||
|
margin: 0;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
* {
|
||
|
text-align: center;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#quote-box {
|
||
|
background-color: $accent-color2;
|
||
|
width: 450px;
|
||
|
height: auto;
|
||
|
border: 2px;
|
||
|
border-radius: 5px;
|
||
|
padding: 2rem;
|
||
|
opacity: 90%;
|
||
|
.quote-text {
|
||
|
display: flex;
|
||
|
justify-content: space-evenly;
|
||
|
}
|
||
|
.fa-quote-right, .fa-quote-left {
|
||
|
color: $accent-color1;
|
||
|
}
|
||
|
#text {
|
||
|
font-family: monospace;
|
||
|
font-style: italic;
|
||
|
font-size: 2rem;
|
||
|
color: $main-color1;
|
||
|
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;
|
||
|
}
|
||
|
#author {
|
||
|
color: $accent-color1;
|
||
|
}
|
||
|
#new-quote{
|
||
|
background-color: $accent-color1;
|
||
|
border: 2px solid $accent-color1;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: rgba(0, 0, 0, 0.56) 0 22px 70px 4px;
|
||
|
|
||
|
}
|
||
|
#share-buttons{
|
||
|
display: flex;
|
||
|
gap: 1rem;
|
||
|
|
||
|
.share-button{
|
||
|
color: $main-color2;
|
||
|
font-size: 1.5rem;
|
||
|
|
||
|
:hover {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|