mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 15:24:46 -04:00
Don't import reset.css to prevent FOUC
This commit is contained in:
parent
3ed5c8f189
commit
500b2e8150
3 changed files with 2 additions and 2 deletions
|
@ -28,6 +28,7 @@ print("\n");
|
|||
<title><? if($title != ''){ ?><?= Formatter::ToPlainText($title) ?> - <? } ?>Standard Ebooks: Free and liberated ebooks, carefully produced for the true book lover.</title>
|
||||
<? if($description != ''){ ?><meta content="<?= Formatter::ToPlainText($description) ?>" name="description"/><? } ?>
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
||||
<link href="/css/reset.css" media="screen" rel="stylesheet" type="text/css"/>
|
||||
<link href="/css/core.css?version=<?= crc32(file_get_contents(WEB_ROOT . '/css/core.css')) ?>" media="screen" rel="stylesheet" type="text/css"/>
|
||||
<? if($manual){ ?>
|
||||
<link href="/css/manual.css?version=<?= crc32(file_get_contents(WEB_ROOT . '/css/manual.css')) ?>" media="screen" rel="stylesheet" type="text/css"/>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
@import url("reset.css");
|
||||
|
||||
@font-face{
|
||||
font-family: "FontAwesome";
|
||||
src: local("FontAwesome"), url("/fonts/font-awesome.woff2") format("woff2");
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* Dont @import this, to prevent FOUC */
|
||||
html{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue