Skip to content

Commit 065735d

Browse files
Merge pull request #823 from NITHISHKUMAR0107-M/patch-9
Created new style.css
2 parents e7dce9c + bfa092c commit 065735d

File tree

1 file changed

+199
-0
lines changed

1 file changed

+199
-0
lines changed

tourist website template/style.css

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
/* General body styles */
2+
body {
3+
font-family: 'Poppins', sans-serif;
4+
background-color: #f8f9fa;
5+
margin: 0;
6+
padding: 0;
7+
}
8+
9+
h3, h4, h1, h2 {
10+
font-weight: bold;
11+
}
12+
13+
.navbar {
14+
padding: 0.8rem 1.5rem;
15+
letter-spacing: 1px;
16+
}
17+
18+
.navbar-brand {
19+
font-size: 1.8rem;
20+
letter-spacing: 2px;
21+
margin-left: 0.5rem;
22+
}
23+
24+
.navbar-nav .nav-link {
25+
font-size: 1.1rem;
26+
margin-right: 1rem;
27+
transition: color 0.3s;
28+
}
29+
30+
.navbar-nav .nav-link:hover {
31+
color: #f8d210;
32+
}
33+
34+
.navbar-dark .navbar-toggler {
35+
border: none;
36+
}
37+
38+
/* Header/Intro Section */
39+
header {
40+
position: relative;
41+
background-color: rgba(0, 0, 0, 0.8);
42+
color: white;
43+
height: 100vh;
44+
background-size: cover;
45+
background-position: center;
46+
background-blend-mode: multiply;
47+
}
48+
49+
header .overlay {
50+
background: rgba(0, 0, 0, 0.6);
51+
position: absolute;
52+
top: 0;
53+
left: 0;
54+
right: 0;
55+
bottom: 0;
56+
}
57+
58+
header h1 {
59+
font-size: 4rem;
60+
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
61+
}
62+
63+
header p {
64+
font-size: 1.2rem;
65+
margin-bottom: 2rem;
66+
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
67+
}
68+
69+
header .btn {
70+
background-color: #f8d210;
71+
color: #000;
72+
transition: background-color 0.3s, color 0.3s;
73+
}
74+
75+
header .btn:hover {
76+
background-color: #fff;
77+
color: #000;
78+
}
79+
80+
/* Pricing Section */
81+
.pricing-header {
82+
background-color: #343a40; /* Dark background to contrast with text */
83+
color: #f8f9fa; /* Light text for contrast */
84+
padding: 3rem 0; /* Increase padding for better spacing */
85+
border-radius: 8px; /* Slight rounded corners for a smooth look */
86+
margin-bottom: 2rem; /* Adds spacing between the section and the next */
87+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow effect */
88+
}
89+
90+
.pricing-header h2 {
91+
font-size: 3rem; /* Large heading to stand out */
92+
letter-spacing: 1px; /* Slight letter spacing for better readability */
93+
font-weight: bold; /* Makes the header more prominent */
94+
}
95+
96+
.text-center {
97+
text-align: center; /* Ensures text is centered */
98+
}
99+
100+
.py-3 {
101+
padding-top: 1rem; /* Custom padding top */
102+
padding-bottom: 1rem; /* Custom padding bottom */
103+
}
104+
105+
106+
.card {
107+
border-radius: 10px;
108+
overflow: hidden;
109+
transition: box-shadow 0.3s ease-in-out;
110+
}
111+
112+
.card:hover {
113+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
114+
}
115+
116+
.card-header {
117+
background-color: #333;
118+
color: white;
119+
text-align: center;
120+
}
121+
122+
.card-body ul {
123+
font-size: 1.1rem;
124+
}
125+
126+
.card-title {
127+
color: #f8d210;
128+
}
129+
130+
.card .btn {
131+
background-color: #f8d210;
132+
color: #000;
133+
border: none;
134+
}
135+
136+
.card .btn:hover {
137+
background-color: #fff;
138+
color: #000;
139+
}
140+
141+
/* Checkout Section */
142+
.checkout {
143+
background-color: #2d2d2d;
144+
padding: 3rem 0;
145+
}
146+
147+
.checkout h2 {
148+
color: #f8d210;
149+
text-align: center;
150+
margin-bottom: 3rem;
151+
}
152+
153+
.checkout .form-control {
154+
border: 1px solid #ccc;
155+
border-radius: 5px;
156+
padding: 10px;
157+
font-size: 1rem;
158+
}
159+
160+
.checkout .form-control:focus {
161+
box-shadow: 0 0 5px rgba(248, 210, 16, 0.6);
162+
border-color: #f8d210;
163+
}
164+
165+
.checkout .custom-select {
166+
background-color: #f8d210;
167+
color: #333;
168+
border: none;
169+
font-size: 1rem;
170+
}
171+
172+
.custom-control-input:checked ~ .custom-control-label::before {
173+
background-color: #f8d210;
174+
border-color: #f8d210;
175+
}
176+
177+
.checkout .btn-outline-primary {
178+
border-color: #f8d210;
179+
color: #f8d210;
180+
transition: background-color 0.3s ease;
181+
}
182+
183+
.checkout .btn-outline-primary:hover {
184+
background-color: #f8d210;
185+
color: #000;
186+
}
187+
188+
/* Footer */
189+
footer {
190+
background-color: #000;
191+
color: white;
192+
padding: 1rem 0;
193+
text-align: center;
194+
}
195+
196+
footer p {
197+
margin: 0;
198+
font-size: 1rem;
199+
}

0 commit comments

Comments
 (0)