Skip to content

Commit

Permalink
Use Protocol-relative URL on Google Fonts
Browse files Browse the repository at this point in the history
Since google fonts are available on SSL maybe use the
protocol-relative URL instead?

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

instead of:

`@import url('http://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');`
  • Loading branch information
pongstr committed Aug 10, 2015
1 parent e0d59ee commit ba0f700
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(http://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200);
@import url('//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(http://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200);
@import url(//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(http://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200);
@import url(//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(http://fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200);
@import url('//fonts.googleapis.com/css?family=Roboto:400,700|Inconsolata|Raleway:200');

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

0 comments on commit ba0f700

Please sign in to comment.