-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
141 lines (124 loc) · 2.08 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Josefin Sans", sans-serif;
}
header {
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.15)),
url("../images/taj.jpg");
background-repeat: no-repeat;
background-size: cover;
}
nav {
width: 100%;
height: 15vh;
background: rgba(0, 0, 0, 0.2);
color: white;
display: flex;
justify-content: space-between;
align-items: center;
text-transform: uppercase;
}
nav .logo {
width: 25%;
text-align: center;
/*background: red;*/
}
nav .menu {
width: 40%;
display: flex;
justify-content: space-around;
}
nav .menu a {
width: 25%;
text-decoration: none;
color: white;
font-weight: bold;
}
nav .menu a:first-child {
color: #00b894;
}
main {
width: 100%;
height: 85vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
}
section h3 {
font-size: 35px;
font-weight: 200;
letter-spacing: 3px;
text-shadow: 1px 1px 2px black;
}
section h1 {
margin: 30px 0 20px 0;
font-size: 55px;
font-weight: 700;
text-shadow: 2px 1px 5px black;
text-transform: uppercase;
}
section p {
font-size: 25px;
word-spacing: 2px;
margin-bottom: 25px;
text-shadow: 1px 1px 1px black;
}
section a {
padding: 12px 30px;
border-radius: 4px;
outline: none;
text-transform: uppercase;
font-size: 13px;
font-weight: 500;
text-decoration: none;
letter-spacing: 1px;
transition: all 0.5s ease;
}
section .btnone {
/*background: #00b894;*/
background: #fff;
color: #000;
}
.btnone:hover {
background: #00b894;
color: white;
}
section .btntwo {
background: #00b894;
color: white;
}
.btntwo:hover {
background: #fff;
color: #000;
}
.change_content:after {
content: "";
animation: changetext 10s infinite linear;
color: #00b894;
}
@keyframes changetext {
0% {
content: "Darjeeling";
}
20% {
content: "Agra";
}
35% {
content: "Jaipur";
}
60% {
content: "kerala";
}
80% {
content: "delhi";
}
100% {
content: "Mumbai";
}
}