Setup csv parsing and edited the css a bit
This commit is contained in:
40
main.css
40
main.css
@@ -85,4 +85,42 @@ body {
|
||||
font-size: 18px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Backgrund stuffs*/
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.bg {
|
||||
/* The image used */
|
||||
background-image: url("tempbg.png");
|
||||
|
||||
/* Add the blur effect */
|
||||
filter: blur(8px);
|
||||
-webkit-filter: blur(8px);
|
||||
|
||||
/* Full height */
|
||||
height: 100%;
|
||||
|
||||
/* Center and scale the image nicely */
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* Position text in the middle of the page/image */
|
||||
.bg-text {
|
||||
background-color: rgb(0,0,0); /* Fallback color */
|
||||
background-color: rgba(0,0,0, 0.4); /* opacity/see-through */
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
border: 3px solid #f1f1f1;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 2;
|
||||
width: 80%;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user