-
Notifications
You must be signed in to change notification settings - Fork 0
/
style3.css
99 lines (81 loc) · 1.6 KB
/
style3.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
html, body {
height: 100%;
width: 100%;
}
#nav {
width: 100%;
margin: 0;
padding: 0;
text-align: center;
list-style: none;
background-color: black;
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
}
#nav li {
display: inline-block;
text-align: center;
}
#nav li a {
display: block;
padding: 8px 15px;
text-decoration: none;
font-weight: 700;
text-align: center;
color: white;
border-right: 1px solid black;
font-size: 30px;
background-color: black;
}
#nav li a:hover {
color: white;
text-align: center;
background-color: purple;
}
* {
box-sizing: border-box;
}
.bg-img {
/* The image used */
background-image: url("Images_nasa/Tech.jpg");
/* Add the blur effect */
filter: blur(5px);
-webkit-filter: blur(7px);
/* 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;
font-size: 50px;
border: 3px solid #f1f1f1;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 100%;
padding: 40px;
text-align: center;
}
.heading3 {
text-align: center;
font-size: 50px;
}
.container3 {
margin-left: 820px;
}
.info3 {
font-size: 45px;
text-align: center;
}
.imgmarsrover {
margin-left: 670px;
}