Spaces:
Running
Running
File size: 1,673 Bytes
3294330 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
/* Mobile-first responsive design */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
header {
background-color: #007bff;
color: white;
padding: 1rem;
text-align: center;
}
.header-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.anycoder-link {
color: #fff;
text-decoration: underline;
}
.top-graphic img {
max-width: 100%;
height: auto;
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}
section {
margin-bottom: 2rem;
background: white;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1, h2, h3 {
margin-top: 0;
}
form {
display: flex;
flex-direction: column;
}
textarea {
height: 100px;
margin-bottom: 1rem;
padding: 0.5rem;
}
button {
padding: 0.75rem;
background-color: #28a745;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #218838;
}
#output {
margin-top: 1rem;
}
pre {
background: #f8f8f8;
padding: 1rem;
border-radius: 4px;
overflow-x: auto;
}
footer {
text-align: center;
padding: 1rem;
background-color: #333;
color: white;
}
/* Responsive adjustments */
@media (min-width: 768px) {
.header-content {
flex-direction: row;
justify-content: space-between;
}
form {
flex-direction: row;
align-items: flex-end;
}
textarea {
flex: 1;
margin-right: 1rem;
margin-bottom: 0;
}
} |