Skip to content

Commit

Permalink
[fonts][GDPR][m] Move font to local for GDPR - Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sneha-sharma12 committed Oct 9, 2023
1 parent acc7f12 commit b5738f3
Show file tree
Hide file tree
Showing 40 changed files with 5 additions and 43 deletions.
2 changes: 1 addition & 1 deletion ckanext/ubdc/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
@import url("/base/fonts/stylesheet.css");
@import url("../../../base/fonts/stylesheet.css?family=Open+Sans:300,200,400,600,600,700");
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
Expand Down
Binary file removed ckanext/ubdc/public/base/fonts/OpenSans-Bold.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed ckanext/ubdc/public/base/fonts/OpenSans-Italic.ttf
Binary file not shown.
Binary file removed ckanext/ubdc/public/base/fonts/OpenSans-Light.ttf
Binary file not shown.
Binary file not shown.
Binary file removed ckanext/ubdc/public/base/fonts/OpenSans-Medium.ttf
Binary file not shown.
Binary file not shown.
Binary file removed ckanext/ubdc/public/base/fonts/OpenSans-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
44 changes: 3 additions & 41 deletions ckanext/ubdc/public/base/fonts/stylesheet.css
Original file line number Diff line number Diff line change
@@ -1,46 +1,8 @@
/* Open Sans */
@font-face {
font-family: "OpenSans";
src: url("OpenSans-Light-webfont.eot");
src: url("OpenSans-Light-webfontd41d.eot?#iefix") format("embedded-opentype"),
url("OpenSans-Light-webfont.woff") format("woff"),
url("OpenSans-Light-webfont.ttf") format("truetype"),
url("OpenSans-Light-webfont.svg#OpenSansLight") format("svg");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "OpenSans";
src: url("OpenSans-LightItalic-webfont.eot");
src: url("OpenSans-LightItalic-webfontd41d.eot?#iefix")
format("embedded-opentype"),
url("OpenSans-LightItalic-webfont.woff") format("woff"),
url("OpenSans-LightItalic-webfont.ttf") format("truetype"),
url("OpenSans-LightItalic-webfont.svg#OpenSansLightItalic") format("svg");
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: "OpenSans";
src: url("OpenSans-Semibold-webfont.eot");
src: url("OpenSans-Semibold-webfontd41d.eot?#iefix")
format("embedded-opentype"),
url("OpenSans-Semibold-webfont.woff") format("woff"),
url("OpenSans-Semibold-webfont.ttf") format("truetype"),
url("OpenSans-Semibold-webfont.svg#OpenSansSemibold") format("svg");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "OpenSans";
src: url("OpenSans-SemiboldItalic-webfont.eot");
src: url("OpenSans-SemiboldItalic-webfontd41d.eot?#iefix")
format("embedded-opentype"),
url("OpenSans-SemiboldItalic-webfont.woff") format("woff"),
url("OpenSans-SemiboldItalic-webfont.ttf") format("truetype"),
url("OpenSans-SemiboldItalic-webfont.svg#OpenSansSemibold") format("svg");
font-weight: bold;
font-style: italic;
font-weight: 300;
src: local("Open Sans Regular"), local("OpenSans-Regular"),
url("OpenSans.ttf") format("truetype");
}
2 changes: 1 addition & 1 deletion ckanext/ubdc/public/base/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $imagePath: "../../../base/images";
$spritePath: "#{$imagePath}/sprite-ckan-icons.png";
$bgPath: "#{$imagePath}/bg.png";
$FontAwesomePath: "../../../base/vendor/font-awesome/font";
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,200,400,600,600,700');
@import url('../../../base/fonts/stylesheet.css?family=Open+Sans:300,200,400,600,600,700');

// Branding colors
$brandPrimary: #F37021;
Expand Down

0 comments on commit b5738f3

Please sign in to comment.