Skip to content
Snippets Groups Projects
Commit b2623765 authored by Administrator's avatar Administrator
Browse files

Merge branch 'master' into 'master'

Refine the styling/formatting

See merge request clo/cl-site!26
parents 18510eed b163a181
No related branches found
No related tags found
No related merge requests found
$(document).ready(function(){ $(document).ready(function () {
$("span.menu-link").click(function(event){ $("span.menu-link").click(function (event) {
var nextMenu = $(this).next(".menu"); var nextMenu = $(this).next(".menu");
console.log(nextMenu.siblings(".menu").slideUp()); console.log(nextMenu.siblings(".menu").slideUp());
nextMenu.siblings(".menu").slideUp(); nextMenu.siblings(".menu").slideUp();
...@@ -11,6 +11,6 @@ $(document).ready(function(){ ...@@ -11,6 +11,6 @@ $(document).ready(function(){
var $quotes = $('#quotes > div'); var $quotes = $('#quotes > div');
var $quote = $($quotes[Math.floor(Math.random() * $quotes.length)]); var $quote = $($quotes[Math.floor(Math.random() * $quotes.length)]);
$('#lisp-quote').html($quote.html()); $('#lisp-quote').html($quote.html());
}); });
...@@ -10,6 +10,8 @@ body{ ...@@ -10,6 +10,8 @@ body{
.main { .main {
overflow: auto; overflow: auto;
padding-top: 50px; padding-top: 50px;
font-size: 1rem;
line-height: 1.9;
} }
.footer{ .footer{
position:absolute; position:absolute;
...@@ -18,7 +20,16 @@ body{ ...@@ -18,7 +20,16 @@ body{
height:60px; height:60px;
line-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 { h1 {
padding-bottom: 1em; padding-bottom: 1em;
} }
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
{{/styles}} {{/styles}}
</head> </head>
<body> <body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top"> <nav id="navbar" class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top cl-navbar">
<a class="navbar-brand" href="/"> <a class="navbar-brand regular-text" href="/">
<img width="30px" height="30px" <img width="30px" height="30px"
src="/static/imgs/lisplogo.png" /> src="/static/imgs/lisplogo.png" />
Common-Lisp.net</a> Common-Lisp.net</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment