-
Notifications
You must be signed in to change notification settings - Fork 0
/
disaster.css
157 lines (137 loc) · 3.05 KB
/
disaster.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
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
/* Body Styling */
body {
background-color: #f4f4f9;
color: #333;
line-height: 1.6;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Header Styling */
.header {
background-color: #004085;
color: #fff;
padding: 20px;
display: flex;
justify-content: space-between; /* Align items to the sides */
align-items: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.header-content {
display: flex;
flex: 1; /* Ensure it takes up available space */
justify-content: center; /* Center the title */
align-items: center;
}
.header-content h1 {
margin: 0;
font-size: 1.8em;
letter-spacing: 1px;
text-align:center;
}
.header .btn-primary {
margin-left: auto; /* Align the button to the right */
}
/* Updated Button Styling */
.btn-primary {
padding: 10px 25px;
background-color: #0069d9;
color: #fff;
text-decoration: none;
border-radius: 25px;
border: none;
font-weight: bold;
font-size: 1em;
transition: all 0.3s ease-in-out;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
cursor: pointer;
}
.btn-primary:hover {
background-color: #0056b3;
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.btn-primary:active {
transform: translateY(1px);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
.container {
flex: 1;
padding: 20px;
max-width: 1200px;
margin: 20px auto;
}
.form-section {
background: #fff;
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Extend form width */
form {
display: flex;
flex-direction: column;
gap: 20px;
width: 500px; /* Extend the form width */
margin: 0 auto; /* Centers the form */
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
font-weight: bold;
margin-bottom: 5px;
display: block;
}
.form-group input,
.form-group textarea,
.form-group select {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
width: 100%;
}
.location-group {
position: relative;
}
.location-wrapper {
position: relative;
}
.location-wrapper input {
padding-right: 50px; /* Adjust based on icon size */
}
.location-icon {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
font-size: 1.2em;
cursor: pointer;
}
/* Form Actions Styling */
.form-actions {
display: flex;
justify-content: center; /* Center the submit button */
}
/* Optional Styling for Buttons */
.btn-secondary {
background-color: #28a745;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}