Spaces:
Sleeping
Sleeping
File size: 2,802 Bytes
fe98768 | 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 | /* General styling */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #121212;
color: #ffffff;
}
h1 {
color: #ffffff;
text-align: center;
margin-top: 20px;
font-size: 2.5em;
padding: 10px;
}
.container {
display: flex;
justify-content: space-between;
padding: 20px;
background-color: #1e1e1e;
margin: 20px auto;
max-width: 1200px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
border-radius: 8px;
}
.left-container, .right-container {
flex: 1;
margin: 10px;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
form {
display: flex;
flex-direction: column;
}
.input-container {
display: flex;
flex-direction: column;
margin-bottom: 20px;
}
.input-container input[type="text"],
.input-container input[type="file"] {
padding: 10px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
background-color: #2e2e2e;
color: #ffffff;
}
.input-container input[type="submit"],
.input-container button {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
margin-top: 10px;
}
.input-container input[type="submit"]:hover,
.input-container button:hover {
background-color: #0056b3;
}
#processing {
display: none;
color: #007bff;
font-size: 1.2em;
margin-top: 20px;
}
/* Summary and Transcription */
.response-box {
padding: 20px;
background-color: #2e2e2e;
border-radius: 8px;
margin-top: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
overflow-wrap: break-word;
}
.response-box h2 {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 0;
font-size: 1.5em;
color: #ffffff;
}
.response-box p {
margin: 10px 0 0;
font-size: 1em;
color: #b0b0b0;
}
#summary, #transcription {
margin-top: 10px;
}
.copy-btn {
background-color: #007bff;
color: #fff;
border: none;
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
font-size: 0.7em;
transition: background-color 0.3s ease;
}
.copy-btn:hover {
background-color: #0056b3;
}
/* Responsive styling */
@media (max-width: 768px) {
.container {
flex-direction: column;
align-items: center;
}
.left-container, .right-container {
width: 100%;
}
}
@media (max-width: 480px) {
h1 {
font-size: 2em;
}
.input-container input[type="text"],
.input-container input[type="file"],
.input-container input[type="submit"],
.input-container button {
width: 100%;
margin: 5px 0;
}
}
|