From ede07e6e38a346b3ff0bbccefb655f3ae0a32504 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 29 Nov 2023 23:01:44 -0500 Subject: Rewrite web component with Sinatra --- web/views/style.scss | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 web/views/style.scss (limited to 'web/views/style.scss') diff --git a/web/views/style.scss b/web/views/style.scss new file mode 100644 index 0000000..a65cd94 --- /dev/null +++ b/web/views/style.scss @@ -0,0 +1,55 @@ +body { + background-color: black; + color: white; + font-family: sans-serif; +} + +#header { + width: 100%; + + img { + max-width: 80%; + margin: 0 auto; + display: block; + } +} + +h2 { + text-align: center; +} + +#scores { + margin: 0 auto; + border-spacing: 0px; + tr { + &.even { + background-color: gray; + } + &.odd { + background-color: purple; + } + th { + text-align: left; + padding-left: 0.5em; + padding-bottom: 0.5em; + } + td { + padding-right: 1em; + padding-top: 0.5em; + padding-bottom: 0.5em; + border-collapse: collapse; + &:first-child { + padding-left: 1em; + } + img { + width: 2em; + } + &.score-pfp { + width: 2em; + } + &.score-value { + text-align: center; + } + } + } +} \ No newline at end of file -- cgit 1.4.1