Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8f9b3dad
Commit
8f9b3dad
authored
Mar 16, 2015
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
certificates: referencing platform-centric copies of imported typefaces
parent
1ef0751f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
4 deletions
+49
-4
lms/static/certificates/css/main.css
+40
-1
lms/static/certificates/sass/base/_fonts.scss
+9
-3
No files found.
lms/static/certificates/css/main.css
View file @
8f9b3dad
@import
url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700)
;
html
{
html
{
box-sizing
:
border-box
;
}
box-sizing
:
border-box
;
}
...
@@ -429,6 +428,46 @@ th {
...
@@ -429,6 +428,46 @@ th {
.wrapper-header
,
.view-valid-certificate
.accomplishment
,
.view-invalid-certificate
.feedback
,
.view-validate-certificate
.instructions
{
.wrapper-header
,
.view-valid-certificate
.accomplishment
,
.view-invalid-certificate
.feedback
,
.view-validate-certificate
.instructions
{
box-shadow
:
0
2px
2px
0
rgba
(
0
,
0
,
0
,
0.1
);
}
box-shadow
:
0
2px
2px
0
rgba
(
0
,
0
,
0
,
0.1
);
}
@font-face
{
font-family
:
"Open Sans"
;
font-style
:
normal
;
font-weight
:
300
;
src
:
url("../../fonts/OpenSans/OpenSans-Light-webfont.eot?#iefix")
format
(
"embedded-opentype"
),
url("../../fonts/OpenSans/OpenSans-Light-webfont.woff")
format
(
"woff"
),
url("../../fonts/OpenSans/OpenSans-Light-webfont.ttf")
format
(
"truetype"
),
url("../../fonts/OpenSans/OpenSans-Light-webfont.svg#Open Sans")
format
(
"svg"
);
}
@font-face
{
font-family
:
"Open Sans"
;
font-style
:
italic
;
font-weight
:
300
;
src
:
url("../../fonts/OpenSans/OpenSans-LightItalic-webfont.eot?#iefix")
format
(
"embedded-opentype"
),
url("../../fonts/OpenSans/OpenSans-LightItalic-webfont.woff")
format
(
"woff"
),
url("../../fonts/OpenSans/OpenSans-LightItalic-webfont.ttf")
format
(
"truetype"
),
url("../../fonts/OpenSans/OpenSans-LightItalic-webfont.svg#Open Sans")
format
(
"svg"
);
}
@font-face
{
font-family
:
"Open Sans"
;
font-style
:
normal
;
font-weight
:
400
;
src
:
url("../../fonts/OpenSans/OpenSans-Regular-webfont.eot?#iefix")
format
(
"embedded-opentype"
),
url("../../fonts/OpenSans/OpenSans-Regular-webfont.woff")
format
(
"woff"
),
url("../../fonts/OpenSans/OpenSans-Regular-webfont.ttf")
format
(
"truetype"
),
url("../../fonts/OpenSans/OpenSans-Regular-webfont.svg#Open Sans")
format
(
"svg"
);
}
@font-face
{
font-family
:
"Open Sans"
;
font-style
:
italic
;
font-weight
:
400
;
src
:
url("../../fonts/OpenSans/OpenSans-Italic-webfont.eot?#iefix")
format
(
"embedded-opentype"
),
url("../../fonts/OpenSans/OpenSans-Italic-webfont.woff")
format
(
"woff"
),
url("../../fonts/OpenSans/OpenSans-Italic-webfont.ttf")
format
(
"truetype"
),
url("../../fonts/OpenSans/OpenSans-Italic-webfont.svg#Open Sans")
format
(
"svg"
);
}
@font-face
{
font-family
:
"Open Sans"
;
font-style
:
normal
;
font-weight
:
600
;
src
:
url("../../fonts/OpenSans/OpenSans-Semibold-webfont.eot?#iefix")
format
(
"embedded-opentype"
),
url("../../fonts/OpenSans/OpenSans-Semibold-webfont.woff")
format
(
"woff"
),
url("../../fonts/OpenSans/OpenSans-Semibold-webfont.ttf")
format
(
"truetype"
),
url("../../fonts/OpenSans/OpenSans-Semibold-webfont.svg#Open Sans")
format
(
"svg"
);
}
@font-face
{
font-family
:
"Open Sans"
;
font-style
:
italic
;
font-weight
:
600
;
src
:
url("../../fonts/OpenSans/OpenSans-SemiboldItalic-webfont.eot?#iefix")
format
(
"embedded-opentype"
),
url("../../fonts/OpenSans/OpenSans-SemiboldItalic-webfont.woff")
format
(
"woff"
),
url("../../fonts/OpenSans/OpenSans-SemiboldItalic-webfont.ttf")
format
(
"truetype"
),
url("../../fonts/OpenSans/OpenSans-SemiboldItalic-webfont.svg#Open Sans")
format
(
"svg"
);
}
@font-face
{
font-family
:
"Open Sans"
;
font-style
:
normal
;
font-weight
:
700
;
src
:
url("../../fonts/OpenSans/OpenSans-Bold-webfont.eot?#iefix")
format
(
"embedded-opentype"
),
url("../../fonts/OpenSans/OpenSans-Bold-webfont.woff")
format
(
"woff"
),
url("../../fonts/OpenSans/OpenSans-Bold-webfont.ttf")
format
(
"truetype"
),
url("../../fonts/OpenSans/OpenSans-Bold-webfont.svg#Open Sans")
format
(
"svg"
);
}
@font-face
{
font-family
:
"Open Sans"
;
font-style
:
italic
;
font-weight
:
700
;
src
:
url("../../fonts/OpenSans/OpenSans-BoldItalic-webfont.eot?#iefix")
format
(
"embedded-opentype"
),
url("../../fonts/OpenSans/OpenSans-BoldItalic-webfont.woff")
format
(
"woff"
),
url("../../fonts/OpenSans/OpenSans-BoldItalic-webfont.ttf")
format
(
"truetype"
),
url("../../fonts/OpenSans/OpenSans-BoldItalic-webfont.svg#Open Sans")
format
(
"svg"
);
}
@-webkit-keyframes
fadeIn
{
@-webkit-keyframes
fadeIn
{
0
%
{
0
%
{
opacity
:
0.0
;
}
opacity
:
0.0
;
}
...
...
lms/static/certificates/sass/base/_fonts.scss
View file @
8f9b3dad
// ------------------------------
// ------------------------------
// Open edX Certificates: Fonts
// Open edX Certificates: Fonts
// import from google fonts - Open Sans
// Open Sans (within the LMS at large)
// (http://www.google.com/fonts/specimen/Open+Sans)
@include
font-face
(
'Open Sans'
,
'../../fonts/OpenSans/OpenSans-Light-webfont'
,
300
,
$file-formats
:
eot
woff
ttf
svg
);
@import
url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700)
;
@include
font-face
(
'Open Sans'
,
'../../fonts/OpenSans/OpenSans-LightItalic-webfont'
,
300
,
italic
,
$file-formats
:
eot
woff
ttf
svg
);
@include
font-face
(
'Open Sans'
,
'../../fonts/OpenSans/OpenSans-Regular-webfont'
,
400
,
$file-formats
:
eot
woff
ttf
svg
);
@include
font-face
(
'Open Sans'
,
'../../fonts/OpenSans/OpenSans-Italic-webfont'
,
400
,
italic
,
$file-formats
:
eot
woff
ttf
svg
);
@include
font-face
(
'Open Sans'
,
'../../fonts/OpenSans/OpenSans-Semibold-webfont'
,
600
,
$file-formats
:
eot
woff
ttf
svg
);
@include
font-face
(
'Open Sans'
,
'../../fonts/OpenSans/OpenSans-SemiboldItalic-webfont'
,
600
,
italic
,
$file-formats
:
eot
woff
ttf
svg
);
@include
font-face
(
'Open Sans'
,
'../../fonts/OpenSans/OpenSans-Bold-webfont'
,
700
,
$file-formats
:
eot
woff
ttf
svg
);
@include
font-face
(
'Open Sans'
,
'../../fonts/OpenSans/OpenSans-BoldItalic-webfont'
,
700
,
italic
,
$file-formats
:
eot
woff
ttf
svg
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment