Skip to content

Commit

Permalink
remove unneeded css
Browse files Browse the repository at this point in the history
  • Loading branch information
JayAgra committed Mar 23, 2023
1 parent a04b082 commit 72790af
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 46 deletions.
1 change: 1 addition & 0 deletions src/assets/spin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 0 additions & 21 deletions src/blackjack.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,6 @@
body {
text-align: center;
}
table {
border-collapse:separate;
border: solid var(--gameFlairColor) 1px;
border-radius: 6px;
}

td, th {
border-left: solid var(--gameFlairColor) 1px;
border-top: solid var(--inputColorSelected) 1px;
}

th {
background-color: var(--transparent);
color: var(--textColor);
border-top: none;
border-bottom: solid var(--gameFlairColor) 1px;
}

td:first-child, th:first-child {
border-left: none;
}

canvas {
background-color: #121212;
Expand Down
25 changes: 3 additions & 22 deletions src/points.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@
a:hover,a:active {
color: var(--textColor);
}
#rolesDisplay span{
display:none;
}
#rolesDisplay br{
display:none;
}
#rolesDisplay span:first-child{
display:inline;
}
</style>
<script src="appinstall.js"></script>
</head>
Expand All @@ -54,20 +45,10 @@ <h1 style="font-family: 'raleway-300'">2023 Scouting<br><span class="gametitle">
<button type="button" style="color: #000; background-color: #FFB600; border-radius: 0.5rem;; border-style: solid; border-color: #FFB600; border-width: 0.875rem;; margin-top: 1rem;" onclick="goToHome()">Back</button>
</form>
</div>
<br><small><a href="settings" style="all: unset;">Settings</a></small>
<!--<br><small><a href="offline.html" style="all: unset;">Access Offline Version</a></small>-->
<script>
window.addEventListener("load", () => {
checkNetwork(navigator.onLine);

window.addEventListener("online", () => {
checkNetwork(true);
});

window.addEventListener("offline", () => {
checkNetwork(false);
});
});
function goToHome() {
window.location.href = "/";
}
</script>
</body>
</html>
3 changes: 1 addition & 2 deletions src/spin.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<meta name="apple-mobile-web-app-title" content="Scouting">
<link rel="manifest" href="/app.webmanifest"/>
<link rel="stylesheet" href="float.min.css" type="text/css">
<link rel="stylesheet" href="assets/spin.css" type="text/css">
<meta name="mobile-web-app-capable" content="yes">
<script src="form.min.js"></script>
<style>
Expand All @@ -37,8 +38,6 @@
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
}
/* animation css */
@-webkit-keyframes spin0{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21600deg)}}@-webkit-keyframes spin1{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21630deg)}}@-webkit-keyframes spin2{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21660deg)}}@-webkit-keyframes spin3{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21690deg)}}@-webkit-keyframes spin4{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21720deg)}}@-webkit-keyframes spin5{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21750deg)}}@-webkit-keyframes spin6{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21780deg)}}@-webkit-keyframes spin7{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21810deg)}}@-webkit-keyframes spin8{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21840deg)}}@-webkit-keyframes spin9{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21870deg)}}@-webkit-keyframes spin10{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21900deg)}}@-webkit-keyframes spin11{2%{-webkit-transform:rotate(360deg)}100%{-webkit-transform:rotate(21930deg)}}.spinc11{-webkit-animation-name:spin0;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc10{-webkit-animation-name:spin1;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc9{-webkit-animation-name:spin2;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc8{-webkit-animation-name:spin3;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc7{-webkit-animation-name:spin4;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc6{-webkit-animation-name:spin5;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc5{-webkit-animation-name:spin6;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc4{-webkit-animation-name:spin7;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc3{-webkit-animation-name:spin8;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc2{-webkit-animation-name:spin9;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc1{-webkit-animation-name:spin10;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}.spinc0{-webkit-animation-name:spin11;-webkit-animation-duration:8s;-webkit-animation-fill-mode:forwards}
</style>
</head>

Expand Down
3 changes: 2 additions & 1 deletion src/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ var filesToCache = [
'fonts/Raleway-300.ttf',
'fonts/Raleway-500.ttf',
'settings',
'matches '
'matches',
'scouts'
];

console.log('service worker executed')
Expand Down

0 comments on commit 72790af

Please sign in to comment.