Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (28 loc) · 1.15 KB

configuration-scss.md

File metadata and controls

44 lines (28 loc) · 1.15 KB

Geotrek-rando documentation

‹ Back to Settings & customization

_configuration.scss

This file allows you to set colors for trek practices and touristic content categories.

See _configuration.default.scss default file to list available vars.

You can also add as many variable you need for theming.

Add styles

The file named custom/_customisation.scss allows you to write as many SCSS files as you need.

If you want to split your styles in multiple files, you have to use the SCSS @import 'filename' rule to include other .scss files.

For exemple, you can add CSS by adding a custom/styles/_custom-overrides.scss file, then importing it in custom/customisation.scss with:

@import "styles/custom-header";

Note: customisation.scss must remain directly in custom/ directory but the files you @import in it may be wherever you want.

Tips

Change results list background color

.resultsview-pane {
    background-color: #3a3a3a;
}

Change path weight

.leaflet-overlay-pane svg path {
    stroke-width: 6;
}