use icons

This commit is contained in:
2022-07-06 15:41:23 +02:00
parent 5dcaeeca69
commit 8ad54eda1c
3 changed files with 38 additions and 25 deletions

View File

@ -4,6 +4,32 @@
/* This file is for your main application CSS */
/*
Layout
*/
body {
@apply font-sans;
}
#root {
margin: 0 auto;
display: grid;
grid-template-columns: 1fr min(1440px,100%) 1fr;
}
#root > * {
grid-column: 2;
}
.color-box {
@apply block w-8 h-8 m-1;
}
i.icon svg { @apply inline; }
h2 > i.icon svg { @apply w-6 h-6 stroke-2; }
/* Alerts and form errors used by phx.new */
.alert {
@apply rounded;
@ -111,26 +137,3 @@
0% { opacity: 1; }
100% { opacity: 0; }
}
/*
Layout
*/
body {
@apply font-sans;
}
#root {
margin: 0 auto;
display: grid;
grid-template-columns: 1fr min(1440px,100%) 1fr;
}
#root > * {
grid-column: 2;
}
.color-box {
@apply block w-8 h-8 m-1;
}