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

173 lines
2.3 KiB
SCSS
Raw Normal View History

2017-04-21 22:20:47 +01:00
$fa-font-path: "../fonts";
@import "node_modules/font-awesome/scss/font-awesome";
2017-04-22 16:38:44 +01:00
@import "node_modules/bootstrap/scss/bootstrap-grid";
2017-07-03 19:59:10 +01:00
@import "node_modules/bootstrap/scss/_mixins";
@import "node_modules/bootstrap/scss/_transitions";
@import "node_modules/bootstrap/scss/_card";
2017-05-08 09:14:08 +01:00
@import "node_modules/pygments-css/github";
2017-07-09 20:47:09 +01:00
@import "node_modules/lightgallery/src/sass/lightgallery";
2017-04-21 22:20:47 +01:00
2017-05-15 22:12:07 +01:00
@import "alpha.min";
2017-05-09 09:36:14 +01:00
.box .box {
border-radius: 0;
2017-04-25 21:29:37 +01:00
}
2017-05-06 19:45:57 +01:00
2017-07-14 22:54:11 +01:00
.box {
h1 {
font-size: 2.75em;
}
2017-08-06 11:32:41 +01:00
img {
width: 100%;
}
2017-07-14 22:54:11 +01:00
}
2017-06-13 14:02:07 +01:00
.box a .image {
margin-top: -3em !important;
border-radius: 0 !important;
}
2017-05-06 19:45:57 +01:00
.dropotron {
width: initial;
}
2017-05-06 21:41:31 +01:00
ul.actions {
text-align: center;
}
2017-05-07 16:33:20 +01:00
#banner {
2017-05-09 22:01:44 +01:00
background-attachment: fixed;
2017-05-07 16:33:20 +01:00
background-image: url("../img/header.jpg");
2017-06-14 19:36:58 +01:00
background-size: 100%;
2017-05-07 16:33:20 +01:00
}
2017-05-08 09:17:01 +01:00
pre code {
margin: 0;
border: 0;
border-radius: 0;
background: none;
padding: 0;
}
2017-05-09 09:36:14 +01:00
2017-05-20 23:32:43 +01:00
code {
padding: 0.25em;
}
2017-05-09 21:04:08 +01:00
.image {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
2017-05-09 21:45:16 +01:00
&.featured {
margin-bottom: 2em !important;
height: 13em;
&.main {
height: 40vh;
}
2017-05-09 21:04:08 +01:00
}
2017-05-09 09:36:14 +01:00
}
2017-05-15 09:29:18 +01:00
a.no-underline {
border-bottom: 0;
}
a .icon {
cursor: inherit !important;
}
2017-06-13 13:34:19 +01:00
blockquote p {
margin-bottom: 0;
}
2017-06-14 17:32:20 +01:00
2017-07-14 22:10:29 +01:00
#header nav > ul > li a {
padding: 0 0.8em;
2017-06-14 17:32:20 +01:00
}
2017-07-12 21:49:23 +01:00
nav {
a {
text-overflow: ellipsis;
2017-07-12 21:53:13 +01:00
white-space: nowrap;
2017-07-12 21:49:23 +01:00
@media screen and (max-width: 840px) {
2017-07-14 19:32:44 +01:00
overflow: hidden;
2017-07-12 21:49:23 +01:00
&.link.depth-2 {
display: none !important;
}
}
@media screen and (min-width: 840px) {
&.show-mobile {
display: none !important;
}
}
}
}
2017-06-14 17:32:20 +01:00
.dropotron.level-0 {
2017-07-09 20:50:27 +01:00
margin-top: 0.4em;
2017-06-14 17:32:20 +01:00
}
2017-07-08 16:31:41 +01:00
2017-07-09 19:39:03 +01:00
.dropotron.level-1 {
right: 100% !important;
2017-07-09 19:46:57 +01:00
left: initial !important;
margin-top: 0.1em;
2017-07-09 19:39:03 +01:00
}
2017-07-14 22:10:29 +01:00
#main > header {
margin-bottom: 2em;
2017-07-27 18:10:38 +01:00
p {
padding: 1em 0 0.5em;
}
small {
display: block;
font-size: 0.9em;
}
2017-07-08 16:31:41 +01:00
}
.yt-embed {
position: relative;
padding-top: 30px;
2017-07-08 16:32:33 +01:00
padding-bottom: 56.25%;
2017-07-08 16:31:41 +01:00
height: 0;
overflow: hidden;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
2017-07-09 17:49:45 +01:00
#light-gallery {
a {
display: inline-block;
2017-07-09 21:37:13 +01:00
border-bottom: 0;
2017-07-09 19:46:57 +01:00
cursor: zoom-in;
2017-07-09 17:49:45 +01:00
width: 100%;
2017-07-09 19:46:57 +01:00
overflow: hidden;
2017-07-09 17:49:45 +01:00
img {
transition: opacity 0.5s;
2017-07-09 19:46:57 +01:00
width: 100%;
2017-07-09 17:49:45 +01:00
}
&:hover img {
opacity: 0.7;
}
}
}
2017-09-16 22:04:15 +01:00
.index-list {
margin-top: 4em;
}