Migrated to the new go-web-dev-kit setup.
This commit is contained in:
parent
8d70b57299
commit
71ee505717
20 changed files with 193 additions and 810 deletions
|
|
@ -2,7 +2,7 @@
|
|||
@import "./theme.css" layer(theme);
|
||||
|
||||
body {
|
||||
@apply bg-gray-100 text-gray-950 dark:text-gray-50 dark:bg-gray-950;
|
||||
@apply text-gray-950 dark:text-gray-50;
|
||||
}
|
||||
|
||||
main {
|
||||
|
|
@ -10,7 +10,15 @@ main {
|
|||
}
|
||||
|
||||
header {
|
||||
@apply flex justify-stretch;
|
||||
@apply flex flex-col justify-stretch;
|
||||
}
|
||||
|
||||
footer {
|
||||
@apply bg-gray-950 text-gray-50 text-lg flex p-1;
|
||||
}
|
||||
|
||||
@utility sticky-bottom {
|
||||
@apply w-full sticky bottom-0 left-0;
|
||||
}
|
||||
|
||||
nav {
|
||||
|
|
@ -34,13 +42,6 @@ pre > code {
|
|||
@apply !bg-gray-950 p-1;
|
||||
}
|
||||
|
||||
footer {
|
||||
@apply bg-gray-950 text-gray-50 text-lg flex p-6;
|
||||
}
|
||||
|
||||
@utility sticky-bottom {
|
||||
@apply w-full sticky bottom-0 left-0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@apply text-6xl mb-2 mt-4;
|
||||
|
|
|
|||
|
|
@ -638,11 +638,7 @@
|
|||
}
|
||||
@layer theme;
|
||||
body {
|
||||
background-color: var(--color-gray-100);
|
||||
color: var(--color-gray-950);
|
||||
@media (prefers-color-scheme: dark) {
|
||||
background-color: var(--color-gray-950);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
color: var(--color-gray-50);
|
||||
}
|
||||
|
|
@ -664,8 +660,17 @@ main {
|
|||
}
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: stretch;
|
||||
}
|
||||
footer {
|
||||
display: flex;
|
||||
background-color: var(--color-gray-950);
|
||||
padding: calc(var(--spacing) * 1);
|
||||
font-size: var(--text-lg);
|
||||
line-height: var(--tw-leading, var(--text-lg--line-height));
|
||||
color: var(--color-gray-50);
|
||||
}
|
||||
nav {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
|
@ -708,14 +713,6 @@ pre > code {
|
|||
background-color: var(--color-gray-950) !important;
|
||||
padding: calc(var(--spacing) * 1);
|
||||
}
|
||||
footer {
|
||||
display: flex;
|
||||
background-color: var(--color-gray-950);
|
||||
padding: calc(var(--spacing) * 6);
|
||||
font-size: var(--text-lg);
|
||||
line-height: var(--tw-leading, var(--text-lg--line-height));
|
||||
color: var(--color-gray-50);
|
||||
}
|
||||
h1 {
|
||||
margin-top: calc(var(--spacing) * 4);
|
||||
margin-bottom: calc(var(--spacing) * 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue