pages/_sass/_layout.scss
Maruan beb6f27d59
format code with prettier.io (#2048)
summary:
- adds prettier formatter configuration
- formats the entire repo using prettier, ignoring minified files
(`*.min.css`) and heavy generated html
- changes extensions of all `.html` files to `.liquid`, which is more
correct and necessary for prettier to work correctly
- replaces "%-" and "-%" with just "%" — manual liquid formatting using
minus signs is superfluous since we are compressing and minifying the
code anyway
- adds CI action for running prettier check on PR and pushes to master
2024-01-10 00:10:51 -05:00

54 lines
1.1 KiB
SCSS

/******************************************************************************
* Content
******************************************************************************/
body {
padding-bottom: 70px;
color: var(--global-text-color);
background-color: var(--global-bg-color);
h1,
h2,
h3,
h4,
h5,
h6 {
scroll-margin-top: 66px;
}
}
body.fixed-top-nav {
// Add some padding for the nav-bar.
padding-top: 56px;
}
body.sticky-bottom-footer {
// Remove padding below footer.
padding-bottom: 0;
}
.container {
max-width: $max-content-width;
}
// Profile
.profile {
img {
width: 100%;
}
}
// TODO: redefine content layout.
/******************************************************************************
* Publications
******************************************************************************/
// TODO: redefine publications layout.
/*****************************************************************************
* Projects
*****************************************************************************/
// TODO: redefine projects layout.