This commit centralizes the styling of key UI elements across the project to ensure: - Consistent look and feel. - Enhanced code reusability. - Simpified maintenance, improving development speed. It establishes a uniform foundation that can be leveraged across different parts of the project, even enabling the styling to be shared across different websites (supporting issue #49). Key changes: - Apply the following shared styles globally: * Styling of code, blockquotes, superscripts, horizontal rules and anchors. * Vertical and horizontal spacing. - Segregate base styling into dedicated SCSS files for clearer structure and increased maintainability. - Remove custom styling from affected components, enabling global style reuse for visual uniformity, reduced redundancy, and enhanced semantics. Other supporting changes: - Rename `globals.scss` to `base.scss` for better clarity. - Add `.editorconfig` for `.scss` files to ensure consistent whitespace usage. - Remove `2` file from the project root, that was included in the source code by mistake. - Remove unused font-face imports
34 lines
813 B
INI
34 lines
813 B
INI
root = true # Top-most EditorConfig file
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
|
|
[*.{js,jsx,ts,tsx,vue,sh,scss}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
max_line_length = 100
|
|
|
|
[{Dockerfile}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[*.py]
|
|
indent_size = 4 # PEP 8 (the official Python style guide) recommends using 4 spaces per indentation level
|
|
indent_style = space
|
|
max_line_length = 100
|
|
|
|
[*.ps1]
|
|
indent_style = space
|
|
indent_size = 4
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.{scss}] # SASS guidelines: https://archive.today/2024.02.16-232553/https://sass-guidelin.es/
|
|
indent_style = space
|
|
indent_size = 2 # Recommended by SASS guidelines
|
|
max_line_length = 100 # Recommended by SASS guidelines
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|