2017-03-10 21:37:14 +02:00
|
|
|
/* ==========================================================================
|
|
|
|
Layout
|
|
|
|
========================================================================== */
|
2017-03-07 23:12:17 +02:00
|
|
|
|
2017-03-29 21:55:31 +03:00
|
|
|
.canvas {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2017-03-16 20:34:29 +02:00
|
|
|
.wrapper {
|
2017-03-29 21:55:31 +03:00
|
|
|
position: relative;
|
2017-03-27 21:43:01 +03:00
|
|
|
width: 100%;
|
2017-03-29 21:55:31 +03:00
|
|
|
height: 100%;
|
2017-03-07 23:12:17 +02:00
|
|
|
min-height: 100vh;
|
2017-03-29 21:55:31 +03:00
|
|
|
transform: translateX(0);
|
2017-03-07 23:12:17 +02:00
|
|
|
transition: $global-transition;
|
2017-03-29 21:55:31 +03:00
|
|
|
background-color: $background-color;
|
|
|
|
z-index: 100;
|
|
|
|
-webkit-backface-visibility: hidden;
|
|
|
|
backface-visibility: hidden;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
2017-03-16 20:34:29 +02:00
|
|
|
.intro,
|
|
|
|
main {
|
2017-03-07 23:12:17 +02:00
|
|
|
> .inner {
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
|
|
|
|
@include breakpoint($small) {
|
|
|
|
padding-right: 1rem;
|
2017-03-16 20:34:29 +02:00
|
|
|
padding-left: 1rem;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
padding-right: 2rem;
|
2017-03-16 20:34:29 +02:00
|
|
|
padding-left: 2rem;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
padding-right: 3rem;
|
2017-03-16 20:34:29 +02:00
|
|
|
padding-left: 3rem;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($xlarge) {
|
|
|
|
padding-right: 4rem;
|
2017-03-16 20:34:29 +02:00
|
|
|
padding-left: 4rem;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-16 20:34:29 +02:00
|
|
|
main {
|
2017-03-07 23:12:17 +02:00
|
|
|
section {
|
2018-01-05 21:25:42 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 100%;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/*
|
|
|
|
Layout specific adjustments
|
|
|
|
========================================================================== */
|
2017-03-07 23:12:17 +02:00
|
|
|
|
|
|
|
.layout--post,
|
|
|
|
.layout--page {
|
|
|
|
.entry-content {
|
|
|
|
@include breakpoint($large) {
|
|
|
|
width: span(14 of 16);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout--about {
|
|
|
|
.entry-wrap {
|
2017-03-27 21:43:01 +03:00
|
|
|
display: -ms-flexbox;
|
2017-03-07 23:12:17 +02:00
|
|
|
display: flex;
|
2017-03-27 21:43:01 +03:00
|
|
|
-ms-flex-wrap: wrap;
|
2017-03-16 20:34:29 +02:00
|
|
|
flex-wrap: wrap;
|
2017-03-07 23:12:17 +02:00
|
|
|
|
|
|
|
@include breakpoint($medium) {
|
2017-03-27 21:43:01 +03:00
|
|
|
-ms-flex-wrap: nowrap;
|
2017-03-16 20:34:29 +02:00
|
|
|
flex-wrap: nowrap;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content {
|
|
|
|
@include breakpoint($medium) {
|
2017-03-27 21:43:01 +03:00
|
|
|
-ms-flex: 1;
|
2017-03-16 21:13:21 +02:00
|
|
|
flex: 1;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-sidebar {
|
2017-03-16 20:34:29 +02:00
|
|
|
order: -1;
|
2017-03-10 21:37:14 +02:00
|
|
|
-ms-flex-order: -1;
|
2017-03-16 20:34:29 +02:00
|
|
|
|
2017-03-07 23:12:17 +02:00
|
|
|
@include breakpoint($medium) {
|
2017-03-16 20:34:29 +02:00
|
|
|
order: initial;
|
2017-03-10 21:37:14 +02:00
|
|
|
-ms-flex-order: initial;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.author-picture {
|
|
|
|
margin: 0 0 2rem;
|
|
|
|
border-radius: 2 * $border-radius;
|
|
|
|
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
margin: 0 0 0 2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout--cv {
|
2017-03-17 15:37:30 +02:00
|
|
|
.entries {
|
|
|
|
.entry-header {
|
|
|
|
@include breakpoint($medium) {
|
2018-01-05 21:25:42 +02:00
|
|
|
width: span(5 of 16);
|
|
|
|
padding-right: gutter(1 of 16);
|
2017-03-17 15:37:30 +02:00
|
|
|
|
|
|
|
/* remove space after last child element */
|
|
|
|
> *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content {
|
|
|
|
@include breakpoint($medium) {
|
2018-01-05 21:25:42 +02:00
|
|
|
float: right;
|
|
|
|
width: span(11 of 16);
|
2017-03-17 15:37:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-07 23:12:17 +02:00
|
|
|
.entry {
|
|
|
|
a {
|
|
|
|
color: $accent-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
address {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title,
|
|
|
|
.position,
|
|
|
|
.institution,
|
|
|
|
.language {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
color: tint($text-color, 40%);
|
|
|
|
font-family: $monospace-font-family;
|
|
|
|
font-size: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.courses-title,
|
|
|
|
.awarder,
|
|
|
|
.publisher,
|
|
|
|
.level {
|
|
|
|
margin: 1rem 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.courses,
|
|
|
|
.keywords {
|
|
|
|
@include list-unstyled;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.taxonomy {
|
2017-03-16 20:34:29 +02:00
|
|
|
+ .taxonomy {
|
2017-03-07 23:12:17 +02:00
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.keywords {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|