Skip to content

Commit b6fe6bd

Browse files
committed
New Links
1 parent 506722d commit b6fe6bd

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

assets/styles/base/layout.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,20 @@ HELPER
174174
└──────────────────────────────────┘
175175
*/
176176

177+
.new {
178+
display: inline-flex;
179+
justify-content: center;
180+
align-items: center;
181+
background-color: var(--clr-text);
182+
color: var(--clr-inverse);
183+
font-size: var(--font-size--xsmall);
184+
margin-left: 0.5em;
185+
padding: 0.2em 0.5em 0;
186+
border-radius: var(--border-radius);
187+
cursor: default;
188+
user-select: none;
189+
}
190+
177191
@for $i from 1 through 4 {
178192
.bgs-#{$i} {
179193
background-color: var(--clr-play-#{$i});

content/links/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ Du brauchst Code-Beispiele? Gern, hier sind die, die ich gebaut habe. Die sind a
142142
Einführung in PWA, sowie Leitfaden zur Entwicklung.
143143
- [Accessibility](https://developer.mozilla.org/en-US/docs/Web/Accessibility)\
144144
Einführung und Dokumentation der `aria`-Rollen.
145+
- [Variable Fonts](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide){{< new >}}\
146+
Font-Spezifikation, um statt mehrere Schriftschnitte nur einen (variablen) Font zu verwenden.
147+
- [Can I use](https://caniuse.com/){{< new >}}\
148+
Zeigt den Unterstützung von Front-end-Technologien bei den Browsern.
145149

146150
### Schnell gelernt
147151

layouts/shortcodes/new.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<span class="new">NEU</span>

0 commit comments

Comments
 (0)