Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion pages/common.css.wiki
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Emoji:[email protected]&family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we self-host the font? Using google fonts adds user tracking and is often not faster than re-using the same https connection.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit more involved but we could have something that symlinks the font into the the directory that mediawiki serves static files from.


:root {
--home-panel-heading-background: var(--background-color-neutral);
--home-panel-border-color: var(--border-color-subtle);
Expand Down Expand Up @@ -51,11 +54,18 @@ blockquote + p cite::before {
pointer-events: none;
}

/* Paragraph / text styles */
/* Paragraph and Text */

p {
text-align: initial;
}

.font-overpass {
font-family: "Overpass", sans-serif;
font-optical-sizing: auto;
font-style: normal;
};

/* Infobox */

.infobox {
Expand Down