Don't import reset.css to prevent FOUC

This commit is contained in:
Alex Cabal 2020-11-19 20:42:05 -06:00
parent 3ed5c8f189
commit 500b2e8150
3 changed files with 2 additions and 2 deletions

View file

@ -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"/>

View file

@ -1,5 +1,3 @@
@import url("reset.css");
@font-face{
font-family: "FontAwesome";
src: local("FontAwesome"), url("/fonts/font-awesome.woff2") format("woff2");

View file

@ -1,3 +1,4 @@
/* Dont @import this, to prevent FOUC */
html{
margin: 0;
padding: 0;