-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
130 lines (115 loc) · 2.04 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
#url-input {
display: none;
}
#image-container {
text-align: center;
max-width: 80%;
margin: 0 auto 20px;
padding: 10px;
box-sizing: border-box;
display: none;
}
#displayed-image {
max-width: 100%;
height: auto;
border: 5px solid #ffffff;
border-radius: 10px;
}
#form-container {
max-width: 400px;
margin: 20px auto;
text-align: center;
position: relative;
}
#text-input {
width: calc(70% - 20px);
padding: 10px;
font-size: 16px;
border: 2px solid #ccc;
border-radius: 20px;
color: white;
background-color: #555;
text-align: left;
box-sizing: border-box;
}
#text-input::placeholder {
color: #999;
font-style: italic;
}
#submit-button {
width: 32%;
padding: 10px;
font-size: 16px;
border: none;
background-color: black;
color: white;
cursor: pointer;
border-radius: 20px;
margin-left: 1px;
}
#custom-options {
display: none;
margin-top: 10px;
}
.custom-input {
width: 50%;
padding: 10px;
font-size: 16px;
border: 2px solid #ccc;
border-radius: 20px;
color: white;
background-color: #555;
margin-bottom: 10px;
box-sizing: border-box;
}
#toggle-custom {
cursor: pointer;
color: white;
background-color: black;
padding: 10px;
border-radius: 20px;
margin-top: 10px;
display: inline-block;
}
/* Spinner styles */
#loading-spinner {
display: none;
border: 6px solid #f3f3f3;
border-top: 6px solid #555;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 20px auto;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
body {
background-image: url("https://i.imgur.com/imME9IT.png");
background-size: cover;
font-family: Arial, sans-serif;
color: white;
text-align: left;
padding: 20px;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#previous-prompts {
list-style: none;
}
.previous-prompt {
text-decoration: underline;
border: none;
background: transparent;
color: #fff;
cursor: pointer;
}