2024-01-24 11:46:09 +00:00
|
|
|
:root {
|
2024-01-24 22:13:00 +00:00
|
|
|
--c-primary: darkorange; /* Replace #yourColor with your desired color */
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-25 11:06:23 +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;
|
2024-01-24 11:46:09 +00:00
|
|
|
}
|
2024-01-25 11:06:23 +00:00
|
|
|
[class*='--diaper'] {
|
|
|
|
|
--color: #3f88c5;
|
|
|
|
|
}
|
|
|
|
|
/* d00000 ff7d00 */
|
|
|
|
|
|
2024-01-27 15:38:15 +00:00
|
|
|
body {
|
|
|
|
|
background-color: var(--c-bkg);
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-25 11:06:23 +00:00
|
|
|
html[data-theme='light'] body {
|
|
|
|
|
--c-border: #e9e9e9;
|
|
|
|
|
--c-toggle: #00464b;
|
2024-01-27 13:23:41 +00:00
|
|
|
--c-zebra: #ececec;
|
2024-01-27 15:38:15 +00:00
|
|
|
--c-bkg: #f2f0ef;
|
2024-01-25 11:06:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html[data-theme='dark'] body {
|
|
|
|
|
--c-border: #2b2b2b;
|
|
|
|
|
--c-toggle: #ffe600;
|
2024-01-27 13:23:41 +00:00
|
|
|
--c-zebra: #ececec11;
|
2024-01-27 15:38:15 +00:00
|
|
|
--c-bkg: #181818;
|
2024-01-25 11:06:23 +00:00
|
|
|
}
|
|
|
|
|
|
2024-01-24 11:46:09 +00:00
|
|
|
|
|
|
|
|
a,
|
2024-01-24 22:13:00 +00:00
|
|
|
input[type='text']:focus,
|
|
|
|
|
input[type='email']:focus,
|
|
|
|
|
input[type='password']:focus,
|
2024-01-24 11:46:09 +00:00
|
|
|
select:focus,
|
|
|
|
|
textarea:focus {
|
2024-01-24 22:13:00 +00:00
|
|
|
color: var(--c-primary);
|
2024-01-24 11:46:09 +00:00
|
|
|
}
|
|
|
|
|
|
2024-01-27 13:23:41 +00:00
|
|
|
button,
|
|
|
|
|
input[type='submit'] {
|
|
|
|
|
--color: var(--c-primary);
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-24 11:46:09 +00:00
|
|
|
button,
|
2024-01-24 22:13:00 +00:00
|
|
|
input[type='submit'] {
|
|
|
|
|
background-color: var(--color);
|
|
|
|
|
border-color: var(--color);
|
2024-01-25 11:06:23 +00:00
|
|
|
transition: all .2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
transition: all .2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
svg path {
|
|
|
|
|
transition: all .2s ease-in-out;
|
2024-01-24 16:43:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nav ul {
|
2024-01-24 22:13:00 +00:00
|
|
|
list-style: circle inside;
|
|
|
|
|
display: flex;
|
|
|
|
|
list-style: none;
|
|
|
|
|
gap: 1em;
|
|
|
|
|
justify-content: end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nav ul li {
|
|
|
|
|
font-size: 2rem;
|
2024-01-25 11:06:23 +00:00
|
|
|
display: flex;
|
|
|
|
|
list-style: none;
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-24 16:43:18 +00:00
|
|
|
header {
|
2024-01-27 15:38:15 +00:00
|
|
|
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: 0;
|
|
|
|
|
background: var(--c-bkg);
|
|
|
|
|
z-index: 1;
|
|
|
|
|
margin: 0 -2rem;
|
|
|
|
|
padding: 2rem 2rem 0 2rem;
|
2024-01-24 22:13:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 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;
|
2024-01-24 16:43:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section {
|
2024-01-24 22:13:00 +00:00
|
|
|
margin-top: 4rem;
|
2024-01-25 11:06:23 +00:00
|
|
|
position: relative;
|
2024-01-24 22:13:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-25 11:06:23 +00:00
|
|
|
|
|
|
|
|
|
2024-01-24 22:13:00 +00:00
|
|
|
.counters {
|
2024-01-25 11:06:23 +00:00
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
2024-01-24 22:13:00 +00:00
|
|
|
width: max-content;
|
2024-01-25 11:06:23 +00:00
|
|
|
outline: 1px solid var(--c-border);
|
|
|
|
|
background-color: var(--c-border);
|
2024-01-24 22:13:00 +00:00
|
|
|
padding: 2rem;
|
2024-01-25 11:06:23 +00:00
|
|
|
border-radius: 2rem;
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
|
.counters {
|
|
|
|
|
margin-right: -2rem;
|
|
|
|
|
border-radius: 2rem 0 0 2rem;
|
|
|
|
|
}
|
2024-01-27 13:23:41 +00:00
|
|
|
}
|
|
|
|
|
|
2024-01-27 15:38:15 +00:00
|
|
|
@media screen and (max-width: 500px) {
|
2024-01-27 13:23:41 +00:00
|
|
|
.counters {
|
|
|
|
|
margin-right: -2rem;
|
|
|
|
|
border-radius: 2rem 0 0 2rem;
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 2rem;
|
|
|
|
|
top:auto;
|
|
|
|
|
}
|
2024-01-24 22:13:00 +00:00
|
|
|
}
|