72 lines
1.2 KiB
CSS
72 lines
1.2 KiB
CSS
|
html, body {
|
||
|
height: 100%;
|
||
|
margin: 0;
|
||
|
font-family: 'Georgia', serif;
|
||
|
background-color: #121212;
|
||
|
color: #f5f5f5;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
width: 60%;
|
||
|
max-width: 950px;
|
||
|
margin: auto;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
height: 100vh;
|
||
|
text-align: center;
|
||
|
position: relative;
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
.background-image {
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
left: 50%;
|
||
|
transform: translate(-50%, -50%);
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
opacity: 0.2;
|
||
|
z-index: 0;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
|
||
|
blockquote {
|
||
|
font-size: 1.8rem;
|
||
|
font-style: italic;
|
||
|
margin: 0;
|
||
|
line-height: 1.5;
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
.author {
|
||
|
margin-top: 1.5rem;
|
||
|
font-size: 1.2rem;
|
||
|
font-style: italic;
|
||
|
color: #bbbbbb;
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
.source {
|
||
|
margin-top: 1rem;
|
||
|
font-size: 1rem;
|
||
|
color: #999999;
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
.source a {
|
||
|
color: #f5f5f5;
|
||
|
text-decoration: none;
|
||
|
font-weight: bold;
|
||
|
border-bottom: 2px solid #f5f5f5;
|
||
|
transition: color 0.3s, border-color 0.3s;
|
||
|
}
|
||
|
|
||
|
.source a:hover {
|
||
|
color: #d1d1d1;
|
||
|
border-color: #d1d1d1;
|
||
|
}
|