Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 8 additions & 5 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,15 @@
by older browsers, and we don't optimize for those.
{%- endcomment -%}
<link rel="preload" as="font" href="https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFVZ0bf8pkAg.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/geomanist/hinted-Geomanist-Book.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/geomanist/hinted-Geomanist-Regular.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/glyphicons-halflings-regular.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/fontawesome-webfont.woff2?v=4.7.0" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/assets/fontawesome/webfonts/fa-brands-400.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/assets/fontawesome/webfonts/fa-regular-400.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/assets/fontawesome/webfonts/fa-solid-900.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/assets/fontawesome/webfonts/fa-v4compatibility.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/geomanist/hinted-Geomanist-Book.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/geomanist/hinted-Geomanist-Regular.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/glyphicons-halflings-regular.woff2" type="font/woff2" crossorigin="anonymous">

<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/assets/fontawesome/css/all.min.css">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/style.css" id="pagestyle">

Expand Down
29 changes: 25 additions & 4 deletions _scss/_notes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ The available classes are:
font-weight: 700;
margin-top: 0;

// https://fontawesome.com/docs/web/setup/upgrade/pseudo-elements
&::before {
font-family: FontAwesome;
content: "#{$icon} \00a0";
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font: var(--fa-font-solid);
content: "#{$icon} \00a0";
}
}

Expand All @@ -53,7 +56,7 @@ blockquote {
body.night & {
// DARK THEME

&:not(.important):not(.warning):not(.restricted) {
&:not(.important):not(.warning):not(.restricted):not(.experimental) {
@include notification(
$bg-color: $dark-palette-blue-200,
$header-color: $white-0,
Expand Down Expand Up @@ -88,12 +91,21 @@ blockquote {
$icon: "\f135"
);
}

&.experimental {
@include notification(
$bg-color: $dark-palette-blue-200,
$header-color: $white-0,
$body-text-color: $white-0,
$icon: "\f492"
);
}
}

body:not(.night) & {
// LIGHT THEME

&:not(.important):not(.warning):not(.restricted) {
&:not(.important):not(.warning):not(.restricted):not(.experimental) {
@include notification(
$bg-color: $light-palette-blue-100,
$header-color: $light-palette-blue-500,
Expand Down Expand Up @@ -128,6 +140,15 @@ blockquote {
$icon: "\f135"
);
}

&.experimental {
@include notification(
$bg-color: $light-palette-blue-100,
$header-color: $light-palette-blue-500,
$body-text-color: inherit,
$icon: "\f492"
);
}
}
}

Expand Down
6 changes: 6 additions & 0 deletions assets/fontawesome/css/all.min.css

Large diffs are not rendered by default.

Binary file added assets/fontawesome/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file added assets/fontawesome/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file added assets/fontawesome/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file added assets/fontawesome/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file added assets/fontawesome/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file added assets/fontawesome/webfonts/fa-solid-900.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions css/font-awesome.min.css

This file was deleted.

Binary file removed fonts/FontAwesome.otf
Binary file not shown.
Binary file removed fonts/fontawesome-webfont.eot
Binary file not shown.
640 changes: 0 additions & 640 deletions fonts/fontawesome-webfont.svg

This file was deleted.

Binary file removed fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file removed fonts/fontawesome-webfont.woff
Binary file not shown.
Binary file removed fonts/fontawesome-webfont.woff2
Binary file not shown.