baby-tracker/src/styles/app.css

108 lines
1.6 KiB
CSS
Raw Normal View History

2024-01-24 11:46:09 +00:00
:root {
--c-primary: darkorange; /* Replace #yourColor with your desired color */
}
body {
background-color: #f2f0ef;
2024-01-24 11:46:09 +00:00
}
a,
input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
2024-01-24 11:46:09 +00:00
select:focus,
textarea:focus {
color: var(--c-primary);
2024-01-24 11:46:09 +00:00
}
button,
input[type='submit'] {
background-color: var(--color);
border-color: var(--color);
}
nav ul {
list-style: circle inside;
display: flex;
list-style: none;
gap: 1em;
justify-content: end;
}
nav ul li {
font-size: 2rem;
}
header {
padding-top: 2rem;
}
/* aside {
position: relative;
padding-top: 1rem;
display: block;
} */
/* aside::after {
content: "";
width: 100vw;
height: 50px;
position: fixed;
left: 0;
outline: 1px solid #ccc;
background-color: #eee;
z-index: -1;
} */
aside button {
margin-top: 1rem;
border-radius: 999px;
}
section {
margin-top: 4rem;
}
2024-01-24 22:54:13 +00:00
/* https://coolors.co/palette/5f0f40-9a031e-fb8b24-e36414-0f4c5c */
[class*='--food'] {
--color: #136f63;
}
[class*='--poop'] {
--color: #78290f;
}
[class*='--asleep'] {
--color: #032b43;
}
[class*='--awake'] {
--color: #ffba08;
}
[class*='--diaper'] {
--color: #3f88c5;
}
/* d00000 ff7d00 */
.badge {
background-color: var(--color);
display: inline-block;
padding: 0.35em .75em .25em .75em;
color: rgba(255, 255, 255, 0.75);
font-weight: 700;
text-transform: uppercase;
border-radius: 0.25rem;
font-size: 1rem;
line-height: 1;
min-width: 10ch;
text-align: center;
}
.counters {
position: fixed;
right: 0;
width: max-content;
outline: 1px solid #ccc;
background-color: #eee;
padding: 2rem;
border-radius: 2rem 0 0 2rem;
}