1
Fork 0
theorangeone.net-legacy/static/src/scss/style.scss

180 lines
2.2 KiB
SCSS

$fa-font-path: "../fonts";
@import "node_modules/font-awesome/scss/font-awesome";
@import "highlight"; // Generated by Hugo
@import "node_modules/bootstrap/scss/bootstrap";
$primary: #e89980;
a {
color: $primary;
&:hover {
color: #ff7f00;
}
}
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;
border-bottom: 0;
cursor: zoom-in;
width: 100%;
overflow: hidden;
img {
transition: opacity 0.5s;
width: 100%;
}
&:hover img {
opacity: 0.7;
}
}
}
.search-input-container {
margin: 20px 40px;
input {
text-align: center;
}
}
table td {
vertical-align: middle;
}
.navbar {
padding-top: 0;
padding-bottom: 0;
.navbar-brand {
font-size: $font-size-base;
}
.nav-link {
padding-left: $font-size-base !important;
padding-right: $font-size-base !important;
}
}
.bg-black {
background-color: #000;
}
#index-header {
background-image: url('/img/header.jpg');
height: 100%;
width: 100%;
position: absolute;
}
footer {
color: $gray-700;
bottom: 0;
width: 100%;
position: static;
a {
color: $gray-700;
&:hover {
color: #000;
}
}
}
#main {
margin-top: $spacer * 6;
}
.list-page-item {
.img-wrapper {
width: 20%;
}
img {
width: 100%;
}
}
#TableOfContents {
& > ul {
padding-left: $spacer;
}
}
ul ul, ol ol {
padding-left: $spacer * 1.5;
}
pre.chroma {
padding: $spacer;
margin: $spacer 0;
}
.content {
h1, h2, h3, h4, h5, h6 {
margin-top: $spacer;
}
code {
color: #f8f8f2;
background-color: #272822;
}
}
.dropdown-menu {
min-width: initial;
padding: $spacer * 0.25 0;
.dropdown-item {
padding: $spacer * 0.25 $spacer;
}
}