This commit is contained in:
Rüdiger Diedrich
2022-07-21 18:42:42 +02:00
parent 7035fe5b2d
commit de9afd2907
8 changed files with 191 additions and 24 deletions

View File

@ -4,6 +4,28 @@
/* This file is for your main application CSS */
body {
@apply bg-neutral text-[14pt];
}
.post {
@apply bg-base-200 shadow-md rounded;
@apply flex mb-4 p-4 py-3 gap-4;
}
.post .bbc-block {
@apply bg-base-300 p-4 py-2 border-l-2 border-secondary rounded w-full;
}
.post .bbc-block h4 {
@apply text-sm mb-2;
}
.post .bbc-spoiler { @apply bg-black; }
.post .bbc-spoiler img { @apply invisible; }
.post .bbc-spoiler:hover img { @apply visible; }
.post iframe {
@apply w-full;
}
/* Alerts and form errors used by phx.new */
.alert {
padding: 15px;
@ -121,4 +143,3 @@
0% { opacity: 1; }
100% { opacity: 0; }
}