YuriVM's picture
frontend for webapp. At the top left is a circular image of a cartoon prince standing confidently against a sky with clouds and balloons. In the center, there is a large, bold pink letter "A".
a515efb verified
Raw History Blame Contribute Delete
2.28 kB
/* Custom styles for Kids App */
body {
font-family: 'Comic Neue', 'Roboto', system-ui, -apple-system, sans-serif;
background-color: #87CEEB; /* Light blue background */
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.app-container {
width: 90%;
max-width: 500px;
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
padding: 2rem;
}
.prince-image {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 4px solid white;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
align-self: flex-start;
}
.letter-a {
font-size: clamp(120px, 20vw, 200px);
color: #FF69B4; /* Pink color */
font-weight: bold;
text-shadow: 4px 4px 0 rgba(0,0,0,0.1);
margin: 1rem 0;
}
.buttons-container {
display: flex;
justify-content: space-between;
width: 100%;
max-width: 400px;
gap: 1rem;
}
.action-button {
width: 80px;
height: 80px;
border-radius: 50%;
background: white;
display: flex;
align-items: center;
justify-content: center;
border: none;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
cursor: pointer;
transition: transform 0.2s;
}
.action-button:hover {
transform: scale(1.1);
}
.action-button img {
width: 40px;
height: 40px;
}
@media (max-width: 500px) {
.app-container {
padding: 1rem;
}
.prince-image {
width: 100px;
height: 100px;
}
.letter-a {
font-size: 100px;
}
.action-button {
width: 70px;
height: 70px;
}
}
.flex-btn.active {
background-color: #818cf8;
color: white;
}
#previewContent {
transition: all 0.3s ease;
}
/* Android-like shadows */
.shadow-android {
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.shadow-android-lg {
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
/* Custom scrollbar for code output */
pre::-webkit-scrollbar {
height: 8px;
}
pre::-webkit-scrollbar-track {
background: #1a1a1a;
border-radius: 4px;
}
pre::-webkit-scrollbar-thumb {
background: #4f46e5;
border-radius: 4px;
}