Skip to content

Commit

Permalink
Use https instead of protocol-relative URL
Browse files Browse the repository at this point in the history
Use `https` instead of protocol-relative URL to make generated HTML
to work locally even without a webserver.

```
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');
```

instead of:

```css
@import url('//fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');
```
  • Loading branch information
pongstr committed Aug 10, 2015
1 parent 2336a5f commit b4abf44
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion styles/variables-cyborg.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('//fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');

/* Page-wide variables */
@padding: 12px;
Expand Down
2 changes: 1 addition & 1 deletion styles/variables-default.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('//fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');

/* Page-wide variables */
@padding: 12px;
Expand Down
2 changes: 1 addition & 1 deletion styles/variables-flatly.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('//fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');

/* Page-wide variables */
@padding: 12px;
Expand Down
2 changes: 1 addition & 1 deletion styles/variables-slate.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('//fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');

/* Page-wide variables */
@padding: 12px;
Expand Down

0 comments on commit b4abf44

Please sign in to comment.