Merge pull request #5598 from edx/anton/maintenance-fonts

Maintenance page: Serving Fonts through Platform Assets
This commit is contained in:
Anton Stupak
2014-10-22 17:19:22 +03:00
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,11 @@
@font-face {
font-family: "Open Sans";
font-weight: 300;
src: url('../../fonts/OpenSans/OpenSans-Light-webfont.eot?') format('eot'),
url('../../fonts/OpenSans/OpenSans-Light-webfont.woff') format('woff'),
url('../../fonts/OpenSans/OpenSans-Light-webfont.ttf') format('truetype');
}
html, body {
height: 100%;
background: -webkit-radial-gradient(center, #fff, #e6e6e6);
@@ -23,4 +31,4 @@ h1 {
line-height: 36px;
color: #666;
text-align: center;
}
}

View File

@@ -2,7 +2,6 @@
<html lang="en">
<head>
<meta charset="utf-8">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/base.css">
</head>
@@ -18,4 +17,4 @@
</h1>
</body>
</html>
</html>