Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated style for Open Sans font, changed ribbons 2nd level text style #19

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
_site
.ruby-version
.ruby-version
.DS_Store
Binary file added fonts/OpenSans-Light-webfont.eot
Binary file not shown.
1,829 changes: 1,829 additions & 0 deletions fonts/OpenSans-Light-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/OpenSans-Light-webfont.ttf
Binary file not shown.
Binary file added fonts/OpenSans-Light-webfont.woff
Binary file not shown.
Binary file added fonts/OpenSans-LightItalic-webfont.eot
Binary file not shown.
1,833 changes: 1,833 additions & 0 deletions fonts/OpenSans-LightItalic-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/OpenSans-LightItalic-webfont.ttf
Binary file not shown.
Binary file added fonts/OpenSans-LightItalic-webfont.woff
Binary file not shown.
38 changes: 36 additions & 2 deletions stylesheets/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,34 @@
font-style: normal;
}

@font-face {
font-family: 'Open Sans';
src: url('OpenSans-Light-webfont.eot');
src: url('OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('OpenSans-Light-webfont.woff2') format('woff2'),
url('OpenSans-Light-webfont.woff') format('woff'),
url('OpenSans-Light-webfont.ttf') format('truetype'),
url('OpenSans-Light-webfont.svg#OpenSansLight') format('svg');
font-weight: lighter;
font-style: normal;

}

@font-face {
font-family: 'Open Sans';
src: url('OpenSans-LightItalic-webfont.eot');
src: url('OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
url('OpenSans-LightItalic-webfont.woff2') format('woff2'),
url('OpenSans-LightItalic-webfont.woff') format('woff'),
url('OpenSans-LightItalic-webfont.ttf') format('truetype'),
url('OpenSans-LightItalic-webfont.svg#OpenSans') format('svg');
font-weight: lighter;
font-style: italic;

}



/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
Expand Down Expand Up @@ -153,6 +181,11 @@ header span.ribbon-inner {
z-index: 1;
}

header span.ribbon-inner>h2{
font-weight: lighter;
font-style: italic;
}

header span.left-tail, header span.right-tail {
position: relative;
display: block;
Expand Down Expand Up @@ -188,7 +221,7 @@ header h1 {

header h2 {
background-color: #7c334f;
font: bold italic .85em/1.5 Georgia, Times, “Times New Roman”, serif;
font-size: .95em;
color: #e69b95;
padding-bottom: 14px;
margin-top: -3px;
Expand Down Expand Up @@ -313,7 +346,7 @@ footer span.ribbon-inner p {
background-color: #7c334f;
margin: 0;
color: #e69b95;
font: bold italic 12px/1 Georgia, Times, “Times New Roman”, serif;
font: lighter italic 12px/1 "Open Sans", Myriad, Helvetica, sans-serif;
padding-bottom:4px;
}

Expand Down Expand Up @@ -387,6 +420,7 @@ h1,h2,h3,h4,h5,h6 {
font-weight: bold;
}


p {
margin: .7em 0;
}
Expand Down