forked from Hachi-R/specai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
101 lines (101 loc) · 2.09 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
#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.pinimg.com/originals/93/2d/f1/932df101bb5e217beb4aa0532e138c99.gif');
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;
}