TTS2 / style.css
Moustafa1111111111
Add all application files and TTS submodule
7651129
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f7f6;
margin: 40px;
display: flex;
flex-direction: column;
align-items: center;
color: #333;
}
h1 {
color: #2c3e50;
margin-bottom: 30px;
text-align: center;
font-size: 2.5em;
}
textarea {
padding: 15px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 1em;
margin-bottom: 20px;
width: 80%;
max-width: 600px;
box-sizing: border-box;
resize: vertical; /* Allows vertical resizing */
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
button {
background-color: #3498db;
color: white;
padding: 12px 25px;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 1.1em;
transition: background-color 0.3s ease;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}
button:hover {
background-color: #2980b9;
}
#status {
margin-top: 20px;
font-weight: bold;
color: #27ae60; /* Green for success, you can change for errors */
}
#audioOutput {
margin-top: 30px;
text-align: center;
}
#downloadLink {
display: inline-block;
background-color: #2ecc71;
color: white;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
font-size: 1em;
transition: background-color 0.3s ease;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}
#downloadLink:hover {
background-color: #27ae60;
}
#audioPlayer {
margin-top: 10px;
}