Add new file
This commit is contained in:
parent
50f9adcf68
commit
1868d05f86
1 changed files with 46 additions and 0 deletions
46
style.css
Normal file
46
style.css
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
/* 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: 20vmin;
|
||||
height: 20vmin;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'DM Serif Display', serif;
|
||||
font-size: 5vmin;
|
||||
}
|
||||
Loading…
Reference in a new issue