-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
93 lines (82 loc) · 1.2 KB
/
index.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
body {
margin: 0px;
font-family: 'Open Sans', sans-serif;
background-color: black;
}
h1 {
margin-top:20px;
margin-left: 50px;
padding: 0px;
font-size: 40px;
}
section {
display: block;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
width: 100%;
height: 1000px;
position: relative;
}
.container {
color: white;
position: absolute;
}
h2 {
margin: 0px;
color: #fff;
background-color: rgba(0,0,0,0.5);
padding: 20px;
}
.section1{
background-color: white;
}
.section1 .container{
top: 250px;
left: 100px;
}
.section2{
background-color: #111;
}
.section2 .container{
top: 300px;
right: 200px;
}
.section3{
background-color: #333;
}
.section3 .container{
top: 400px;
left: 250px;
}
#menu1 {
position: fixed;
top: 0px;
height: 100px;
width: 100%;
background-color: black;
z-index: 1;
opacity: 0;
}
#menu1 h1 {
color: white;
}
#menu2 {
position: fixed;
top: 0px;
height: 100px;
width: 100%;
background-color: white;
z-index: 1;
opacity: 0;
}
#menu3 {
position: fixed;
top: 0px;
height: 100px;
width: 100%;
background-color: red;
z-index: 1;
opacity: 0;
}