Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different font for headings #69

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
4 changes: 3 additions & 1 deletion new.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:root {
--nc-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--nc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--nc-font-mono: Consolas, monaco, 'Ubuntu Mono', 'Liberation Mono', 'Courier New', Courier, monospace;

Expand Down Expand Up @@ -111,6 +112,7 @@ body {
}

h1,h2,h3,h4,h5,h6 {
font-family: var(--nc-font-heading);
line-height: 1;
color: var(--nc-tx-1);
padding-top: .875rem;
Expand Down Expand Up @@ -444,4 +446,4 @@ input {

img {
max-width: 100%;
}
}
3 changes: 2 additions & 1 deletion theme/boilerplate.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:root {
--nc-font-heading: sans-serif;
--nc-font-sans: sans-serif;
--nc-font-mono: monospace;
--nc-tx-1: #000000;
Expand All @@ -11,4 +12,4 @@
--nc-lk-tx: #FFFFFF;
--nc-ac-1: #79FFE1;
--nc-ac-tx: #000000;
}
}
3 changes: 2 additions & 1 deletion theme/terminal.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import url("https://fonts.xz.style/serve/fira-code.css");

:root {
--nc-font-heading: 'Fira Code', monospace;
--nc-font-sans: 'Fira Code', monospace;
--nc-font-mono: 'Fira Code', monospace;
--nc-tx-1: #FFFFFF;
Expand All @@ -13,4 +14,4 @@
--nc-lk-tx: #000000;
--nc-ac-1: #00FF00;
--nc-ac-tx: #000000;
}
}