57 lines
986 B
CSS
57 lines
986 B
CSS
/* Import Google Font */
|
|
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');
|
|
|
|
/* HTML & Body styling */
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: linear-gradient(to bottom, #eee 0%, #ddd 60%, #ccc 100%);
|
|
background-size: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body::after {
|
|
content: "";
|
|
background-image: url(https://www.transparenttextures.com/patterns/noise.png);
|
|
opacity: .1;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
position: fixed;
|
|
z-index: -1;
|
|
}
|
|
|
|
/* Center section */
|
|
body {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
section {
|
|
text-align: center;
|
|
}
|
|
|
|
/* SVG and h1 styling */
|
|
svg {
|
|
width: 55vmin;
|
|
height: 1uto;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'DM Serif Display', serif;
|
|
margin: 3vmin 0 0 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
h1:nth-child(1){
|
|
font-size: 5vmin;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
h1:nth-child(2){
|
|
font-size: 9.7vmin;
|
|
opacity: 0.1;
|
|
}
|