From 3b2fe1e184bd028f0fd610af1a6d52a0a146da5c Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Mon, 5 Dec 2016 17:02:42 +0100 Subject: [PATCH] improves headings and outline structure --- app/assets/stylesheets/layout.scss | 2 +- app/assets/stylesheets/participation.scss | 8 ++++++-- app/views/debates/show.html.erb | 4 ++-- app/views/kaminari/_paginator.html.erb | 2 +- app/views/proposal_ballots/index.html.erb | 2 +- app/views/proposals/_categories.html.erb | 2 +- app/views/proposals/_geozones.html.erb | 2 +- app/views/proposals/_popular.html.erb | 2 +- app/views/proposals/_retired.html.erb | 2 +- app/views/proposals/show.html.erb | 4 ++-- app/views/shared/_tag_cloud.html.erb | 2 +- app/views/spending_proposals/_sidebar.html.erb | 2 +- 12 files changed, 19 insertions(+), 15 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 6c6d739af..947349674 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -577,7 +577,7 @@ footer { } } -h3.sidebar-title { +h2.sidebar-title { border-top: 2px solid $brand; display: inline-block; font-size: rem-calc(16); diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 6dbaac394..11d4c97a1 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -383,7 +383,7 @@ aside { - h3 { + h2 { border-top: 2px solid $brand; display: inline-block; font-size: rem-calc(16); @@ -844,11 +844,15 @@ } p { - margin-bottom: 0; &.title { color: #FFD200; } + + &.title-date { + font-size: rem-calc(24); + font-weight: bold; + } } .info { diff --git a/app/views/debates/show.html.erb b/app/views/debates/show.html.erb index dca39677e..7a528ffa7 100644 --- a/app/views/debates/show.html.erb +++ b/app/views/debates/show.html.erb @@ -44,12 +44,12 @@