This repository has been archived on 2023-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
freecodecamp-projects/7-quality-assurance/5-american-british-translator/public/style.css

81 lines
957 B
CSS

code {
background: #d0d0d5;
}
.container {
display: flex;
flex-direction: column;
}
.form-container {
max-width: 95%;
}
textarea {
width: 100%;
}
#user-stories {
font-size: 1.2em;
}
#output-container,
#solution-container,
#text-input,
#locale-select,
input[type="button"] {
font-size: 1.1em;
}
#output-container {
width: 80%;
display: flex;
flex-direction: column;
}
#solution-container {
font-weight: bold;
}
#solution-container {
margin-left: 20px;
}
#translated-sentence {
margin-top: 10px;
font-weight: normal;
}
#error-msg {
font-weight: normal;
color: red;
}
.highlight {
color: green;
}
#text-input {
padding: 10px;
}
@media (min-width: 800px) {
.container {
flex-direction: row;
}
.form-container {
align-self: flex-end;
}
#output-container {
flex-direction: row;
margin-top: 0;
margin-left: 20px;
}
#solution-container {
width: 75%;
margin-top: 0;
}
}