mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 17:01:08 -04:00
CSS include
This commit is contained in:
parent
20090b5acd
commit
2ea15c1c0b
2 changed files with 9 additions and 6 deletions
11
css/main.css
11
css/main.css
|
@ -7,6 +7,7 @@ body, html {
|
|||
|
||||
|
||||
font-family: "helvetica-neue";
|
||||
font-weight: 200px;
|
||||
color: #fff;
|
||||
font-size: 75px;
|
||||
}
|
||||
|
@ -106,11 +107,11 @@ body, html {
|
|||
|
||||
@font-face {
|
||||
font-family: 'helvetica-neue';
|
||||
src: url('../font/helvetica-neue-webfont.eot');
|
||||
src: url('../font/helvetica-neue-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../font/helvetica-neue-webfont.woff') format('woff'),
|
||||
url('../font/helvetica-neue-webfont.ttf') format('truetype'),
|
||||
url('../font/helvetica-neue-webfont.svg#helvetica-neue-webfontRg') format('svg');
|
||||
src: url('font/helvetica-neue-webfont.eot');
|
||||
src: url('font/helvetica-neue-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('font/helvetica-neue-webfont.woff') format('woff'),
|
||||
url('font/helvetica-neue-webfont.ttf') format('truetype'),
|
||||
url('font/helvetica-neue-webfont.svg#helvetica-neue-webfontRg') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
|
@ -1,7 +1,9 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Magic Mirror</title>
|
||||
<link rel="stylesheet" type="text/css" href="css/main.css?nocache=<?php echo md5(microtime()) ?>">
|
||||
<style type="text/css">
|
||||
<?php include('css/main.css') ?>
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css" href="css/weather-icons.css">
|
||||
<script type="text/javascript">
|
||||
var gitHash = '<?php echo trim(`git rev-parse HEAD`) ?>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue