mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
45f101a456
docs: https://fixit.lruihao.cn/documentation/content-management/diagrams-support/mermaid/#cdn
42 lines
643 B
SCSS
42 lines
643 B
SCSS
/** Layout **/
|
|
.wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
width: 100%;
|
|
|
|
main {
|
|
flex: 1 0 auto;
|
|
|
|
aside {
|
|
flex: 1;
|
|
padding: 0.5rem;
|
|
|
|
&:not(:has(~ aside)) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&.fi-container {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
padding-inline: 1rem;
|
|
gap: 0.5rem;
|
|
|
|
&[data-reverse] {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
&:has(.home:not(.posts)) {
|
|
align-items: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@import "_header";
|
|
@import "_breadcrumb";
|
|
@import "_footer";
|
|
@import "_pagination";
|