From 4cc1a2f9dc215f91e969269002496b611d933e32 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 21 Aug 2021 23:43:16 -0400 Subject: add players controller and start homepage --- app/assets/stylesheets/application.css | 54 ++++++++++++++++++++++++++++++++++ app/assets/stylesheets/machines.scss | 3 -- app/assets/stylesheets/players.scss | 3 -- 3 files changed, 54 insertions(+), 6 deletions(-) delete mode 100644 app/assets/stylesheets/machines.scss delete mode 100644 app/assets/stylesheets/players.scss (limited to 'app/assets/stylesheets') diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index d05ea0f..61eef33 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -13,3 +13,57 @@ *= require_tree . *= require_self */ + +main { + -webkit-font-feature-settings: "liga" on, "calt" on; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + font-family: 'JetBrains Mono', 'Input Mono', monospace; + max-width: 38rem; + padding: 2rem; + margin: auto; +} + +@media only screen and (max-device-width: 736px) { + main { + padding: 0.2rem; + } +} + +::selection { + background: #9c0018; +} + +body { + background: #282828; + color: #ebdbb2; +} + +pre { + background-color: #3c3836; + padding: 1em; + border: 0; +} + +a, a:active, a:visited { + color: #e491b6; + background-color: #1d2021; +} + +h1, h2, h3, h4, h5 { + margin-bottom: .1rem; +} + +blockquote { + border-left: 1px solid #bdae93; + margin: 0.5em 10px; + padding: 0.5em 10px; +} + +footer { + align: center; +} + +img { + max-width: 100%; +} diff --git a/app/assets/stylesheets/machines.scss b/app/assets/stylesheets/machines.scss deleted file mode 100644 index 1cabf09..0000000 --- a/app/assets/stylesheets/machines.scss +++ /dev/null @@ -1,3 +0,0 @@ -// Place all the styles related to the Machines controller here. -// They will automatically be included in application.css. -// You can use Sass (SCSS) here: https://sass-lang.com/ diff --git a/app/assets/stylesheets/players.scss b/app/assets/stylesheets/players.scss deleted file mode 100644 index a74761d..0000000 --- a/app/assets/stylesheets/players.scss +++ /dev/null @@ -1,3 +0,0 @@ -// Place all the styles related to the Players controller here. -// They will automatically be included in application.css. -// You can use Sass (SCSS) here: https://sass-lang.com/ -- cgit 1.4.1