about summary refs log tree commit diff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2021-08-21 23:43:16 -0400
committerBen Harris <ben@tilde.team>2021-08-21 23:43:16 -0400
commit4cc1a2f9dc215f91e969269002496b611d933e32 (patch)
tree3ce174b1f9417a07fda71d7482b38d8ee4138c1b /app/assets/stylesheets
parent819a3edae405227f11283ad494a7f4ca9c771467 (diff)
add players controller and start homepage
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/application.css54
-rw-r--r--app/assets/stylesheets/machines.scss3
-rw-r--r--app/assets/stylesheets/players.scss3
3 files changed, 54 insertions, 6 deletions
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/