Merge pull request #67 from github/no-default-font
Remove Rubik as default font
This commit is contained in:
commit
57cd24d6c4
2 changed files with 6 additions and 6 deletions
|
@ -147,7 +147,7 @@ Jekyll's convention for defining layouts is very flexible. You can [learn more a
|
|||
|
||||
## Styles
|
||||
|
||||
Your website is pre-configured to use [a very flexible CSS framework called "Primer,"](https://styleguide.github.com/primer/) alongside any custom styles you write in your `/assets/styles.scss` Sass stylesheet. It's currently referenced within your `styles.scss` file, using the CSS import at-rule:
|
||||
Your website is pre-configured to use [GitHub's very flexible CSS framework called "Primer,"](https://styleguide.github.com/primer/). It's currently referenced within your `styles.scss` file, using the CSS import at-rule:
|
||||
|
||||
```
|
||||
@import url('https://unpkg.com/primer/build/build.css');
|
||||
|
@ -155,6 +155,9 @@ Your website is pre-configured to use [a very flexible CSS framework called "Pri
|
|||
|
||||
You are, of course, welcome to remove it or replace it with another framework. Just bear in mind that the HTML that your website came pre-packaged with references multiple Primer "utility classes" to define things like column widths, margins, and background colors.
|
||||
|
||||
You also have the option to add on to and extend Primer's styles by adding custom CSS to your `/assets/styles.scss` Sass stylesheet. By editing this file, you can customize your website's color scheme, typography, and more.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
---
|
||||
---
|
||||
@import url('https://unpkg.com/primer/build/build.css');
|
||||
@import url('https://fonts.googleapis.com/css?family=Rubik:400,500,700,900');
|
||||
@import 'highlight-syntax';
|
||||
|
||||
body {
|
||||
font-family: 'Rubik', sans-serif;
|
||||
}
|
||||
|
||||
// If a user adds a custom font, this component will stop it from bleeding into GitHub components:
|
||||
.github-component {
|
||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
|
||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol !important;
|
||||
}
|
||||
|
||||
.repo-language-color {
|
||||
|
|
Loading…
Reference in a new issue