Corrected styling of block layout
This commit is contained in:
parent
fb5df775ea
commit
7f0a6a427a
30
slt/css/layout/_blog.scss
Normal file
30
slt/css/layout/_blog.scss
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
@use "../abstract" as abstract;
|
||||||
|
|
||||||
|
.columns-2,
|
||||||
|
.columns-3,
|
||||||
|
.columns-4,
|
||||||
|
.columns-5,
|
||||||
|
.columns-6 {
|
||||||
|
display: grid;
|
||||||
|
|
||||||
|
> div {
|
||||||
|
margin: 5px 5px 15px 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.columns-2 {
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.columns-3 {
|
||||||
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
|
}
|
||||||
|
.columns-4 {
|
||||||
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||||
|
}
|
||||||
|
.columns-5 {
|
||||||
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
||||||
|
}
|
||||||
|
.columns-6 {
|
||||||
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
||||||
|
}
|
@ -7,3 +7,4 @@
|
|||||||
@use "pageheader";
|
@use "pageheader";
|
||||||
@use "side-images";
|
@use "side-images";
|
||||||
@use "main-content";
|
@use "main-content";
|
||||||
|
@use "blog";
|
||||||
|
Loading…
Reference in New Issue
Block a user