From bd55f79c9c69d557c5165b27b866d0480cd7115e Mon Sep 17 00:00:00 2001 From: Abhishek Y Date: Feb 22 2019 11:30:05 +0000 Subject: [PATCH 1/2] center-aligned the contents of sidebar for issue #74 The change in custom.css is made to center align the contents of the sidebar. --- diff --git a/assets/css/custom.css b/assets/css/custom.css index b0cad57..fcb9e06 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -114,6 +114,8 @@ blockquote { width: 25%; height: calc(100% + 20px); position: fixed; + display: flex; + justify-content: center; background: -moz-linear-gradient(top, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); background: -webkit-linear-gradient(top, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); background: linear-gradient(to bottom, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); From b909176faf1d0e521e4aadb4b997b71d52131dda Mon Sep 17 00:00:00 2001 From: PhoeniXAbhisheK Date: Feb 22 2019 15:55:19 +0000 Subject: [PATCH 2/2] css changed --- diff --git a/assets/css/custom.css b/assets/css/custom.css index fcb9e06..a91b8c5 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -4,12 +4,18 @@ body { font-size: 16px; } -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { font-family: 'Montserrat'; margin-top: 1.4em; } -a, a:hover { +a, +a:hover { color: #294172; } @@ -116,34 +122,28 @@ blockquote { position: fixed; display: flex; justify-content: center; - background: -moz-linear-gradient(top, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); - background: -webkit-linear-gradient(top, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); - background: linear-gradient(to bottom, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); + background: -moz-linear-gradient(top, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); + background: -webkit-linear-gradient(top, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); + background: linear-gradient(to bottom, #3c6eb4 0%, #3c6eb4 27%, #3c6eb4 27%, #3c6eb4 100%); } - aside .sidebar { max-width: 300px; float: right; } - aside .sidebar .logo { max-width: 90%; max-height: 300px; } - main { margin-left: 25%; } - main .container { padding: 0px 50px; width: 100%; } - blockquote { min-height: 130px; } - .row.content { min-height: 500px; } @@ -159,13 +159,15 @@ blockquote { vertical-align: initial; } -.btn-login, .btn-logout { - background: none; - color: white; - border: none; +.btn-login, +.btn-logout { + background: none; + color: white; + border: none; } -.btn-login:hover, .btn-logout:hover { +.btn-login:hover, +.btn-logout:hover { background: none; color: white; border: none; @@ -183,7 +185,7 @@ blockquote { inherit: none; display: inline-block; vertical-align: top; - font: normal normal normal 11px/18px 'Helvetica Neue',Arial,sans-serif; + font: normal normal normal 11px/18px 'Helvetica Neue', Arial, sans-serif; font-size: 13px; line-height: 26px; border-radius: 4px; @@ -195,11 +197,11 @@ blockquote { background-color: #2f4779; } -.google{ +.google { background-color: #d34836; } -.google:hover{ +.google:hover { background-color: #b72213; } @@ -207,4 +209,4 @@ blockquote { .btn-responsive { font-size: 15px; } -} +} \ No newline at end of file