-
Notifications
You must be signed in to change notification settings - Fork 0
/
style_index.css
70 lines (70 loc) · 1.16 KB
/
style_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
*{
margin: 0;
padding: 0;
font-family: Century Gothic;
}
header{
background-image: url('https://static.theprint.in/wp-content/uploads/2018/05/1_Agriculture_and_rural_farms_of_India-e1548392979838.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: #fff;
padding: 5px 20px;
border: 1px solid transparent;
transition: 0.6s ease;
}
ul li a:hover{
background-color: #fff;
color: #000;
}
ul li.active a{
background-color: #fff;
color: #000;
}
.logo img{
float: left;
width: 150px;
height: auto;
}
.main{
max-width: 1200px;
margin: auto;
}
.title{
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%,-50%);
}
.title h1{
color:#fff;
font-size: 70px;
}
.button{
position: absolute;
top:70%;
left: 50%;
transform: translate(-50%,-50%);
}
.btn{
border: 2px solid #fff;
padding: 10px 30px;
color:#fff;
text-decoration: none;
transition: 0.6s ease;
}
.btn:hover{
background-color: #fff;
color: #000;
}