Skip to content

Commit

Permalink
Text styling improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jennie committed Nov 14, 2023
1 parent 2776336 commit 0d6526f
Show file tree
Hide file tree
Showing 3 changed files with 1,620 additions and 15 deletions.
15 changes: 11 additions & 4 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import url("https://fonts.googleapis.com/css2?family=Handjet:wght@700&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down Expand Up @@ -105,19 +106,25 @@ body.crisis #weekPreamble {
#passageContainer {
@apply content-end justify-end mr-6 flex-col p-6 overflow-y-auto bg-neutral-100 bg-opacity-75 rounded-t-2xl h-full w-full;
}

#hud #passageContainer #passage {
@apply prose prose-xl prose-neutral;
}
#hud #passageContainer #passage p {
@apply mt-0;
}
#hud.player-screen #passageContainer {
@apply mr-0 flex-col p-6 overflow-y-auto bg-neutral-900 bg-opacity-75 rounded-2xl h-full w-full text-neutral-200;
}

#hud.player-screen #passageContainer > * {
@apply mb-4 text-neutral-200;
}

#hud.player-screen #passageContainer #passage h2 {
@apply text-2xl font-bold text-neutral-50 mb-4;
@apply text-2xl font-bold text-neutral-50 mb-4 mt-0;
}
#hud.player-screen #passageContainer #passage {
@apply prose prose-xl prose-neutral prose-invert;
}

#hud.player-screen #passageContainer #passage p {
@apply text-base text-neutral-200 mb-4;
}
Expand Down
Loading

0 comments on commit 0d6526f

Please sign in to comment.