-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
177 lines (149 loc) · 3.71 KB
/
style.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
177
/* Global styles for the entire page */
body {
font-family: 'Rubik', sans-serif; /* Use Rubik font */
margin: 0;
background-image: url('https://media.giphy.com/media/3osxYzuMvUJJcqzND2/giphy.gif');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height: 100vh;
align-items: center;
justify-content: center;
display: flex;
}
.container {
text-align: center;
}
/* Styling for the chat-like container */
.chat-container {
width: 90%; /* Adjust the width for responsive design */
max-width: 600px;
border-radius: 8px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
padding: 20px;
}
/* Styling for the icon above the heading */
.icon-container {
background-color: #192841;
color: #fff;
padding: 10px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
margin-top: 7px;
}
/* Styling for the icon */
.icon {
font-size: 24px;
}
/* Header of the chat container */
.chat-header {
background-color: #192841;
color: #fff;
padding: 10px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
/* Styling for the chat header h1 */
.chat-header h1 {
margin: 0;
}
/* Subheading in the chat header */
.subheading {
color: #ccc;
margin-top: 5px;
margin-bottom: 10px;
}
/* Body of the chat container */
.chat-body {
padding: 10px;
}
/* Short description style */
.description {
color: #333;
font-style: italic;
}
/* Styling for the form */
form {
display: flex;
flex-direction: column; /* Change to column to align items vertically */
}
/* Styling for form elements (labels and inputs) */
.form-group {
display: block;
align-items: center; /* Center-align items vertically */
/* margin-bottom: 10px; */
}
/* Styling for labels */
label {
font-size: larger;
font-weight: bolder;
color: #192841;
margin-right: 10px; /* Add margin to separate label and input */
}
/* Styling for input fields */
input {
padding: 5px;
border: 1px solid #ccc;
border-radius: 4px;
justify-content: center;
width: 100%; /* Adjust the width of the input field */
max-width: 400px;
/* margin-bottom: 10px; */
height: 35px;
}
textarea {
padding: 5px;
border: 1px solid #ccc;
border-radius: 4px;
width: 100%; /* Adjust the width of the input field */
max-width: 400px; /* Set a maximum width for the input field */
margin-top: 5px; /* Decrease the margin between input and textarea */
}
/* Styling for buttons to generate and reset ideas */
.form-buttons {
display: flex;
justify-content: center; /* Center-align the buttons horizontally */
margin-top: 20px; /* For responsive spacing */
gap: 10px;
}
#generateButton,
#resetButton {
color: #fff;
border: none;
border-radius: 4px;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
margin: 5px; /* For responsive spacing */
}
#resetButton {
background-color: #e94c17;
}
#resetButton:hover {
background-color: #8b0404;
}
#generateButton{
background-color: #4CAF50;
}
/* Hover effect for buttons */
#generateButton:hover
{
background-color: #067009;
}
/* Confirmation message style */
#confirmationMessage {
color: #4CAF50;
font-weight: bold;
margin-top: 10px;
}
/* Styling for form sections */
.section {
margin-bottom: 50px;
}
/* Media query for responsive design on smaller screens */
@media (max-width: 768px) {
.chat-container {
width: 95%; /* Adjust the width for smaller screens */
}
}