-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles2.css
176 lines (145 loc) · 3.28 KB
/
styles2.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
/* Global styles for the home page */
body {
margin: 0;
font-family: Arial, sans-serif;
background: linear-gradient(to right, #ffb6c1, #e84393);
color: #000; /* Black text color */
}
.header-container {
background-color: rgba(255, 255, 255, 0);
padding: 10px 20px;
position: relative;
z-index: 1000;
border-bottom: 1px solid #000;
}
.header-container nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
max-width: 80px; /* Adjusted logo size */
height: auto;
}
nav ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}
nav ul li {
margin: 0 10px; /* Adjusted spacing between navigation items */
}
nav ul li a {
text-decoration: none;
color: #000000;
font-weight: bold;
font-size: 1.0em; /* Adjusted font size for navigation links */
}
/* Main content styles */
.main-content {
display: flex;
justify-content: center;
align-items: flex-start; /* Align items at the top */
min-height: calc(100vh - 60px); /* Adjust height to account for header */
padding: 20px;
}
.image-container {
padding: 20px;
}
.image-container img {
max-width: 80%;
height: auto;
/* Remove box shadow and any other effects */
}
.pop-out-box {
background-color: rgba(241, 164, 185, 0.9); /* White background with slight opacity */
border-radius: 10px;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Pop-out shadow effect */
padding: 20px;
max-width: 40%; /* Adjusted width */
width: 100%;
}
.pop-out-box h2 {
font-size: 1.5em;
margin-bottom: 10px;
}
.horizontal-form {
display: flex;
flex-direction: column; /* Stack elements vertically */
}
.form-group {
margin-bottom: 10px;
}
.symptom-question {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.symptom-question input[type="checkbox"] {
margin-right: 10px;
}
.form-group button {
padding: 10px 20px;
font-size: 1em;
}
/* Separate footer box styles */
.footer-container {
background-color: rgba(255, 255, 255, 0.1);
padding: 20px;
text-align: center;
align-self: center; /* Center horizontally */
margin-top: auto; /* Push to the bottom */
}
.footer-content {
max-width: 600px;
margin: 0 auto;
}
.footer-content p {
margin-bottom: 10px;
}
.footer-content input[type="file"] {
margin-bottom: 10px;
}
/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
.main-content {
padding: 20px 10px; /* Adjust padding for medium screens */
}
.pop-out-box {
max-width: 60%; /* Wider width on medium screens */
}
}
@media (max-width: 768px) {
.main-content {
flex-direction: column;
align-items: center; /* Center items vertically */
}
.pop-out-box {
max-width: 80%; /* Increase width for smaller screens */
}
.horizontal-form {
flex-direction: column;
}
.form-group {
width: 100%;
}
.form-group button {
width: 100%;
}
}
@media (max-width: 480px) {
.pop-out-box {
max-width: 90%; /* Further increase width on very small screens */
}
.pop-out-box h2 {
font-size: 1.2em; /* Smaller font size for headings */
}
.form-group button {
padding: 12px 24px; /* Increase button padding for better touch interaction */
font-size: 0.9em; /* Slightly smaller font size for buttons */
}
.footer-container {
padding: 15px;
}
}