-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (73 loc) · 1.9 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
* {
box-sizing: border-box;
}
body, html {
height: 100%;
}
.bg-image {
/* The image used */
background-image: url("https://www.trafalgar.com/real-word/wp-content/uploads/sites/3/2019/10/giant-panda-750x400.jpg");
/* Add the blur effect */
filter: blur(10px);
-webkit-filter: blur(10px);
/* 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); /* 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: 9;
width: 80%;
padding: 20px;
text-align: center;
}
h1 {
color: #F5A418;
margin-left: 20px;
align-self: center;
justify-content: center;
font-size: 40px;
font-family:Verdana, Geneva, Tahoma, sans-serif;
}
h4 {
color:rgb(216, 210, 207);
margin: 10px;
font-size: 30px;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
#example1 {
background-size: 2880px 1176px;
background-repeat: no-repeat;
}
button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 15px 32px;
margin-top: 50px;
margin-left:20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 30px;
border-radius: 8px;
transition-duration: 0.4s;
}
button:hover {
background-color: #0a4111; /* Green */
color: white;
box-shadow: 0 12px 16px 0 rgba(255, 0, 0, 0.24), 0 17px 50px 0 rgba(20, 189, 110, 0.19);
}