Spaces:
Sleeping
Sleeping
/* General Reset */ | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: Arial, sans-serif; | |
line-height: 1.6; | |
background-color: #f8fcf9; | |
color: #333; | |
} | |
header { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
padding: 10px 20px; | |
background-color: #edf7f1; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |
} | |
header .logo { | |
font-size: 1.5rem; | |
font-weight: bold; | |
font-family: 'Georgia', serif; | |
} | |
nav a { | |
margin: 0 10px; | |
text-decoration: none; | |
color: #838383; | |
font-weight: bold; | |
} | |
nav a:hover { | |
color: #007a5e; | |
} | |
main { | |
padding: 20px; | |
text-align: center; | |
} | |
.greeting h1 { | |
font-size: 2rem; | |
margin-left: 10px; | |
margin-right: 10px; | |
margin-bottom: 10px; | |
text-align: left; | |
} | |
.greeting p { | |
font-size: 1.2rem; | |
margin-left: 11px; | |
margin-right: 11px; | |
margin-bottom: 20px; | |
text-align: left; | |
color: #838383; | |
} | |
.highlight { | |
color: #007a5e; | |
font-weight: bold; | |
} | |
.translator { | |
display: flex; | |
justify-content: left; | |
flex-wrap: wrap; | |
margin-top: 30px; | |
margin-left: 13px; | |
margin-right: 13px; | |
} | |
.input-box { | |
width: 45%; | |
resize: none; | |
} | |
.output-box { | |
width: 45%; | |
resize: none; | |
margin-left: 25px; | |
} | |
textarea { | |
width: 100%; | |
height: 150px; | |
padding: 10px; | |
font-size: 1rem; | |
border: 1px solid #ccc; | |
border-radius: 8px; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | |
} | |
textarea:focus { | |
outline: none; | |
border-color: #007a5e; | |
} | |
.buttons { | |
display: flex; | |
flex-direction: row; | |
justify-content: right; | |
gap: 10px; | |
margin: 10px 0; | |
} | |
.btn { | |
padding: 10px 20px; | |
font-size: 1rem; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
.btn.clear { | |
background-color: #ff6b6b; | |
color: white; | |
width: 100px; | |
justify-content: center; | |
} | |
.btn.clear:hover { | |
background-color: #e54848; | |
} | |
.btn.translate { | |
background-color: #007a5e; | |
color: white; | |
width: 100px; | |
justify-content: center; | |
} | |
.btn.translate:hover { | |
background-color: #005a42; | |
} | |
.btn.copy { | |
background-color: #ffc107; | |
color: white; | |
} | |
.btn.copy:hover { | |
background-color: #e0a800; | |
} | |
footer { | |
margin-top: 35px; | |
padding: 10px 20px; | |
text-align: center; | |
font-size: 0.9rem; | |
color: #555; | |
} |