-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
158 lines (131 loc) · 3.42 KB
/
styles.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
/* About Page Specific Styles */
body {
background: linear-gradient(to right, #ffb6c1, #e84393);
font-family: Arial, sans-serif; /* Example font-family */
margin: 0;
padding: 0;
}
.header-container {
background-color: rgba(234, 91, 144, 0.1);
padding: 10px 20px;
position: relative;
z-index: 1000;
border-bottom: 1px solid #000; /* Maintain border style */
}
.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 */
}
.hero {
display: flex;
justify-content: space-between;
align-items: flex-start;
background-color: rgba(255, 255, 255, 0);
text-align: left;
padding: 50px 20px;
position: relative;
flex-wrap: wrap; /* Ensure wrapping on smaller screens */
}
.text-container {
max-width: 50%; /* Adjusted to allow more space for the image */
box-sizing: border-box;
}
.hero-title {
font-size: 2em; /* Increased font size for hero title */
font-weight: bold; /* Added bold font weight */
color: hsl(331, 98%, 35%);
}
.result-container {
margin-top: 20px;
padding: 20px;
background-color: rgba(0, 0, 0, 0.2); /* Light black background */
max-width: 400px; /* Adjust the maximum width as needed */
margin-left: 0; /* Align to the left */
color: #0d0d0d; /* Text color changed to white */
}
.hero-image {
width: 50%; /* Make the image fill its container */
height: auto; /* Maintain aspect ratio */
margin-top: 50px; /* Increased margin to move the image lower */
}
.predict-box {
background-color: rgba(0, 0, 0, 0.8); /* Darker background for predict box */
color: #fff; /* Text color changed to white */
padding: 20px;
margin-bottom: 20px;
}
.form-group {
margin-bottom: 10px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input {
width: calc(50% - 16px); /* Adjusted width for input fields */
padding: 8px;
font-size: 0.9em; /* Reduced font size for input fields */
}
.form-group button {
padding: 8px 16px; /* Adjusted button padding */
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
.text-container {
max-width: 100%; /* Full width on smaller screens */
margin-bottom: 20px; /* Space between text and image */
}
.hero {
flex-direction: column; /* Stack elements vertically */
align-items: center;
text-align: center;
}
.hero-title {
font-size: 2em; /* Adjust font size for smaller screens */
}
.hero-image {
width: 100%; /* Full width image on smaller screens */
margin-top: 20px; /* Add top margin */
}
.form-group input {
width: 100%; /* Full width inputs on smaller screens */
}
.predict-box {
padding: 15px; /* Adjust padding on smaller screens */
}
}
@media (max-width: 480px) {
.hero-title {
font-size: 1.5em; /* Further adjust font size for smaller screens */
}
nav ul li {
margin: 0 5px; /* Reduce spacing between navigation items */
}
nav ul li a {
font-size: 0.8em; /* Reduce font size for navigation links */
}
.hero-image {
width: 100%; /* Full width image on very small screens */
margin: 10px 0; /* Adjust margins */
}
}