mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Use style linking with font-face
This prevents bold fonts to fallback to plain sans-serif in IE6-7 due to some bug between IE and github servers.
This commit is contained in:
parent
dc141114b3
commit
cc2b858485
1 changed files with 19 additions and 16 deletions
|
@ -12,15 +12,15 @@ h1,h2,h3{
|
|||
text-align:left;
|
||||
}
|
||||
h1{
|
||||
font-family:'UbuntuBold', sans-serif;
|
||||
font-weight:normal;
|
||||
font-family:'Ubuntu', sans-serif;
|
||||
font-weight:700;
|
||||
color:#0d579b;
|
||||
font-size:160%;
|
||||
margin-top: 0;
|
||||
}
|
||||
h2{
|
||||
font-family:'UbuntuBold', sans-serif;
|
||||
font-weight:normal;
|
||||
font-family:'Ubuntu', sans-serif;
|
||||
font-weight:700;
|
||||
color:#383838;
|
||||
font-size:130%;
|
||||
}
|
||||
|
@ -83,44 +83,44 @@ li p{
|
|||
/*Styles for whole website*/
|
||||
|
||||
@font-face{
|
||||
font-family:'UbuntuRegular';
|
||||
font-family:'Ubuntu';
|
||||
src:url('/font/ubuntu-r-webfont.eot');
|
||||
src:url('/font/ubuntu-r-webfont.eot?iefix') format('eot'),
|
||||
url('/font/ubuntu-r-webfont.woff') format('woff'),
|
||||
url('/font/ubuntu-r-webfont.ttf') format('truetype'),
|
||||
url('/font/ubuntu-r-webfont.svg') format('svg');
|
||||
font-weight:normal;
|
||||
font-weight:300;
|
||||
font-style:normal;
|
||||
}
|
||||
@font-face{
|
||||
font-family:'UbuntuItalic';
|
||||
font-family:'Ubuntu';
|
||||
src:url('/font/ubuntu-ri-webfont.eot');
|
||||
src:url('/font/ubuntu-ri-webfont.eot?iefix') format('eot'),
|
||||
url('/font/ubuntu-ri-webfont.woff') format('woff'),
|
||||
url('/font/ubuntu-ri-webfont.ttf') format('truetype'),
|
||||
url('/font/ubuntu-ri-webfont.svg') format('svg');
|
||||
font-weight:normal;
|
||||
font-style:normal;
|
||||
font-weight:300;
|
||||
font-style:italic;
|
||||
}
|
||||
@font-face{
|
||||
font-family:'UbuntuBold';
|
||||
font-family:'Ubuntu';
|
||||
src:url('/font/ubuntu-b-webfont.eot');
|
||||
src:url('/font/ubuntu-b-webfont.eot?iefix') format('eot'),
|
||||
url('/font/ubuntu-b-webfont.woff') format('woff'),
|
||||
url('/font/ubuntu-b-webfont.ttf') format('truetype'),
|
||||
url('/font/ubuntu-b-webfont.svg') format('svg');
|
||||
font-weight:normal;
|
||||
font-weight:700;
|
||||
font-style:normal;
|
||||
}
|
||||
@font-face{
|
||||
font-family:'UbuntuBoldItalic';
|
||||
font-family:'Ubuntu';
|
||||
src:url('/font/ubuntu-bi-webfont.eot');
|
||||
src:url('/font/ubuntu-bi-webfont.eot?iefix') format('eot'),
|
||||
url('/font/ubuntu-bi-webfont.woff') format('woff'),
|
||||
url('/font/ubuntu-bi-webfont.ttf') format('truetype'),
|
||||
url('/font/ubuntu-bi-webfont.svg') format('svg');
|
||||
font-weight:normal;
|
||||
font-style:normal;
|
||||
font-weight:700;
|
||||
font-style:italic;
|
||||
}
|
||||
|
||||
.alert-message{
|
||||
|
@ -255,7 +255,8 @@ li p{
|
|||
-webkit-left-radius:5px;
|
||||
}
|
||||
#menufor li a,#menufor li a:active,#menufor li a:visited,#menufor li a:link{
|
||||
font-family:'UbuntuBold', sans-serif;
|
||||
font-family:'Ubuntu', sans-serif;
|
||||
font-weight:700;
|
||||
font-size:105%;
|
||||
display:block;
|
||||
text-decoration:none;
|
||||
|
@ -283,6 +284,7 @@ li p{
|
|||
}
|
||||
#menu li a,#menu li a:active,#menu li a:visited,#menu li a:link{
|
||||
font-family:'Ubuntu', sans-serif;
|
||||
font-weight:300;
|
||||
display:block;
|
||||
color:#6a6a6a;
|
||||
text-decoration:none;
|
||||
|
@ -330,13 +332,14 @@ li p{
|
|||
}
|
||||
|
||||
#choose a,#before a,#support a{
|
||||
font-family:'Ubuntu', sans-serif;
|
||||
font-weight:700;
|
||||
padding:10px 8px 10px 48px;
|
||||
color:#fff;
|
||||
display:block;
|
||||
text-align:left;
|
||||
margin-bottom:10px;
|
||||
text-decoration:none;
|
||||
font-weight:bold;
|
||||
border-radius:5px;
|
||||
-webkit-border-radius:5px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue