react_ai_public/src/App.css
2023-07-14 00:04:10 +02:00

80 lines
1.3 KiB
CSS

html, body {
height: 100%;
margin: 0;
}
/* Apply to the body element */
body {
font-family: Arial, sans-serif;
background: linear-gradient(to bottom, #1a1a1a, #2b2b2b);
color: #ccc;
line-height: 1.5;
margin: 0;
padding: 0;
}
/* Apply to all headings */
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 1rem;
font-weight: bold;
color:rgb(235, 225, 225)
}
/* Apply to all text inputs */
input, textarea {
font-family: "Roboto Mono", monospace;
background-color: #ccc;
font-size: 18px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
margin-right: 10px;
margin-bottom: 10px;
resize: none;
}
/* Apply to all buttons */
button {
font-size: 18px;
font-weight: bold;
color: #fff;
background-color: #007bff;
border: none;
border-radius: 4px;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
}
button:hover {
background-color: #0062cc;
}
button[disabled] {
opacity: 50%;
background-color: grey;
}
button[disabled]:hover {
opacity: 50%;
background-color: grey;
}
/* Apply to all paragraphs */
p {
margin-top: 1rem;
width: 80%;
word-wrap: break-word;
text-align: center;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}