forked from pkp/pkp-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkp#785 Use local copies of script, font and style files instead of CDN
- Loading branch information
Showing
56 changed files
with
3,507 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,5 @@ | |
<meta name="robots" content="noindex"> | ||
{% endif %} | ||
<link type="text/css" href="/css/book.css" rel="stylesheet" media="all"> | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i|Roboto+Mono:400,700" rel="stylesheet"> | ||
<script defer src="https://unpkg.com/[email protected]/dist/js/smooth-scroll.polyfills.min.js"></script> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script> | ||
<script defer src="/assets/js/smooth-scroll.polyfills.min.js"></script> | ||
<script defer src="/assets/js/fontawesome.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ | |
<meta property="og:image" content="/img/docs-logo.png"> | ||
{% endif %} | ||
<link type="text/css" href="/css/style.css" rel="stylesheet" media="all"> | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i" rel="stylesheet"> | ||
<script defer src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script> | ||
<script defer src="https://unpkg.com/[email protected]/dist/js/smooth-scroll.polyfills.min.js"></script> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script> | ||
<script type="text/javascript">{% include js/masonry.pkgd.min.js %}</script> | ||
<script defer src="/assets/js/smooth-scroll.polyfills.min.js"></script> | ||
<script defer src="/assets/js/fontawesome.min.js"></script> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
/* roboto-300 - latin-ext_latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 300; | ||
src: url('/assets/fonts/roboto-v27-latin-ext_latin-300.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-300italic - latin-ext_latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: italic; | ||
font-weight: 300; | ||
src: url('/assets/fonts/roboto-v27-latin-ext_latin-300italic.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300italic.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-300italic.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-italic - latin-ext_latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: italic; | ||
font-weight: 400; | ||
src: url('/assets/fonts/roboto-v27-latin-ext_latin-italic.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-italic.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-italic.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-italic.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-regular - latin-ext_latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url('/assets/fonts/roboto-v27-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-500 - latin-ext_latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 500; | ||
src: url('/assets/fonts/roboto-v27-latin-ext_latin-500.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-700 - latin-ext_latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: url('/assets/fonts/roboto-v27-latin-ext_latin-700.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-500italic - latin-ext_latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: italic; | ||
font-weight: 500; | ||
src: url('/assets/fonts/roboto-v27-latin-ext_latin-500italic.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500italic.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-500italic.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-700italic - latin-ext_latin */ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: italic; | ||
font-weight: 700; | ||
src: url('/assets/fonts/roboto-v27-latin-ext_latin-700italic.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700italic.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-v27-latin-ext_latin-700italic.svg#Roboto') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-mono-regular - latin */ | ||
@font-face { | ||
font-family: 'Roboto Mono'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url('/assets/fonts/roboto-mono-v13-latin-regular.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-mono-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-mono-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-mono-v13-latin-regular.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-mono-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-mono-v13-latin-regular.svg#RobotoMono') format('svg'); /* Legacy iOS */ | ||
} | ||
|
||
/* roboto-mono-700 - latin */ | ||
@font-face { | ||
font-family: 'Roboto Mono'; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: url('/assets/fonts/roboto-mono-v13-latin-700.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('/assets/fonts/roboto-mono-v13-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('/assets/fonts/roboto-mono-v13-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('/assets/fonts/roboto-mono-v13-latin-700.woff') format('woff'), /* Modern Browsers */ | ||
url('/assets/fonts/roboto-mono-v13-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('/assets/fonts/roboto-mono-v13-latin-700.svg#RobotoMono') format('svg'); /* Legacy iOS */ | ||
} |
Binary file not shown.
Oops, something went wrong.