From 8309119b9515b16fea8bdd099d0e8f9475550066 Mon Sep 17 00:00:00 2001 From: Timofei <tim@getsquire.com> Date: Thu, 11 Oct 2018 23:22:11 +0300 Subject: [PATCH] Header size & color are changed --- content/static/js/scripts.js | 8 ++++---- layout/css/layout_2018.css | 13 ++++++++++++- layout/templates/layout_2018.html | 4 ++-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/content/static/js/scripts.js b/content/static/js/scripts.js index c61cc97..7447e3f 100644 --- a/content/static/js/scripts.js +++ b/content/static/js/scripts.js @@ -1,6 +1,6 @@ -$(document).ready(function(){ - - $("span.menu-link").click(function(event){ +$(document).ready(function () { + + $("span.menu-link").click(function (event) { var nextMenu = $(this).next(".menu"); console.log(nextMenu.siblings(".menu").slideUp()); nextMenu.siblings(".menu").slideUp(); @@ -11,6 +11,6 @@ $(document).ready(function(){ var $quotes = $('#quotes > div'); var $quote = $($quotes[Math.floor(Math.random() * $quotes.length)]); - + $('#lisp-quote').html($quote.html()); }); diff --git a/layout/css/layout_2018.css b/layout/css/layout_2018.css index be31fa7..08567bf 100644 --- a/layout/css/layout_2018.css +++ b/layout/css/layout_2018.css @@ -10,6 +10,8 @@ body{ .main { overflow: auto; padding-top: 50px; + font-size: 1rem; + line-height: 1.9; } .footer{ position:absolute; @@ -18,7 +20,16 @@ body{ height:60px; line-height:60px; } - +.cl-navbar { + border-width: 0px; + box-shadow: 0px 1px 10px lightgrey; + font-weight: bold; + padding-top: 0; + padding-bottom: 0; +} +.regular-text { + font-weight: 400; +} h1 { padding-bottom: 1em; } diff --git a/layout/templates/layout_2018.html b/layout/templates/layout_2018.html index bdafd63..3d8de26 100644 --- a/layout/templates/layout_2018.html +++ b/layout/templates/layout_2018.html @@ -15,8 +15,8 @@ {{/styles}} </head> <body> - <nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top"> - <a class="navbar-brand" href="/"> + <nav id="navbar" class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top cl-navbar"> + <a class="navbar-brand regular-text" href="/"> <img width="30px" height="30px" src="/static/imgs/lisplogo.png" /> Common-Lisp.net</a> -- GitLab