Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (101 loc) · 2.33 KB
/
Copy pathstyle.css
File metadata and controls
119 lines (101 loc) · 2.33 KB
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
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: rgb(234, 133, 17);
}
header {
background-color: #0adee2;
color: white;
padding: 20px 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
transition: color 0.3s;
}
nav ul li a:hover {
color: #ff6347; /* Change color on hover */
}
.hero {
position: relative;
text-align: center;
color: white;
padding: 20px;
}
.tourism-img {
width: 300px; /* Set a fixed width for the image */
height: auto; /* Maintain aspect ratio */
margin: 0 auto; /* Center the image */
display: block; /* Centering the image */
margin-bottom: 20px; /* Space below the image */
}
.hero-text {
position: relative;
z-index: 1; /* Ensure text is above the image */
}
.cta-button {
display: inline-block;
padding: 10px 20px;
background-color: #ff6347;
color: white;
text-decoration: none;
border-radius: 5px;
margin-top: 20px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #e55336; /* Darker shade on hover */
}
main {
padding: 20px;
}
section {
margin: 40px 0;
padding: 20px;
background-color: rgba(255, 255, 255, 0.8); /* White background with transparency */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}
h2 {
color: #333; /* Darker color for section headings */
}
footer {
text-align: center;
padding: 10px;
background-color: #333;
color: white;
position: relative;
bottom: 0;
width: 100%;
}
/*css for write-journal.html*/
textarea {
width: 100%; /* Make textarea responsive */
padding: 10px;
font-size: 16px;
border-radius: 5px;
border: 1px solid #ccc;
}
textarea:focus {
border-color: #ff6347; /* Change border color on focus */
outline: none; /* Remove outline */
}