30 lines
527 B
CSS
30 lines
527 B
CSS
html, body { font-size: 100%; }
|
|
body
|
|
{
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
#canvas-main
|
|
{
|
|
position: absolute;
|
|
top: 0; right: 0; bottom: 0; left: 0;
|
|
z-index: -100;
|
|
}
|
|
|
|
#event-text
|
|
{
|
|
position: absolute; top: 0; left: 0; right: 0;
|
|
z-index: 100;
|
|
|
|
margin: 0;
|
|
padding: 0.2em;
|
|
|
|
text-align: center;
|
|
font-size: 3em;
|
|
font-weight: bold;
|
|
|
|
background: linear-gradient(to left, transparent, white, transparent);
|
|
color: transparent;
|
|
-webkit-background-clip: text;
|
|
}
|