Skip to content

Commit

Permalink
pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
abadi199 committed Jan 30, 2020
1 parent aa7fe09 commit bc5c341
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 8 deletions.
Binary file added images/icons-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<body>
<div id="app"></div>
<script src="./src/index.re"></script>
<link rel="manifest" href="./manifest.webmanifest" />
<link
href="https://fonts.googleapis.com/css?family=Quicksand&display=swap"
rel="stylesheet"
Expand Down
22 changes: 22 additions & 0 deletions manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"short_name": "Phonics",
"name": "Phonics",
"icons": [
{
"src": "/images/icons-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/images/icons-512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "",
"background_color": "#DFDFDF",
"display": "standalone",
"scope": "",
"orientation": "landscape",
"theme_color": "#FFA229"
}
18 changes: 10 additions & 8 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
display: flex;
align-items: center;
justify-content: center;
font-size: 100px;
cursor: pointer;
border-top-style: solid;

Expand Down Expand Up @@ -81,10 +80,12 @@
display: grid;
position: relative;
.phoneme {
border-top-width: 20px;
border-radius: 15px;
width: 100px;
height: 150px;
margin: 10px 10px;
border-top-width: 20px;
font-size: 60px;
}
.selected {
background: rgba(0, 0, 0, 0.15);
Expand All @@ -96,11 +97,12 @@
width: 100%;
align-items: center;
.phoneme {
border-top-width: 10px;
border-top-width: 15px;
border-radius: 10px;
margin: 0 40px;
width: 100px;
height: 150px;
font-size: 50px;
width: 80px;
height: 100px;
font-size: 40px;
margin: 10px 10px;
}
}
Expand All @@ -118,9 +120,9 @@
.phoneme {
border-top-width: 40px;
margin: 0 20px;
width: 200px;
width: 250px;
height: 300px;
font-size: 250px;
font-size: 150px;
}
}
}

0 comments on commit bc5c341

Please sign in to comment.