ML6-UniKP / static /styles.css
Topallaj Denis
modified css, docs link
52c3d5f
body {
font-family: Arial, sans-serif;
background-color: #f8f8f8;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
h1 {
color: #333;
text-align: center;
}
form {
margin: 20px auto;
width: 50%;
text-align: center;
}
label {
display: block;
margin-bottom: 5px;
}
textarea {
width: 80%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="submit"] {
background-color: #4caf50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #45a049;
}
#predictionResults {
margin: 20px auto;
width: 50%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.hidden {
display: none;
}
.box {
margin: 20px auto;
width: 50%;
background-color: #f9f9f9;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.box h2 {
color: #333;
margin-bottom: 10px;
}
.box li {
margin-bottom: 5px;
}
.box li::marker {
content: attr(data-emoji);
font-size: 1.5em;
}
a {
color: #333;
}
a:hover {
text-decoration: underline;
color: lightgray;
}
.devicon {
width: 50px;
height: 50px;
margin-right: 5px;
}
.loader {
border: 16px solid lightgray;
border-top: 16px solid lightgreen;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}