WowPress-Tailwind/tailwind/custom/components/widgets.css

61 lines
907 B
CSS
Raw Permalink Normal View History

2024-04-15 16:00:49 +02:00
.widget-wrapper {
display: flex;
flex-direction: column;
gap: var(--wowp-gap);
}
.top-widgets {
order: 1;
grid-area: 1 / 2 / 2 / 3;
}
.top-title {
order: 1;
grid-area: 1 / 2 / 2 / 3;
2024-04-16 15:25:22 +02:00
margin-bottom: var(--wowp-gap);
2024-04-15 16:00:49 +02:00
}
.content {
order: 3;
grid-area: 2 / 2 / 4 / 3;
}
#main {
display: flex;
flex-direction: column;
gap: var(--wowp-gap);
}
.left-widgets {
order: 4;
grid-area: 1 / 1 / 3 / 2;
@media screen(xl){
padding-left: var(--wowp-gap);
min-width: 420px;
max-width: 420px;
}
}
.right-widgets {
order:0;
grid-area: 1 / 3 / 3 / 6;
@media screen(xl){
padding-right: var(--wowp-gap);
min-width: 420px;
}
}
.bottom-widgets {
order: 5;
grid-area: 4 / 2 / 4 / 3;
}
.widget{
@apply bg-glass p-2 shadow text-center;
h3{
font-size: 1.3em;
font-weight: bold;
}
}