diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 8e59368..502aca5 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -28,3 +28,8 @@ .table:last-child { margin-bottom: 0px; } + +/* Allow non- elements to look exactly like elements */ +.hyperlink { + @extend a; +} diff --git a/app/assets/stylesheets/top4.css.scss b/app/assets/stylesheets/top4.css.scss index 5be90df..84cef4b 100644 --- a/app/assets/stylesheets/top4.css.scss +++ b/app/assets/stylesheets/top4.css.scss @@ -2,15 +2,20 @@ // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ -.top4.toprow { - height: 300px; +.toprow { + // At 992 px the ordinal bar graph drops down + @media (min-width: 992px) { + height: 300px; + } + + .top4, .panel, #top-coders, #top-repos { + height: 100%; + } } div.top4 { margin: auto; - .panel { - height: 100%; - } + #top-coders { td { @@ -21,7 +26,7 @@ div.top4 { font-size: 20pt; text-align: right; width: 45px; - height: 45px; + height: 20%; } .avatar { width: 45px; @@ -39,7 +44,7 @@ div.top4 { tr:first-child { width: 90px; - height: 90px; + height: 40%; .name { font-size: 15pt; } diff --git a/app/views/bounties/index.html.erb b/app/views/bounties/index.html.erb index 7b9e53c..ca32f68 100644 --- a/app/views/bounties/index.html.erb +++ b/app/views/bounties/index.html.erb @@ -17,33 +17,37 @@