Änderungen von Dokument M-SmallCaps


Von Version 2.2
bearbeitet von gru
am 10.10.2022, 11:42
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 5.1
bearbeitet von gru
am 15.12.2022, 10:38
Änderungskommentar: Migrated property [defaultCategories] from class [XWiki.WikiMacroClass]

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -1,1 +1,6 @@
1 -{{smallcaps}}Kapitälchen{{/smallcaps}}. Nutzt {{code language="css"}}font-feature-settings: 'smcp'{{/code}} mit Fallback auf {{code language="css"}}font-variant: small-caps{{/code}} sowie sicherheitshalber {{code language="Css"}}@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans+SC&subset=latin,latin-ext);font-family: 'Alegreya Sans SC'{{/code}}.
1 +{{smallcaps}}Kapitälchen{{/smallcaps}}. Nutzt {{code language="css"}}font-feature-settings: 'smcp'{{/code}} mit Fallback auf {{code language="css"}}font-variant: small-caps{{/code}}.
2 +
3 +
4 +Fallback war bisher {{code language="Css"}}@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans+SC&subset=latin,latin-ext);font-family: 'Alegreya Sans SC'{{/code}}.
5 +
6 +Jetzt wird der Font {{smallcaps}}Alegreya Sans SC{{/smallcaps}} direkt aus der Hilfe von Dateien auf der Seite [[Customization.CustomCSS.CSS-FontAlegreyaSansSC]] eingebunden.
XWiki.StyleSheetExtension[0]
Code
... ... @@ -1,19 +1,4 @@
1 -/* latin-ext */
2 -@font-face {
3 - font-family: 'Alegreya Sans SC';
4 - font-style: normal;
5 - font-weight: 400;
6 - src: url(https://fonts.gstatic.com/s/alegreyasanssc/v20/mtGh4-RGJqfMvt7P8FUr0Q1j-Hf1Bkdl9xxA.woff2) format('woff2');
7 - unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
8 -}
9 -/* latin */
10 -@font-face {
11 - font-family: 'Alegreya Sans SC';
12 - font-style: normal;
13 - font-weight: 400;
14 - src: url(https://fonts.gstatic.com/s/alegreyasanssc/v20/mtGh4-RGJqfMvt7P8FUr0Q1j-Hf1Bkll9w.woff2) format('woff2');
15 - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
16 -}
1 +@import url(/xwiki/bin/download/Customization/CustomCSS/CSS-FontAlegreyaSansSC/FontAlegreyaSansSC.css);
17 17  
18 18  .xm-smallcaps {
19 19   font-variant: small-caps;