153 lines
2.5 KiB
CSS
153 lines
2.5 KiB
CSS
body {
|
|
background-color: #1E1E1E;
|
|
color: white;
|
|
font-family: Arial, sans-serif;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 20px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.lang-select-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 80%;
|
|
justify-content: left;
|
|
}
|
|
|
|
label {
|
|
font-size: 18px;
|
|
}
|
|
|
|
select {
|
|
padding: 5px;
|
|
font-size: 16px;
|
|
border-radius: 5px;
|
|
background-color: #2D2B5A;
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
textarea, pre {
|
|
width: 80%;
|
|
height: 150px;
|
|
background-color: #5E5E61;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
resize: none;
|
|
margin-top: 10px;
|
|
display: block;
|
|
}
|
|
|
|
textarea::placeholder {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-style: italic;
|
|
}
|
|
|
|
button {
|
|
background-color: #2D2B5A;
|
|
color: white;
|
|
font-size: 16px;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #3A3769;
|
|
}
|
|
|
|
pre {
|
|
width: 80%;
|
|
height: 150px;
|
|
background-color: #5E5E61;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
text-align: left;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: left;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
#aiHelpBtn {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
font-size: 16px;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#aiHelpBtn:disabled {
|
|
background-color: #cccccc;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
#aiHelpOutput {
|
|
width: 80%;
|
|
background-color: #5E5E61;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
text-align: left;
|
|
overflow-y: auto;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.translate-container {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 10px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#translateBtn {
|
|
background-color: #2D2B5A;
|
|
color: white;
|
|
font-size: 16px;
|
|
padding: 6px 20px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#translateOutput {
|
|
width: 80%;
|
|
background-color: #5E5E61;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
text-align: left;
|
|
overflow-y: auto;
|
|
margin-top: 10px;
|
|
}
|