
* Dark Mode + Theming * Themes scss file created with default color scheme and dark color scheme. * Logic for managing dark mode toggle added. * Modified existing scss/html to work with theme toggling. * Fixed hover issues * Added enable_darkmode to configs. * Added the requested option of disabling/enabling dark mode via config files.
47 lines
1.0 KiB
SCSS
47 lines
1.0 KiB
SCSS
/******************************************************************************
|
|
* Content
|
|
******************************************************************************/
|
|
|
|
body {
|
|
padding-bottom: 70px;
|
|
color: var(--global-text-color);
|
|
background-color: var(--global-bg-color);
|
|
}
|
|
|
|
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.
|