Added bloated feature

master
E. Almqvist 3 years ago
parent 9263076701
commit b2955bb8c9
  1. 6
      src/app.rb
  2. 7
      src/misc/subtitles.txt
  3. 4
      src/views/layout.slim
  4. 26
      src/views/stylesheets/style.sass

@ -6,6 +6,12 @@ require "slim"
require "sqlite3"
require "sassc"
def get_random_subtitle
subtitles = File.readlines "misc/subtitles.txt"
subtitles.sample
end
get "/" do
slim :index
end

@ -0,0 +1,7 @@
V2FpdCwgbW9uZXkgaGFzIG5vIHZhbHVlPyEK
No such place like 127.0.0.1!
Fourty-two? What is that supposed to mean?
I use Arch btw
They glow in the dark...
What sort of executable format do you intend to support for apps running under your OS?
I would just like to interject for a moment...

@ -7,6 +7,10 @@ html lang="en"
title The Auction House
body
header
div
div#logo_container
h1 = "The Auction House"
h2 = get_random_subtitle
nav
ul
li

@ -27,9 +27,33 @@ body
header
background-color: $bg_alt_clr
border-bottom: 1px solid $shadow_clr
nav
padding: .2rem 0 .6rem 0
div
display: flex
max-width: 80rem
margin: 0 auto
div#logo_container
display: flex
flex-direction: column
margin: 0
h1
margin: 0
opacity: .5
font-size: 2rem
font-weight: bold
h2
padding-left: 6px
margin: 0
opacity: .28
font-size: .8rem
font-style: italic
font-weight: normal
nav
margin: 0 0 0 auto
padding: 8px
ul

Loading…
Cancel
Save