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

130 lines
1.8 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 17:49:45 +01:00
@import "node_modules/lightgallery/dist/css/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-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
#header nav > ul > li a {
padding: 0 0.8em;
}
.dropotron.level-0 {
margin-top: 0.1em;
}
2017-07-08 16:31:41 +01:00
2017-07-09 19:39:03 +01:00
.dropotron.level-1 {
margin-top: 0.1em;
left: initial !important;
right: 100% !important;
}
2017-07-08 16:31:41 +01:00
#main {
padding: 2em 0;
& > header {
margin-bottom: 2em;
}
}
.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 {
cursor: zoom-in;
display: inline-block;
overflow: hidden;
width: 100%;
img {
width: 100%;
transition: opacity 0.5s;
}
&:hover img {
opacity: 0.7;
}
}
}