1
Fork 0
theorangeone.net-legacy/static/src/scss/style.scss
2017-11-11 22:20:03 +00:00

175 lines
2.3 KiB
SCSS

$fa-font-path: "../fonts";
@import "node_modules/font-awesome/scss/font-awesome";
@import "highlight"; // Generated by Hugo
@import "node_modules/lightgallery/src/sass/lightgallery";
@import "node_modules/bootstrap/scss/bootstrap";
@import "node_modules/plyr/src/scss/plyr";
$primary: #E89980;
$orange: #FF7F00;
html, body {
height: 100%;
}
a {
color: $primary;
&:hover {
color: $orange;
}
}
pre code {
margin: 0;
border: 0;
border-radius: 0;
background: none;
padding: 0;
}
code {
padding: 0.25em;
}
.image {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
&.featured {
margin-bottom: 2em !important;
height: 13em;
&.main {
height: 40vh;
}
}
}
.yt-embed {
position: relative;
padding-top: 30px;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
#light-gallery {
a {
display: inline-block;
margin-bottom: $grid-gutter-width;
border-bottom: 0;
cursor: zoom-in;
width: 100%;
overflow: hidden;
img {
transition: opacity 0.5s;
width: 100%;
}
&:hover img {
opacity: 0.7;
}
}
& + h4 {
margin-top: -$grid-gutter-width / 2;
}
}
table td {
vertical-align: middle;
}
.navbar {
padding-top: 0;
padding-bottom: 0;
.navbar-brand {
font-size: $font-size-base;
}
.nav-link {
padding-right: $font-size-base !important;
padding-left: $font-size-base !important;
}
}
.bg-black {
background-color: $black;
}
#index-header {
background-image: url("/img/header.jpg");
width: 100%;
height: calc(100% - 110px);
}
footer {
position: static;
bottom: 0;
width: 100%;
height: 110px;
color: $gray-700;
a {
color: $gray-700;
&:hover {
color: $black;
}
}
}
#main {
margin-top: $spacer * 6;
}
.list-page-item {
.img-wrapper {
width: 20%;
}
.image {
width: 100%;
height: 10vh;
}
}
#TableOfContents {
& > ul {
padding-left: $spacer;
}
}
ul ul, ol ol {
padding-left: $spacer * 1.5;
}
pre.chroma {
margin: $spacer 0;
padding: $spacer;
}
.content {
h1, h2, h3, h4, h5, h6 {
margin-top: $spacer;
}
}
.plyr {
min-width: initial;
}