Skip to content

Better Fonts For Wikipedia by JamesK

Screenshot of Better Fonts For Wikipedia

Details

AuthorJamesK

LicenseNo License

Categorywikipedia.org

Created

Updated

Code size16 kB

Code checksum76c98abf

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Changes font attributes in Wikipedia for a better and richer reading experience.
Fonts support only the Hebrew and English language.

Notes

Changes font attributes in Wikipedia for a better and richer reading experience.
Fonts support only the Hebrew and English language, both on desktop and on mobile. If a Wikipedia page is written in any other language, no CSS modification will be done.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         Better Fonts For Wikipedia
@version      20230523.15.16
@namespace    userstyles.world/user/JamesK
@description  Changes font attributes in Wikipedia for a better and richer reading experience.
Fonts support only the Hebrew and English language.
@author       JamesK
@license      No License
==/UserStyle== */

@-moz-document domain("he.wikipedia.org") {
/* HEBREW WIKIPEDIA ARTICLE */
/* HEBREW FONTS WITH FOR HEBREW UNICODE RANGE */
@font-face {
    font-family: "Narkiss Text";
    src: url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.eot");
    /* IE9*/
    src: url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.woff2") format("woff2"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.woff") format("woff"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.ttf") format("truetype"), /* chrome firefox opera Safari, Android, iOS 4.2+*/
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.svg#Narkiss Text") format("svg");
    /* iOS 4.1- */
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
    font-family: "Narkiss Block";
    src: url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.eot");
    /* IE9*/
    src: url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.woff2") format("woff2"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.woff") format("woff"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.ttf") format("truetype"), /* chrome firefox opera Safari, Android, iOS 4.2+*/
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.svg#Narkiss Block") format("svg");
    /* iOS 4.1- */
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Alef';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/alef/v21/FeVfS0NQpLYgnjdRCrNy1bRbkg.woff2) format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Alef';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/alef/v21/FeVQS0NQpLYglo50H5xQ2J5hm25mww.woff2) format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: "Narkiss Block Variable";
    font-weight: bold;
    font-style: normal;
    src: url('https://fontef.com/wp-content/themes/fontef/fonts/NarkissBlock-VF.woff2') format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* ENGLISH FONTS FOR LATIN UNICODE RANGE */
@font-face {
    font-family: "NYT Cheltenham Bold Italic";
    font-weight: bold;
    font-style: normal;
    src: url('https://g1.nyt.com/fonts/family/cheltenham/cheltenham-italic-700.f99a0459024509f157a3352e5de4f873.woff2') format('woff2');
}
@font-face {
    font-family: "NYT Imperial Normal";
    font-weight: normal;
    font-style: normal;
    src: url('https://g1.nyt.com/fonts/family/imperial/imperial-normal-400.6131cd77b6e216c7693ed925f4309ffc.woff2') format('woff2');
}

/* sans-serif text - used in normal text paragraphs */
.mw-parser-output {
    font-family: "Alef", "NYT Imperial Normal", Arial, sans-serif;
    font-size: 1.25em;
}

/* Select serif text - used in headings and quotation text */
#content :is(h1,
h2,
h3,
h4,
h5,
h6,
dt) {
    font-family: "Narkiss Text", "Narkiss Block Variable", serif;
}
}

@-moz-document domain("he.m.wikipedia.org") {
/* HEBREW WIKIPEDIA ARTICLE */
/* HEBREW FONTS WITH FOR HEBREW UNICODE RANGE */
@font-face {
    font-family: "Narkiss Text";
    src: url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.eot");
    /* IE9*/
    src: url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.woff2") format("woff2"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.woff") format("woff"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.ttf") format("truetype"), /* chrome firefox opera Safari, Android, iOS 4.2+*/
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.svg#Narkiss Text") format("svg");
    /* iOS 4.1- */
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
    font-family: "Narkiss Block";
    src: url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.eot");
    /* IE9*/
    src: url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.woff2") format("woff2"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.woff") format("woff"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.ttf") format("truetype"), /* chrome firefox opera Safari, Android, iOS 4.2+*/
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.svg#Narkiss Block") format("svg");
    /* iOS 4.1- */
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Alef';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/alef/v21/FeVfS0NQpLYgnjdRCrNy1bRbkg.woff2) format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Alef';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/alef/v21/FeVQS0NQpLYglo50H5xQ2J5hm25mww.woff2) format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: "Narkiss Block Variable";
    font-weight: bold;
    font-style: normal;
    src: url('https://fontef.com/wp-content/themes/fontef/fonts/NarkissBlock-VF.woff2') format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* ENGLISH FONTS FOR LATIN UNICODE RANGE */
@font-face {
    font-family: "NYT Cheltenham Bold Italic";
    font-weight: bold;
    font-style: normal;
    src: url('https://g1.nyt.com/fonts/family/cheltenham/cheltenham-italic-700.f99a0459024509f157a3352e5de4f873.woff2') format('woff2');
}
@font-face {
    font-family: "NYT Imperial Normal";
    font-weight: normal;
    font-style: normal;
    src: url('https://g1.nyt.com/fonts/family/imperial/imperial-normal-400.6131cd77b6e216c7693ed925f4309ffc.woff2') format('woff2');
}

/* sans-serif text - used in normal text paragraphs */
.mw-parser-output {
    font-family: "Alef", "NYT Imperial Normal", Arial, sans-serif;
    font-size: 1.25em;
}

/* Select serif text - used in headings and quotation text */
#content :is(h1,
h2,
h3,
h4,
h5,
h6,
dt) {
    font-family: "Narkiss Text", "Narkiss Block Variable", serif;
}
}

@-moz-document domain("en.wikipedia.org") {
/* ENGLISH WIKIPEDIA ARTICLE */
/* HEBREW FONTS FOR HEBREW UNICODE RANGE */
@font-face {
    font-family: "Narkiss Text";
    src: url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.eot");
    /* IE9*/
    src: url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.woff2") format("woff2"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.woff") format("woff"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.ttf") format("truetype"), /* chrome firefox opera Safari, Android, iOS 4.2+*/
    url("http://db.onlinewebfonts.com/t/bd9bc25aa29de4e37080aa9c8a39011f.svg#Narkiss Text") format("svg");
    /* iOS 4.1- */
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: "Narkiss Block";
    src: url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.eot");
    /* IE9*/
    src: url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.woff2") format("woff2"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.woff") format("woff"), /* chrome firefox */
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.ttf") format("truetype"), /* chrome firefox opera Safari, Android, iOS 4.2+*/
    url("http://db.onlinewebfonts.com/t/18f4e9f8e850558a95ec02a0dbd3de03.svg#Narkiss Block") format("svg");
    /* iOS 4.1- */
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Alef';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/alef/v21/FeVfS0NQpLYgnjdRCrNy1bRbkg.woff2) format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Alef';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/alef/v21/FeVQS0NQpLYglo50H5xQ2J5hm25mww.woff2) format('woff2');
    unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: "Narkiss Bl...

Reviews

No reviews yet.