combine two CSS files into one using more SCSS
All checks were successful
Website build and deploy / build (push) Successful in 57s
All checks were successful
Website build and deploy / build (push) Successful in 57s
This commit is contained in:
@@ -1,145 +0,0 @@
|
|||||||
/* COLOURS */
|
|
||||||
html, body {
|
|
||||||
border-top: 3px solid #0D76EC;
|
|
||||||
}
|
|
||||||
div.footer {
|
|
||||||
border-bottom: 5px solid #0D76EC;
|
|
||||||
}
|
|
||||||
.container a {
|
|
||||||
color: #0D76EC;
|
|
||||||
}
|
|
||||||
.container a:hover {
|
|
||||||
color: #12437A;
|
|
||||||
}
|
|
||||||
.container .label-success {
|
|
||||||
background-color: rgba(92, 139, 184, 0.6);
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
.container a.label-success:hover,
|
|
||||||
.container a.label-success.active {
|
|
||||||
background-color: rgba(92, 139, 184, 0.9);
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
.container a.label-rss {
|
|
||||||
background-color: rgba(242, 101, 34, 0.8);
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
.container a.label-rss:hover {
|
|
||||||
background-color: rgba(242, 101, 34, 1);
|
|
||||||
}
|
|
||||||
.container h1 {
|
|
||||||
font-weight: bold;
|
|
||||||
color: #0D76EC;
|
|
||||||
}
|
|
||||||
.container h4 a {
|
|
||||||
color: #0D76EC;
|
|
||||||
}
|
|
||||||
.container h4 a:hover {
|
|
||||||
color: #0060CC;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Avoid scrollbar jumps in centering
|
|
||||||
* see https://css-tricks.com/eliminate-jumps-in-horizontal-centering-by-forcing-a-scroll-bar/
|
|
||||||
*/
|
|
||||||
div#wrap {
|
|
||||||
margin-left: calc(100vw - 100%);
|
|
||||||
}
|
|
||||||
|
|
||||||
div.avatar img {
|
|
||||||
max-height: 190px;
|
|
||||||
}
|
|
||||||
.panel {
|
|
||||||
box-shadow: none;
|
|
||||||
-webkit-box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Site specific settings */
|
|
||||||
section#about p {
|
|
||||||
font-size: 18px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.contact p {
|
|
||||||
line-height: 1.5em;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* transparency of tags */
|
|
||||||
|
|
||||||
|
|
||||||
/* Scale social icons with hovering */
|
|
||||||
.social-links {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
.social-links li a {
|
|
||||||
font-size: 26px;
|
|
||||||
}
|
|
||||||
.social-links li a i {
|
|
||||||
transform: scale(0.8);
|
|
||||||
transition: transform .3s;
|
|
||||||
}
|
|
||||||
.social-links li a:hover i {
|
|
||||||
transform: scale(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* BLOG */
|
|
||||||
.metadata-page {
|
|
||||||
font-size: 18px;
|
|
||||||
text-align: left;
|
|
||||||
margin: 3em 0 2em 0;
|
|
||||||
}
|
|
||||||
.metadata-page .row {
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
.blog-summary {
|
|
||||||
padding-bottom: 1em;
|
|
||||||
}
|
|
||||||
.metadata-summary {
|
|
||||||
font-size: 0.8em;
|
|
||||||
opacity: 0.7;
|
|
||||||
}
|
|
||||||
.blogpost .header-image img {
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
padding-bottom: 2px;
|
|
||||||
}
|
|
||||||
.blogpost .header-image p {
|
|
||||||
opacity: 0.7;
|
|
||||||
font-size: 0.8em;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 1em;
|
|
||||||
margin-bottom: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.learn-more {
|
|
||||||
font-size: 1.8em;
|
|
||||||
line-height: 0.8em;
|
|
||||||
font-weight: 700;
|
|
||||||
font-variant: small-caps;
|
|
||||||
text-transform: lowercase;
|
|
||||||
padding: 0 1em 0 .3em;
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
a.learn-more::after {
|
|
||||||
position: absolute;
|
|
||||||
right: 0.3em;
|
|
||||||
content: " » ";
|
|
||||||
opacity: .8;
|
|
||||||
transition: all 150ms linear;
|
|
||||||
}
|
|
||||||
a.learn-more:hover::after {
|
|
||||||
right: 0;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* HELPER CLASSES */
|
|
||||||
.vertical-align {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* CODE / SYNTAX */
|
|
||||||
pre code {
|
|
||||||
white-space:pre;
|
|
||||||
}
|
|
||||||
@@ -1,199 +1,356 @@
|
|||||||
/* Main page with stikky-footer */
|
/* Main page with sticky footer */
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
font-family: 'Source Sans Pro', sans-serif;
|
font-family: 'Source Sans Pro', sans-serif;
|
||||||
/* The html and body elements cannot have any padding or margin. */
|
border-top: 3px solid #0D76EC;
|
||||||
border-top: 3px solid #27A822;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Wrapper for page content to push down footer */
|
|
||||||
#wrap {
|
#wrap {
|
||||||
padding-bottom: 50px;
|
padding-bottom: 50px;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
/* Negative indent footer by its height */
|
|
||||||
margin: 0 auto -65px;
|
margin: 0 auto -65px;
|
||||||
/* Pad bottom by footer height */
|
|
||||||
/*padding: 0 0 60px;*/
|
// Avoid scrollbar jumps in centering
|
||||||
|
margin-left: calc(100vw - 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Navbar */
|
/* Navbar */
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-default {
|
.navbar-default {
|
||||||
background-color: #ffffff;
|
background-color: #fff;
|
||||||
border-color: #ffffff;
|
border-color: #fff;
|
||||||
}
|
|
||||||
.navbar-default .navbar-brand {
|
.navbar-brand,
|
||||||
|
.navbar-text,
|
||||||
|
.navbar-nav>li>a,
|
||||||
|
.navbar-nav>.active>a,
|
||||||
|
.navbar-nav>.open>a,
|
||||||
|
.navbar-link {
|
||||||
color: #6b6b6b;
|
color: #6b6b6b;
|
||||||
}
|
}
|
||||||
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
|
|
||||||
|
.navbar-brand:hover,
|
||||||
|
.navbar-brand:focus,
|
||||||
|
.navbar-nav>li>a:hover,
|
||||||
|
.navbar-nav>li>a:focus,
|
||||||
|
.navbar-nav>.active>a:hover,
|
||||||
|
.navbar-nav>.active>a:focus,
|
||||||
|
.navbar-nav>.open>a:hover,
|
||||||
|
.navbar-nav>.open>a:focus,
|
||||||
|
.navbar-link:hover {
|
||||||
color: #6b6b6b;
|
color: #6b6b6b;
|
||||||
}
|
}
|
||||||
.navbar-default .navbar-text {
|
|
||||||
color: #6b6b6b;
|
.navbar-nav {
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav > li > a {
|
>.active>a,
|
||||||
color: #6b6b6b;
|
>.open>a {
|
||||||
}
|
background-color: #fff;
|
||||||
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
|
}
|
||||||
color: #6b6b6b;
|
}
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
|
.navbar-toggle {
|
||||||
color: #6b6b6b;
|
border-color: #fff;
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
&:hover,
|
||||||
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
|
&:focus {
|
||||||
color: #6b6b6b;
|
background-color: #fff;
|
||||||
background-color: #ffffff;
|
}
|
||||||
}
|
|
||||||
.navbar-default .navbar-toggle {
|
.icon-bar {
|
||||||
border-color: #ffffff;
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
|
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-toggle .icon-bar {
|
|
||||||
background-color: #6b6b6b;
|
background-color: #6b6b6b;
|
||||||
}
|
}
|
||||||
.navbar-default .navbar-collapse,
|
}
|
||||||
.navbar-default .navbar-form {
|
|
||||||
|
.navbar-collapse,
|
||||||
|
.navbar-form {
|
||||||
border-color: #6b6b6b;
|
border-color: #6b6b6b;
|
||||||
}
|
}
|
||||||
.navbar-default .navbar-link {
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.navbar-nav .open .dropdown-menu {
|
||||||
|
>li>a {
|
||||||
color: #6b6b6b;
|
color: #6b6b6b;
|
||||||
}
|
|
||||||
.navbar-default .navbar-link:hover {
|
&:hover,
|
||||||
color: #6b6b6b;
|
&:focus {
|
||||||
}
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
|
|
||||||
color: #6b6b6b;
|
color: #6b6b6b;
|
||||||
}
|
}
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
|
|
||||||
color: #6b6b6b;
|
|
||||||
}
|
}
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
|
|
||||||
|
>.active>a,
|
||||||
|
>.active>a:hover,
|
||||||
|
>.active>a:focus {
|
||||||
color: #6b6b6b;
|
color: #6b6b6b;
|
||||||
background-color: #ffffff;
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom page CSS */
|
/* Content containers */
|
||||||
.container {
|
.container {
|
||||||
width: auto;
|
width: auto;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
|
||||||
.container .text-muted {
|
.text-muted {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #0D76EC;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #12437A;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.label-rss {
|
||||||
|
background-color: rgba(242, 101, 34, 0.8);
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: rgba(242, 101, 34, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.label-success {
|
||||||
|
background-color: rgba(92, 139, 184, 0.6);
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&.active {
|
||||||
|
background-color: rgba(92, 139, 184, 0.9);
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #0D76EC;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 a {
|
||||||
|
color: #0D76EC;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #0060CC;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.container a {
|
|
||||||
color: #27A822;
|
/* Images */
|
||||||
}
|
.container p img,
|
||||||
.container a:hover {
|
.img-responsive {
|
||||||
color: #267723;
|
|
||||||
}
|
|
||||||
.container p img, .img-responsive {
|
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
margin: 2rem auto;
|
margin: 2rem auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
.panel-default h4 {
|
|
||||||
text-align: left;
|
/* Panels */
|
||||||
line-height: 24px;
|
.panel {
|
||||||
font-size: 22px;
|
|
||||||
}
|
|
||||||
.panel-default h5 {
|
|
||||||
text-align: left;
|
|
||||||
line-height: 30px;
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
.panel-default h6 {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
.panel-default h4 a, h5 a {
|
|
||||||
color: #27A822;
|
|
||||||
}
|
|
||||||
.panel-default h4 a:hover, h5 a:hover {
|
|
||||||
color: #267723;
|
|
||||||
}
|
|
||||||
.panel{
|
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
box-shadow: none;
|
||||||
.panel-body {
|
-webkit-box-shadow: none;
|
||||||
|
|
||||||
|
&-body {
|
||||||
padding-top: -10px;
|
padding-top: -10px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-default {
|
||||||
|
h4, h5 {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
line-height: 24px;
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h5 {
|
||||||
|
line-height: 30px;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h6 {
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Social */
|
||||||
.social-links {
|
.social-links {
|
||||||
display: block;
|
display: flex;
|
||||||
margin: 0 auto;
|
justify-content: center;
|
||||||
margin-top: 40px;
|
margin: 40px auto 0;
|
||||||
padding: 0px;
|
padding: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
animation: fade 1s ease 1s both;
|
animation: fade 1s ease 1s both;
|
||||||
}
|
|
||||||
.social-links li {
|
li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 5px;
|
padding: 0 5px;
|
||||||
padding-top: 0;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
|
||||||
.social-links li a {
|
a {
|
||||||
font-size: 20px;
|
font-size: 26px;
|
||||||
color: #000;
|
color: #000;
|
||||||
padding: 10px;
|
padding: 10px 10px 4px;
|
||||||
padding-bottom: 4px;
|
transition: all 0.4s ease;
|
||||||
transition: all .4s ease;
|
|
||||||
}
|
&:hover {
|
||||||
.social-links li a:hover {
|
|
||||||
color: #000;
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
transform: scale(0.8);
|
||||||
|
transition: transform 0.3s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Layout tweaks */
|
||||||
.avatar {
|
.avatar {
|
||||||
padding-top: 5%;
|
padding-top: 5%;
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-height: 190px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.blog-post{
|
|
||||||
|
.blog-post {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
.blog-title{
|
|
||||||
|
.blog-title {
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.related-posts h4 {
|
.related-posts h4 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-not-found {
|
.page-not-found {
|
||||||
padding-top: 20%;
|
padding-top: 20%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disqus {
|
.disqus {
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
.blogpost{
|
|
||||||
|
/* Blog content */
|
||||||
|
.blogpost {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|
||||||
|
.header-image {
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
opacity: 0.7;
|
||||||
|
font-size: 0.8em;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 1em;
|
||||||
|
margin-bottom: 1.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Metadata */
|
||||||
|
.metadata-page {
|
||||||
|
font-size: 18px;
|
||||||
|
text-align: left;
|
||||||
|
margin: 3em 0 2em;
|
||||||
|
|
||||||
|
.row {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.metadata-summary {
|
||||||
|
font-size: 0.8em;
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog-summary {
|
||||||
|
padding-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Learn more link */
|
||||||
|
a.learn-more {
|
||||||
|
font-size: 1.8em;
|
||||||
|
line-height: 0.8em;
|
||||||
|
font-weight: 700;
|
||||||
|
font-variant: small-caps;
|
||||||
|
text-transform: lowercase;
|
||||||
|
padding: 0 1em 0 0.3em;
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
position: absolute;
|
||||||
|
right: 0.3em;
|
||||||
|
content: " » ";
|
||||||
|
opacity: 0.8;
|
||||||
|
transition: all 150ms linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover::after {
|
||||||
|
right: 0;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
.footer {
|
div.footer {
|
||||||
|
border-bottom: 5px solid #0D76EC;
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
|
||||||
.text-muted {
|
|
||||||
color: #6b6b6b;
|
|
||||||
}
|
|
||||||
div.footer{
|
|
||||||
border-bottom: 5px solid #27A822;;
|
|
||||||
}
|
|
||||||
/* Set the fixed height of the footer here */
|
|
||||||
/*.footer {
|
|
||||||
height: 50px;
|
|
||||||
padding-bottom: 15px;
|
|
||||||
|
|
||||||
}*/
|
.text-muted {
|
||||||
|
color: #6b6b6b;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Site specific */
|
||||||
|
section#about p {
|
||||||
|
font-size: 18px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.contact p {
|
||||||
|
line-height: 1.5em;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Helpers */
|
||||||
|
.vertical-align {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
@import "default";
|
@import "default";
|
||||||
@import "fonts";
|
@import "fonts";
|
||||||
@import "luxbar";
|
@import "luxbar";
|
||||||
@import "custom";
|
|
||||||
|
|||||||
Reference in New Issue
Block a user