Skip to content

Commit

Permalink
minify CSS #319
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Mar 2, 2023
1 parent 7d36295 commit 4e1f555
Showing 1 changed file with 9 additions and 34 deletions.
43 changes: 9 additions & 34 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html>
<head>
<base href="$FLUTTER_BASE_HREF">

<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description" content="A new Flutter project.">
Expand All @@ -20,46 +19,22 @@
<link rel="manifest" href="manifest.json">

<script>
// The value below is injected by flutter build, do not touch.
// Version injected by flutter build, do not touch.
var serviceWorkerVersion = null;
</script>
<!-- This script adds the flutter initialization JS code -->
<!-- Flutter init JS code -->
<script src="flutter.js" defer></script>
<style>
/* unminify.com */
body{inset:0;overflow:hidden;margin:0;padding:0;position:fixed}
#loading{align-items:center;background-color:#354046;display:flex;flex-direction:column;justify-content:center;height:100%;width:100%}
#loading h1{color:#f2f2f2;font-family:'Open Sans',sans-serif;font-size:30px;font-weight:300;line-height:32px;margin-top:20px;text-align:center}
</style>
</head>
<body>
<div id="loading">
<style>
body {
inset: 0;
overflow: hidden;
margin: 0;
padding: 0;
position: fixed;
}

#loading {
align-items: center;
background-color: #354046;
display: flex;
flex-direction: column;
justify-content: center;
height: 100%;
width: 100%;
}

#loading span {
color: #F2F2F2;
font-family: 'Open Sans', sans-serif;
font-size: 30px;
font-weight: 300;
line-height: 32px;
margin-top: 20px;
text-align: center;
}

</style>
<img src="icons/Icon-192.png" alt="dwyl logo" height="64px" />
<span>do what you love</span>
<h1>do what you love</h1>
</div>
<script>
window.addEventListener('load', function(ev) {
Expand Down

0 comments on commit 4e1f555

Please sign in to comment.