Profile: styling & bugs

master
E. Almqvist 3 years ago
parent ad1247b7a4
commit 6ae324216f
  1. 1
      src/Gemfile
  2. 4
      src/Gemfile.lock
  3. 1
      src/app.rb
  4. 3
      src/db_models.rb
  5. 10
      src/views/stylesheets/style.sass

@ -13,3 +13,4 @@ gem "slim"
gem "sassc"
gem "colorize"
gem "bcrypt"
gem "redcarpet"

@ -4,13 +4,13 @@ GEM
bcrypt (3.1.16)
colorize (0.8.1)
ffi (1.15.5)
gravatar (1.0)
multi_json (1.15.0)
mustermann (1.1.1)
ruby2_keywords (>= 0.0.1)
rack (2.2.3)
rack-protection (2.1.0)
rack
redcarpet (3.5.1)
ruby2_keywords (0.0.5)
sassc (2.4.0)
ffi (~> 1.9)
@ -40,7 +40,7 @@ PLATFORMS
DEPENDENCIES
bcrypt
colorize
gravatar
redcarpet
sassc
sinatra
sinatra-reloader

@ -9,6 +9,7 @@ require "sqlite3"
require "sassc"
require "colorize"
require "bcrypt"
require "redcarpet"
require_relative "config.rb"
require_relative "debug.rb"

@ -26,7 +26,8 @@ class User < EntityModel
end
def bio_html
"<h1>Yes</h1>"
md_parser = Redcarpet::Markdown.new(Redcarpet::Render::HTML)
md_parser.render @bio_text
end
def reputation_text

@ -39,6 +39,7 @@ html
body
margin: 0
height: 100%
overflow-y: hidden
header
height: 55px
@ -246,6 +247,8 @@ ul.button-container
flex-wrap: nowrap
a.button
padding: 0
li
background: $special_clr
p
text-align: center
color: $fg_alt_clr
@ -275,5 +278,12 @@ ul.button-container
#bio
min-height: 14rem
max-height: 50rem
width: 100%
.card-container
height: 92.5%
overflow-y: scroll
margin-bottom: 4rem
padding-bottom: 2rem

Loading…
Cancel
Save