Skip to content

Commit

Permalink
Remove unnecessary includes
Browse files Browse the repository at this point in the history
  • Loading branch information
LegoFigure11 committed Aug 6, 2023
1 parent 607ed81 commit 5fc5991
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 69 deletions.
4 changes: 2 additions & 2 deletions showcase/hidden-grotto.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ <h1>Hidden Grotto</h1>

</div>

{% include_relative resources/css/index.css.html %}
{% include_relative resources/js/adjust-height.js.html %}
<style src="../resources/css/index.css"></style>
<script src="../resources/js/adjust-height.js"></script>
4 changes: 2 additions & 2 deletions showcase/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ <h1>Showcase &amp; Trophy Cabinet</h1>
{% include_relative pokemon/ot/0830-onion.html %}
</div>

{% include_relative resources/css/index.css.html %}
<!-- {% include_relative resources/js/adjust-height.js.html %} -->
<style src="../resources/css/index.css"></style>
<!-- <script src="../resources/js/adjust-height.js"></script> -->
53 changes: 53 additions & 0 deletions showcase/resources/css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/* General */
.ball-container {
height: 32px;
}

.img-container {
height: 72px;
}

.img-container-80 {
height: 80px;
}

.img-container-96 {
height: 96px;
}

.male {
color: #0d6efd;
}

.female {
color: #dc3545;
}

/* Origin Game */
.colo {
color: #cfdced;
}

.emerald {
color: #66cc66;
}

.go {
color: #35c6ff;
}

.sapphire {
color: #0066cc;
}

.shield {
color: #bf004f;
}

.sword {
color: #00a1e9;
}

.xd {
color: #745fa1;
}
55 changes: 0 additions & 55 deletions showcase/resources/css/index.css.html

This file was deleted.

8 changes: 8 additions & 0 deletions showcase/resources/js/adjust-height.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
$("document").ready(function () {
$(".adjust-height").each(function () {
var t = $(this);
var h = t.height();
var p = t.parent().height();
t.css("padding-top", (p - h) / 2 + "px");
});
});
10 changes: 0 additions & 10 deletions showcase/resources/js/adjust-height.js.html

This file was deleted.

0 comments on commit 5fc5991

Please sign in to comment.