From 0b4d3fbc200e646eed48a1a919dde9ee03678688 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 10 Dec 2022 11:38:57 -0500 Subject: Bot can submit to scoreboard now Also updated the scoreboard styling refs #13 --- rails/app/assets/stylesheets/lingo/main.css.scss | 37 ++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 3 deletions(-) (limited to 'rails/app/assets/stylesheets') diff --git a/rails/app/assets/stylesheets/lingo/main.css.scss b/rails/app/assets/stylesheets/lingo/main.css.scss index c5bdad0..a65cd94 100644 --- a/rails/app/assets/stylesheets/lingo/main.css.scss +++ b/rails/app/assets/stylesheets/lingo/main.css.scss @@ -1,11 +1,12 @@ body { background-color: black; color: white; + font-family: sans-serif; } #header { width: 100%; - + img { max-width: 80%; margin: 0 auto; @@ -15,10 +16,40 @@ body { h2 { text-align: center; - font-family: sans-serif; } #scores { - width: 50%; 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