-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
180 lines (154 loc) · 4.19 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
.container-fluid.main{
position: relative; /* To make the navbar positions relative to this container */
padding: 0;
}
.navbar-default {
background-image: none;
background-color: transparent; /* Make the menu become transparent */
border-radius: 0px;
border: 0;
box-shadow: none;
padding: 10px;
position: absolute; /* Make the menu out of the document flow so it can placed anywhere without disturbing other widgets */
top: 0;
left: 0;
right: 0;
z-index: 10; /* If you delete this line, your menu link won't be clicked because it is behind the background. Applying this code bring the menu in front of the background */
}
.navbar-default .navbar-brand {
font-family: Verdana;
color: #ffffff;
font-size: 20px;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
color: #ffffff;
background-color: transparent;
}
.navbar-default .navbar-nav > li > a {
color: #ffffff;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
color: #ffffff;
background-color: transparent;
}
.navbar-default .navbar-toggle {
border-color: transparent;
}
.navbar-default .navbar-toggle:hover {
background-color: transparent;
}
.navbar-default .navbar-toggle:focus {
background-color: transparent;
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #ffffff;
}
.carousel .background {
background-position: center/cover no-repeat;
background-size: 100% 100%;
background-repeat: no-repeat;
height: 1080px;
}
@media (max-width:1080px) {
.carousel .background {
background-size: center/cover no-repeat; /* To make the background image looks good */
}
}
.carousel .background.a {
background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(p12.jpg);
}
.carousel .background.b {
background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(p3.jpg);
}
.carousel .background.c {
background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(p17.jpg);
}
.carousel .background.e {
background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(p15.jpg);
}
.carousel-fade .carousel-inner .item {
opacity: 0;
transition: opacity 1.6s; /* The 0.5s describes the duration to make the opacity from 0 to 1 */
}
.carousel-fade .carousel-inner .active {
opacity: 1;
}
/* CSS Hack to trigger GPU for smooth transition */
@media all and (transform-3d),
(-webkit-transform-3d) {
.carousel-fade .carousel-inner > .item.next,
.carousel-fade .carousel-inner > .item.active.right {
opacity: 0;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-inner > .item.prev,
.carousel-fade .carousel-inner > .item.active.left {
opacity: 0;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-inner > .item.next.left,
.carousel-fade .carousel-inner > .item.prev.right,
.carousel-fade .carousel-inner > .item.active {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
/* CSS Hack to trigger GPU for smooth transition */
.covertext {
position: absolute; /* To make the div to be place anywhere. It is out of the document flow */
top: 200px; /* The distance between the div with the top of document */
left: 0px; /* Make the div full width */
right: 0px; /* Make the div full width */
}
.title {
font-family: Verdana;
font-weight: 600;
font-size: 60px;
color: #ffffff;
text-align: center;
}
.subtitle {
font-family: Verdana;
font-size: 23px;
color: #ffffff;
text-align: center;
}
.explore {
text-align: center;
margin-top: 10px;
}
.explore .btn-lg,
.explore .btn-lg:hover {
border-radius: 30px;
padding: 15px 25px;
font-size: 22px;
background-image: none;
background-color: #FF4000;
border-color: #FF4000;
color: #ffffff;
}
.btn,
.btn:hover {
border-radius: 0px;
background-image: none;
background-color: #FF4000;
border-color: #FF4000;
color: #ffffff;
margin-bottom: 20px;
box-shadow: none;
outline: none;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
color: #ffffff;
outline: none;
}