Skip to content

Commit

Permalink
Change second font to Source Sans Pro
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Jan 26, 2020
1 parent b049fba commit dcfa41e
Show file tree
Hide file tree
Showing 21 changed files with 2,064 additions and 28 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
978 changes: 978 additions & 0 deletions static/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,049 changes: 1,049 additions & 0 deletions static/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed static/fonts/SourceCodePro-Light.ttf
Binary file not shown.
Binary file removed static/fonts/SourceCodePro-Regular.ttf
Binary file not shown.
65 changes: 37 additions & 28 deletions static/styles/jsdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,29 +118,29 @@ h6 {
}

.usertext h1 {
font-family: "Source Code Pro", monospace;
font-family: "Source Sans Pro";
font-size: 24px;
margin: 2.5em 0 1em;
font-weight: 300;
font-weight: 400;
}

.usertext h2 {
font-family: "Source Code Pro", monospace;
font-family: "Source Sans Pro";
font-size: 18px;
margin: 2em 0 0.5em;
font-weight: 300;
font-weight: 400;

}

.usertext h3 {
font-family: "Source Code Pro", monospace;
font-family: "Source Sans Pro";
font-size: 15px;
margin: 1.5em 0 0;
font-weight: 300;
font-weight: 400;
}

.usertext h4 {
font-family: "Source Code Pro", monospace;
font-family: "Source Sans Pro";
font-size: 14px;
margin: 0 0 0;
font-weight: 400;
Expand Down Expand Up @@ -721,36 +721,45 @@ html[data-search-mode] .level-hide {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
src: url('../fonts/Montserrat-Regular.eot'); /* IE9 Compat Modes */
src: url('../fonts/Montserrat-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/Montserrat-Regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/Montserrat-Regular.woff') format('woff'), /* Pretty Modern Browsers */
url('../fonts/Montserrat-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
src: url('../fonts/Montserrat/Montserrat-Regular.eot'); /* IE9 Compat Modes */
src: url('../fonts/Montserrat/Montserrat-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/Montserrat/Montserrat-Regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/Montserrat/Montserrat-Regular.woff') format('woff'), /* Pretty Modern Browsers */
url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
src: url('../fonts/Montserrat-Bold.eot'); /* IE9 Compat Modes */
src: url('../fonts/Montserrat-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/Montserrat-Bold.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/Montserrat-Bold.woff') format('woff'), /* Pretty Modern Browsers */
url('../fonts/Montserrat-Bold.ttf') format('truetype'); /* Safari, Android, iOS */
src: url('../fonts/Montserrat/Montserrat-Bold.eot'); /* IE9 Compat Modes */
src: url('../fonts/Montserrat/Montserrat-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/Montserrat/Montserrat-Bold.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/Montserrat/Montserrat-Bold.woff') format('woff'), /* Pretty Modern Browsers */
url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype'); /* Safari, Android, iOS */
}

@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 300;
font-display: swap;
src: local('Source Code Pro Light'), local('SourceCodePro-Light'), url(fonts/SourceCodePro-Light.ttf) format('truetype');
font-family: 'Source Sans Pro';
src: url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot');
src: url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2') format('woff2'),
url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff') format('woff'),
url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf') format('truetype'),
url('../fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(fonts/SourceCodePro-Regular.ttf) format('truetype');
}
font-family: 'Source Sans Pro';
src: url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot');
src: url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2') format('woff2'),
url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff') format('woff'),
url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf') format('truetype'),
url('../fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg#source_sans_prolight') format('svg');
font-weight: 300;
font-style: normal;

}

0 comments on commit dcfa41e

Please sign in to comment.