* Refactor CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor about section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor CSS for experiences section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update education section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update projects section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update publication + accomplishment section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Update achievements section Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor footer CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Re-use section title adjustment css for top header Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor navbar CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor sidebar CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Use unified navbar for all pages Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor 404 page CSS Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor list page css Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Fix notes page css Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Refactor single page css Signed-off-by: hossainemruz <hossainemruz@gmail.com> * Introduce color variables Signed-off-by: hossainemruz <hossainemruz@gmail.com> --------- Signed-off-by: hossainemruz <hossainemruz@gmail.com>
80 lines
2 KiB
SCSS
80 lines
2 KiB
SCSS
// loading bootstrap
|
|
// TODO: Refactor to use bootstrap sass variable for theming.
|
|
@import 'bootstrap/scss/bootstrap';
|
|
|
|
@import 'include-media/dist/_include-media';
|
|
|
|
// The Mulish font, we use font-weight 300 - 700
|
|
@import '@fontsource/mulish/300';
|
|
@import '@fontsource/mulish/index'; // 400
|
|
@import '@fontsource/mulish/500';
|
|
@import '@fontsource/mulish/600';
|
|
@import '@fontsource/mulish/700';
|
|
|
|
@import './variables';
|
|
@import './mixins';
|
|
|
|
// components
|
|
@import './components/cards';
|
|
@import './components/buttons';
|
|
@import './components/links';
|
|
@import './components/texts';
|
|
@import './components/images';
|
|
@import './components/tables';
|
|
@import './components/misc';
|
|
|
|
// layouts
|
|
@import './layouts/main';
|
|
@import './layouts/list';
|
|
@import './layouts/single';
|
|
@import './layouts/notes';
|
|
@import './layouts/404';
|
|
|
|
// navigators
|
|
@import './navigators/navbar';
|
|
@import './navigators/sidebar';
|
|
|
|
|
|
// sections
|
|
@import './sections/home';
|
|
@import './sections/about';
|
|
@import './sections/skills';
|
|
@import './sections/experiences';
|
|
@import './sections/education';
|
|
@import './sections/projects';
|
|
@import './sections/recent-posts';
|
|
@import './sections/achievements';
|
|
@import './sections/accomplishments';
|
|
@import './sections/publications';
|
|
@import './sections/footer';
|
|
|
|
|
|
|
|
// override
|
|
@import './override';
|
|
|
|
// features and services, only imported if enabled.
|
|
{{ range $feature, $featureDef := site.Params.features }}
|
|
{{ with $featureDef }}
|
|
{{ $featureEnabled := or (not (isset . "enable")) .enable }}
|
|
{{ if $featureEnabled }}
|
|
{{ with (index site.Data.toha.styles $feature) }}
|
|
{{ range .styles }}
|
|
@import '{{.}}';
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ range $service, $config := .services }}
|
|
{{ with (index site.Data.toha.styles $feature) }}
|
|
{{ with .services }}
|
|
{{ with (index . $service) }}
|
|
{{ range .styles }}
|
|
@import '{{ . }}';
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|