Skip to content

Commit 1e459f9

Browse files
authored
Merge pull request #113 from szepeviktor/fixlinks
Fix links
2 parents 7133bae + 1936d71 commit 1e459f9

16 files changed

+23
-23
lines changed

src/_includes/ui/md/card/post.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ There isn’t much work with the card component because the requirements mainly
44

55
- if you use an image, you must set a [proper](https://adamlaki.com/bite-sized-accessibility/4-write-better-alt-text/) `alt` value.
66
- If you list them, using a list with `<ul>` and `<li>` is a good idea.
7-
- If you have a publication date, use the <code><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time">time</a></code> element.
7+
- If you have a publication date, use the <code><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/time">time</a></code> element.
88

99
## Variations
1010

src/_includes/ui/md/misc/theme-switcher-button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Technical Details
44

55
- The script switches the `data-theme-mode` attribute on the `html` (and theme switcher) element to identify the selected theme.
6-
- You have to set up an [additional color theme](https://sprucecss.com/docs/customization/themes).
6+
- You have to set up an [additional color theme](https://sprucecss.com/docs/customization/themes/).
77

88
## Theme Detection
99

src/_includes/ui/md/misc/theme-switcher-select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Technical Details
44

55
- The script switches the `data-theme-mode` attribute on the `html` (and theme switcher) element to identify the selected theme.
6-
- You have to set up an [additional color theme](https://sprucecss.com/docs/customization/themes).
6+
- You have to set up an [additional color theme](https://sprucecss.com/docs/customization/themes/).
77

88
## Theme Detection
99

src/_includes/ui/md/navigation/breadcrumb-list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ $colors: (
2121

2222
## Resources
2323

24-
- [Breadcrumb Example](https://www.w3.org/WAI/ARIA/apg/example-index/breadcrumb/index.html)
24+
- [Breadcrumb Example](https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/examples/breadcrumb/)

src/_includes/ui/md/navigation/pagination.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
- [generate-btn](https://github.com/conedevelopment/sprucecss/blob/main/scss/form/_button.scss)
3333
- [btn-variant](/docs/sass/mixins/#btn-variant)
3434
- [clear-list](/docs/sass/mixins/#clear-list)
35-
- [aria-current](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)
35+
- [aria-current](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-current)

src/blog/4-areas-where-modern-css-solves-a-lot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Now have the `:has` selector, which is basically a parent selector. We can check
1616

1717
Designing for multi-directional content can be a pain. If you have to support both LTR and RTL, you had to do more work in the past.
1818

19-
With the new sets of [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties), no more are left/right or top/bottom; we can declare a direction relatively.
19+
With the new sets of [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values), no more are left/right or top/bottom; we can declare a direction relatively.
2020

2121
Using logical values helps us to make a layout RTL from LTR easier.
2222

src/blog/about-modern-sass.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ To talk about modern Sass, first, we must speak a little about old Sass. Let’s
3232

3333
- One of its popular features of it was variables. Storing anything in a variable and reusing its value is present in a programming language, not a style sheet language. Of course, we use this feature today, but now we have CSS custom properties.
3434
- Making a grid system with CSS wasn’t viable, so we reached out for mixins and functions to make some generators for them.
35-
- We used a lot of mixin for hacks. I’m sure you know the [iframe hack](https://www.hacksoft.io/blog/responsive-iframes). Today we can use the new [aspect-ratio](https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio) property.
35+
- We used a lot of mixin for hacks. I’m sure you know the [iframe hack](https://www.hacksoft.io/blog/responsive-iframes). Today we can use the new [aspect-ratio](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/aspect-ratio) property.
3636
- We could separate our files by components and merge them at a build process with @import; this is useful today, but now we have @use and @forward.
3737
- We made mathematical calculations. Don’t get me wrong, we still make calculations with Sass, but now we have [calc()](https://developer.mozilla.org/en-US/docs/Web/CSS/calc).
3838

3939
{% notification %}
40-
Please note that we can still use the listed things (except [@import](https://sass-lang.com/documentation/at-rules/import), which is deprecated), but today we do not need them as much as we needed some years ago. Also, this is a personal list, nothing more.
40+
Please note that we can still use the listed things (except [@import](https://sass-lang.com/documentation/at-rules/import/), which is deprecated), but today we do not need them as much as we needed some years ago. Also, this is a personal list, nothing more.
4141
{% endnotification %}
4242

4343
## The Modern Sass
@@ -63,4 +63,4 @@ The modern Sass - _for me_ - means that we can use the new CSS features, but we
6363

6464
## Way More Easier to Use It
6565

66-
One thing that developed is the build tools. Knowing your console is a generic skill for any developer, but it can be a barrier. You can easily include Sass into any tooling system, but my favorite is [Sass CLI](https://sass-lang.com/documentation/cli), which [we can use from npm scripts](https://sprucecss.com/blog/the-simplest-sass-compile-setup).
66+
One thing that developed is the build tools. Knowing your console is a generic skill for any developer, but it can be a barrier. You can easily include Sass into any tooling system, but my favorite is [Sass CLI](https://sass-lang.com/documentation/cli/), which [we can use from npm scripts](https://sprucecss.com/blog/the-simplest-sass-compile-setup/).

src/blog/how-to-choose-a-css-framework.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ Another Bootstrap-like solution is [Bulma](https://bulma.io/), which is also a m
4949

5050
The most significant advantage of the mentioned ones is that they come with many resources, support, and excellent documentation. One significant disadvantage is that learning them and staying updated is more challenging (but a learning curve is always present).
5151

52-
- If you need a smaller system, you can try [Pure.css](https://purecss.io/
52+
- If you need a smaller system, you can try [Pure.css](https://pure-css.github.io/
5353
) or [Milligram](https://milligram.io/).
5454
- If you need a system without classes, you can try [Picnic CSS](https://picnicss.com/) or [water.css](https://github.com/kognise/water.css).
55-
- If you need a modern, low-level Sass-based system, give it a try to [Spruce CSS framework](https://sprucecss.com/docs/getting-started/introduction). It is a newer one but works for us.
55+
- If you need a modern, low-level Sass-based system, give it a try to [Spruce CSS framework](https://sprucecss.com/docs/getting-started/introduction/). It is a newer one but works for us.
5656

5757
## The Requirements
5858

src/blog/how-to-configure-spruce-css-in-your-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ alt: ""
66
tags: ["how-to"]
77
---
88

9-
<p class="lead">Including Spruce CSS in your project is an easy job. First, you must install it (the best with npm) and set up the <a href="https://sprucecss.com/blog/the-simplest-sass-compile-setup">Sass compile</a>. Second, you need a quick config setting and are good to go.</p>
9+
<p class="lead">Including Spruce CSS in your project is an easy job. First, you must install it (the best with npm) and set up the <a href="https://sprucecss.com/blog/the-simplest-sass-compile-setup/">Sass compile</a>. Second, you need a quick config setting and are good to go.</p>
1010

1111
A config setting is needed to set your custom values and generate Spruce’s styles.
1212

src/blog/internationalization-right-to-left-support-with-css-frameworks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The logical properties and values give us control over our layout with logical d
2424

2525
Although this article is mainly about LTR and RTL, you can not just control your layout horizontally but vertically if you wish so.
2626

27-
You can set your writing mode with the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir" class="code-link"><code>dir</code></a> attribute or the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/writing-mode" class="code-link"><code>writing-mode</code></a> CSS property.
27+
You can set your writing mode with the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/dir" class="code-link"><code>dir</code></a> attribute or the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/writing-mode" class="code-link"><code>writing-mode</code></a> CSS property.
2828

2929
[The support for the logical properties can be mixed](https://caniuse.com/?search=logical%20properties), but with a prefixer, you can easily support the newer browsers.
3030

@@ -108,7 +108,7 @@ div {
108108
}
109109
```
110110

111-
At this point, I am sure you get the idea behind the logical concept. It needs a different kind of thinking but is relatively easy to switch. [For the complete list, please visit MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties).
111+
At this point, I am sure you get the idea behind the logical concept. It needs a different kind of thinking but is relatively easy to switch. [For the complete list, please visit MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
112112

113113
## The Layout Modes
114114

0 commit comments

Comments
 (0)