Skip to content

Commit

Permalink
Minor style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jennie committed Nov 7, 2023
1 parent f3caae5 commit 7c3b0e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 17 deletions.
6 changes: 3 additions & 3 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ html {
@keyframes pulseGlow {
0%,
100% {
filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.6));
}
50% {
filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
Expand Down Expand Up @@ -199,9 +199,9 @@ tw-story {

/* Tooltip text */
.tooltip {
@apply absolute font-mono whitespace-nowrap bg-black text-neutral-300 px-2 py-1 text-3xl rounded-md;
@apply absolute font-mono whitespace-nowrap bg-black text-neutral-300 px-2 py-1 text-lg rounded-md;
position: absolute;
bottom: 100%;
bottom: 70%;
left: 50%;
transform: translate(-50%, -10px);
}
Expand Down
17 changes: 4 additions & 13 deletions twine_src/css/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ html {
@keyframes pulseGlow {
0%,
100% {
filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.6));
}

50% {
Expand Down Expand Up @@ -1874,12 +1874,12 @@ tw-story {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 1.875rem;
line-height: 2.25rem;
font-size: 1.125rem;
line-height: 1.75rem;
--tw-text-opacity: 1;
color: rgb(212 212 212 / var(--tw-text-opacity));
position: absolute;
bottom: 100%;
bottom: 70%;
left: 50%;
transform: translate(-50%, -10px);
}
Expand Down Expand Up @@ -2040,15 +2040,6 @@ button:focus-visible{
--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity));
}

.enabled\:hover\:border-gray-400:hover:enabled{
--tw-border-opacity: 1;
border-color: rgb(156 163 175 / var(--tw-border-opacity));
}

.disabled\:opacity-75:disabled{
opacity: 0.75;
}

.disabled\:opacity-25:disabled{
opacity: 0.25;
}
Expand Down
4 changes: 3 additions & 1 deletion twine_src/main.twee
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ Jammy Jam
<div class="h-6 relative bg-neutral-600 rounded-full dark:bg-neutral-500 max-w-full energy-bar"
style="width: <%= setup.game.energy / 700 * 100 %>%"></div>
</div>
<div class="ml-6 block text-sm">Turn: <span id="turnCounter"><%= setup.game.turn %></span></div>
<div class="ml-6 block text-sm">
<span id="turnCounter"><%= 7 - setup.game.turn %> weeks to the show!</span>
</div>

</div>
<div id="hud">
Expand Down

0 comments on commit 7c3b0e6

Please sign in to comment.