-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
53 lines (45 loc) · 1008 Bytes
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
body, html {
height: 100%;
border: 0px;
margin: 0px;
}
* {
box-sizing: border-box;
}
.bg-image {
/* The image used */
background-image: url(https://wallpapercave.com/wp/wp3194209.jpg);
/* Add the blur effect */
filter: blur(8px);
-webkit-filter: blur(0px);
/* Full height */
height: 100%;
/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.bg-text {
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0, 0.4); /* Black w/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;
}
a{
color: white;
text-decoration: none;
font-size: 25px;
}
a:hover{
color: #fca2a2;
font-size: 25px;
}