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

190 lines
2.6 KiB
SCSS

$fa-font-path: "../fonts";
@import "node_modules/font-awesome/scss/font-awesome";
@import "node_modules/bootstrap/scss/bootstrap-grid";
@import "node_modules/bootstrap/scss/_mixins";
@import "node_modules/bootstrap/scss/_transitions";
@import "node_modules/bootstrap/scss/_card";
@import "node_modules/bootstrap/scss/_badge";
@import "node_modules/lightgallery/src/sass/lightgallery";
@import "highlight"; // Generated by Hugo
@import "alpha.min";
.box .box {
border-radius: 0;
}
.box {
width: 100%;
h1 {
font-size: 2.75em;
}
img {
width: 100%;
}
}
.box a .image {
margin-top: -3em !important;
border-radius: 0 !important;
}
.dropotron {
width: initial;
}
ul.actions {
text-align: center;
}
#banner {
background-attachment: fixed;
background-image: url("../img/header.jpg");
background-size: 100%;
}
pre code {
margin: 0;
border: 0;
border-radius: 0;
background: none;
padding: 0;
font-size: 0.75em;
}
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;
}
}
}
a.no-underline {
border-bottom: 0;
}
a .icon {
cursor: inherit !important;
}
blockquote p {
margin-bottom: 0;
}
#header nav > ul > li a {
padding: 0 0.8em;
}
nav {
a {
text-overflow: ellipsis;
white-space: nowrap;
@media screen and (max-width: 840px) {
overflow: hidden;
&.link.depth-2 {
display: none !important;
}
}
@media screen and (min-width: 840px) {
&.show-mobile {
display: none !important;
}
}
}
}
.dropotron.level-0 {
margin-top: 0.4em;
}
.dropotron.level-1 {
right: 100% !important;
left: initial !important;
margin-top: 0.1em;
}
#main > header {
margin-bottom: 2em;
p {
padding: 1em 0 0.5em;
}
small {
display: block;
font-size: 0.9em;
}
}
.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;
}
}
}
.index-list {
margin-top: 4em;
}
#tags > * {
display: inline-block;
padding: 0 2px;
}
.search-input-container {
margin: 20px 40px;
input {
text-align: center;
}
}