pages/_sass/_layout.scss
Scott Lee Chua 5ab56faadd
Update SASS syntax in base (non-font) files (#3281)
Partially fixes issue #3256 by updating SASS syntax in main SCSS files.

To fully address the issue, FontAwesome should be updated to `v7.x` and
Tabler to `v3.30` or higher (see Tabler fix
[here](https://github.com/tabler/tabler-icons/pull/1256)), where the
SCSS has been fixed.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
Co-authored-by: George Araújo <george.gcac@gmail.com>
2026-01-26 18:26:44 -03:00

56 lines
1.1 KiB
SCSS

/******************************************************************************
* Content
******************************************************************************/
@use "variables" as v;
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: 57px;
}
body.sticky-bottom-footer {
// Remove padding below footer.
padding-bottom: 0;
}
.container {
max-width: v.$max-content-width;
}
// Profile
.profile {
img {
width: 100%;
}
}
// TODO: redefine content layout.
/******************************************************************************
* Publications
******************************************************************************/
// TODO: redefine publications layout.
/*****************************************************************************
* Projects
*****************************************************************************/
// TODO: redefine projects layout.