-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (68 loc) · 1.24 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
* {
margin: 0;
padding: 0;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
header {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(home.jpg);
height: 100vh;
background-size: cover;
background-position: center;
}
ul {
float: right;
list-style-type: none;
margin-top: 25px;
}
ul li {
display: inline-block;
}
ul li a {
text-decoration: none;
color: rgb(253, 253, 253);
padding: 5px 20px;
border: 1px solid rgb(7, 1, 1);
transition: 0.6s ease;
}
ul li a:hover {
background-color: #fff;
color: #000;
}
.main {
max-width: 1200px;
margin: auto;
}
ul li.active a {
background-color: #fff;
color: #000;
}
.title {
position: absolute;
top: 10%;
left: 10%;
color: #fff;
animation-name: ani;
animation-duration: 4s;
animation-iteration-count: infinite;
}
@keyframes ani {
from {
color: rgb(19, 143, 112);
}
to {
color: white;
}
}
video {
top: 60%;
left: 20%;
position: absolute;
width: 30%;
}
body p {
position: absolute;
top: 58%;
left: 20%;
color: rgb(252, 248, 248);
font-family: Georgia, 'Times New Roman', Times, serif;
}