|
2 | 2 |
|
3 | 3 | // Body |
4 | 4 | body { |
5 | | - font-family: 'Helvetica Neue', Arial, sans-serif; |
6 | | - font-size: 16px; |
7 | | - line-height: 1.6; |
8 | | - color: #333; |
9 | | - background-color: #fff; |
| 5 | + font-family: $fontFamily; // Using variable from _variables.scss |
| 6 | + font-size: $baseFontSize; // Using variable from _variables.scss |
| 7 | + line-height: 1.5; |
| 8 | + color: $textColor; // Using variable from _variables.scss |
| 9 | + background-color: $backgroundColor; // Using variable from _variables.scss |
| 10 | +} |
| 11 | + |
| 12 | +// Links |
| 13 | +a { |
| 14 | + color: $linkColor; // Updated to use $linkColor from _variables.scss |
| 15 | + text-decoration: none; |
| 16 | + |
| 17 | + &:hover { |
| 18 | + color: $linkHoverColor; // Updated to use $linkHoverColor from _variables.scss |
| 19 | + text-decoration: underline; |
10 | 20 | } |
11 | | - |
12 | | - // Headings |
13 | | - h1, h2, h3, h4, h5, h6 { |
14 | | - color: #333; |
15 | | - margin-top: 1.5rem; |
16 | | - margin-bottom: 1rem; |
17 | | - } |
18 | | - |
19 | | - h1 { font-size: 2.5rem; } |
20 | | - h2 { font-size: 2rem; } |
21 | | - h3 { font-size: 1.75rem; } |
22 | | - h4 { font-size: 1.5rem; } |
23 | | - h5 { font-size: 1.25rem; } |
24 | | - h6 { font-size: 1rem; } |
25 | | - |
26 | | - // Paragraphs |
27 | | - p { |
28 | | - margin-top: 0; |
29 | | - margin-bottom: 1rem; |
30 | | - } |
31 | | - |
32 | | - // Links |
33 | | - a { |
34 | | - color: #007bff; |
35 | | - text-decoration: none; |
36 | | - |
37 | | - &:hover { |
38 | | - text-decoration: underline; |
39 | | - } |
40 | | - } |
41 | | - |
42 | | - // Lists |
43 | | - ul, ol { |
44 | | - padding-left: 2rem; |
45 | | - margin-top: 0; |
46 | | - margin-bottom: 1rem; |
47 | | - } |
48 | | - |
49 | | - li { |
50 | | - margin-bottom: 0.5rem; |
51 | | - } |
52 | | - |
53 | | - // Additional base styles as needed... |
| 21 | +} |
| 22 | + |
| 23 | +// Headings |
| 24 | +h1, h2, h3, h4, h5, h6 { |
| 25 | + color: $darkColor; // Using variable from _variables.scss |
| 26 | + margin-top: 1.5rem; |
| 27 | + margin-bottom: 1rem; |
| 28 | + font-family: $headingFontFamily; // Using variable from _variables.scss |
| 29 | +} |
| 30 | + |
| 31 | +h1 { font-size: 2.5rem; } |
| 32 | +h2 { font-size: 2rem; } |
| 33 | +h3 { font-size: 1.75rem; } |
| 34 | +h4 { font-size: 1.5rem; } |
| 35 | +h5 { font-size: 1.25rem; } |
| 36 | +h6 { font-size: 1rem; } |
| 37 | + |
| 38 | +// Paragraphs |
| 39 | +p { |
| 40 | + margin-top: 0; |
| 41 | + margin-bottom: 1rem; |
| 42 | +} |
| 43 | + |
| 44 | +// Lists |
| 45 | +ul, ol { |
| 46 | + padding-left: 2rem; |
| 47 | + margin-top: 0; |
| 48 | + margin-bottom: 1rem; |
| 49 | +} |
| 50 | + |
| 51 | +li { |
| 52 | + margin-bottom: 0.5rem; |
| 53 | +} |
| 54 | + |
| 55 | +// Additional base styles as needed... |
0 commit comments