3c6822bb50
Menus were not properly aligned after the shift in line-height, and titles would get really small.
88 lines
1.5 KiB
SCSS
88 lines
1.5 KiB
SCSS
// --------------------------------------------------------------------------------
|
|
// Generic Block
|
|
// --------------------------------------------------------------------------------
|
|
.block {
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: auto;
|
|
text-align: start;
|
|
}
|
|
|
|
.block + .block {
|
|
margin-top: 1.25em;
|
|
}
|
|
|
|
.block > .content {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
// --------------------------------------------------------------------------------
|
|
// Float
|
|
// --------------------------------------------------------------------------------
|
|
.float {
|
|
margin: .75rem;
|
|
}
|
|
|
|
.float-start {
|
|
float: inline-start;
|
|
}
|
|
|
|
.float-end {
|
|
float: inline-end;
|
|
}
|
|
|
|
.float-left {
|
|
float: left;
|
|
}
|
|
|
|
.float-right {
|
|
float: right;
|
|
}
|
|
|
|
.float-clear {
|
|
clear: both;
|
|
}
|
|
|
|
.float + .block {
|
|
margin-top: 0em;
|
|
}
|
|
|
|
// --------------------------------------------------------------------------------
|
|
// Align
|
|
// --------------------------------------------------------------------------------
|
|
.align-start {
|
|
text-align: start;
|
|
}
|
|
|
|
.align-end {
|
|
text-align: end;
|
|
}
|
|
|
|
.align-left {
|
|
text-align: left;
|
|
}
|
|
|
|
.align-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.align-justify {
|
|
text-align: justify;
|
|
}
|
|
|
|
.align-center {
|
|
text-align: center;
|
|
}
|
|
|
|
// --------------------------------------------------------------------------------
|
|
// Specialized Blocks
|
|
// --------------------------------------------------------------------------------
|
|
@import "_block-code.scss";
|
|
@import "_block-columns.scss";
|
|
@import "_block-details.scss";
|
|
@import "_block-heading.scss";
|
|
@import "_block-list.scss";
|
|
@import "_block-media.scss";
|
|
@import "_block-table.scss";
|