mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-09-28 08:54:58 -04:00
Keep the site's text size, line height, display sizes and unstyled links
Bootstrap 5 differs from the old Material skin in a few defaults that change how every page looks: 1rem body text (the site uses 0.875rem), a 1.5 line height (1.428572), underlined links, and much larger display-* headings (the home page heading was 56px, not 34px). Set them back through Bootstrap's variables. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b15b92c08e
commit
a3754a30af
1 file changed
+13
@@ -21,6 +21,19 @@ $body-color: $brown;
|
||||
$text-color: $brown;
|
||||
$link-color: $green;
|
||||
$font-family-sans-serif: $default-font;
|
||||
$font-size-base: 0.875rem; // the site's text size; Bootstrap's default is 1rem
|
||||
$link-decoration: none;
|
||||
$link-hover-decoration: underline;
|
||||
$line-height-base: 1.428572;
|
||||
// The sizes the old Material skin gave the display-* classes the site uses (display-3, display-4).
|
||||
$display-font-sizes: (
|
||||
1: 7rem,
|
||||
2: 3.5rem,
|
||||
3: 2.8125rem,
|
||||
4: 2.125rem,
|
||||
5: 2rem,
|
||||
6: 1.75rem
|
||||
);
|
||||
|
||||
$primary: $green;
|
||||
$secondary: $blue;
|
||||
|
||||
Reference in new issue
Block a user