mirror of
https://github.com/oupala/apaxy.git
synced 2025-08-14 06:53:59 +02:00
fix: remove dependency to font Open Sans
We want apaxy to need as few dependencies as possible, and even less external dependencies (because we have control over external dependencies). This commit removes dependency to font Open Sans. As pointed by nodisc in issue #59, there are some advantages in removing this dependency: no cross-site requests, no leaking of HTTP referers to font provider, works on LAN-only setups, no dependency on an external service. fix #59
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
<link rel="shortcut icon" href="img/icon.png">
|
||||
<!-- Stylesheets -->
|
||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body class="fadeDown">
|
||||
<center>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
<link rel="shortcut icon" href="img/icon.png">
|
||||
<!-- Stylesheets -->
|
||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body class="fadeDown">
|
||||
<center>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
<link rel="shortcut icon" href="img/icon.png">
|
||||
<!-- Stylesheets -->
|
||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body class="fadeDown">
|
||||
<center>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
<link rel="shortcut icon" href="img/icon.png">
|
||||
<!-- Stylesheets -->
|
||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body class="fadeDown">
|
||||
<center>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
<link rel="shortcut icon" href="img/icon.png">
|
||||
<!-- Stylesheets -->
|
||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body class="fadeDown">
|
||||
<center>
|
||||
|
@@ -7,7 +7,6 @@
|
||||
<link rel="shortcut icon" href="img/icon.png">
|
||||
<!-- Stylesheets -->
|
||||
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body class="fadeDown">
|
||||
<center>
|
||||
|
@@ -9,9 +9,6 @@ button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-bloc
|
||||
Theme author: @adamwhitcroft
|
||||
\*------------------------------------*/
|
||||
|
||||
@import url('//fonts.googleapis.com/css?family=Open+Sans');
|
||||
|
||||
/* Have to use @import for the font, as you can only specify a single stylesheet */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -27,7 +24,7 @@ html {
|
||||
color: #61666c;
|
||||
font-weight: 400;
|
||||
font-size: 1em;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-family: sans-serif;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user