Commit 32f43586 authored by Erik Huelsmann's avatar Erik Huelsmann
Browse files

Merge branch 'background-image' into 'master'

Darker theme

See merge request !94
parents d3ddd2d4 4dcf44ed
Pipeline #1448 passed with stages
in 8 seconds
......@@ -5,7 +5,21 @@ body{
position:relative;
min-height:100%;
padding-top:4.5rem;
background-color: gray;
}
body::after {
content: "";
background: url(/static/imgs/background2.png);
opacity: 0.7;
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}
#header {
display: flex;
flex-direction: column;
......@@ -33,18 +47,27 @@ body{
flex-grow: 1;
}
.main {
padding-top: 20px;
padding: 20px 30px;
font-size: 0.9rem;
line-height: 1.2rem;
overflow: auto;
overflow: auto;
background-color: rgb(252, 252, 252);
border-radius: 10px;
margin-top: 20px;
-webkit-box-shadow: 0px 0px 26px 8px rgba(67,67,67,1);
-moz-box-shadow: 0px 0px 26px 8px rgba(67,67,67,1);
box-shadow: 0px 0px 26px 8px rgba(67,67,67,1);
}
.main > .container {
width: 100%;
}
.footer {
position: absolute;
height: 70px;
height: 100px;
bottom:0;
width:100%;
padding-bottom:8px;
padding-top: 5px;
padding-bottom:10px;
padding-top: 20px;
}
.cl-navbar {
border-width: 0px;
......@@ -162,8 +185,8 @@ hr {
}
@media screen and (min-width: 900px) {
#news { float: right; width: 30%; box-sizing: border-box; }
#introduction,#description,#services,#support,#about { float: left; width: 65%; box-sizing: border-box; }
#news { float: right; width: 35%; box-sizing: border-box; }
#introduction,#description,#services,#support,#about { float: left; width: 63%; box-sizing: border-box; }
}
.cltable {
font-size: 13pt;
......@@ -265,3 +288,14 @@ hr {
.reddit-entry {
line-height: 1rem;
}
#edit-this-page {
margin-top: 20px;
}
.navbar {
background-color: rgb(252, 252, 252);
-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);
}
......@@ -13,7 +13,7 @@ a:hover {
color: #aaa;
}
body {
margin: 0 0 100px;
margin: 0 0 100px;
}
body.no-maintenance div.maintenance {
display: none;
......
......@@ -16,7 +16,7 @@
<body>
<div id="header" class="fixed-top">
<nav id="navbar" class="navbar navbar-expand-lg navbar-dark bg-dark cl-navbar">
<nav id="navbar" class="navbar navbar-expand-lg navbar-light cl-navbar">
<a class="navbar-brand regular-text" style="line-height: 36px;" href="/">
<span style="border:3px white;display:inline-block;height:36px;width:36px;background:white;border-radius:36px;">
<img width="30px" height="30px" style="left:3px;position:relative" src="/static/imgs/lisplogo.png" />
......@@ -80,7 +80,7 @@
</main>
<div style="margin-left:auto;margin-right:auto;padding-bottom:120px;text-align:center">
<a class="btn btn-secondary" style="color: #29aa22;border-color: #29aa22" href="https://gitlab.common-lisp.net/clo/cl-site/blob/master/content/{{{rel-path}}}">
<a id="edit-this-page" class="btn btn-secondary" style="color: #29aa22;border-color: #29aa22" href="https://gitlab.common-lisp.net/clo/cl-site/blob/master/content/{{{rel-path}}}">
<i class="far fa-edit"></i>&nbsp;Edit this page
</a>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment