zeus.ugent.be/content/assets/stylesheets/includes/blogpost.scss

100 lines
1.6 KiB
SCSS
Raw Normal View History

2017-04-23 15:47:44 +02:00
@keyframes lineAnimation {
2017-04-24 21:11:18 +02:00
to {
2017-04-23 15:47:44 +02:00
width: 80px;
opacity: 1;
}
}
2017-04-20 14:20:32 +02:00
.blog-heading {
display: flex;
flex-direction: column;
.titlewrap {
position: relative;
margin: auto;
2018-10-15 12:34:59 +02:00
min-width: 400px;
2017-04-20 14:20:32 +02:00
.title {
2017-04-21 19:04:01 +02:00
@include tablet {
2017-04-21 18:54:46 +02:00
font-size: 4rem;
}
2017-04-20 14:20:32 +02:00
font-weight: bolder;
}
.subtitle {
position: absolute;
2017-12-16 18:12:00 +01:00
@include mobile {
text-align: center;
margin-top: 0;
position: relative;
margin-bottom: .2em;
}
2017-04-20 14:20:32 +02:00
}
.details {
right: 0;
position: absolute;
margin-top: -1.1rem;
line-height: 1;
text-align: right;
2017-12-16 18:12:00 +01:00
@include mobile {
text-align: center;
margin-top: 0;
position: relative;
}
2017-04-20 14:20:32 +02:00
}
}
2017-04-24 21:11:18 +02:00
// Under title line
2017-04-20 14:20:32 +02:00
&::after {
content: '';
2017-04-23 15:47:44 +02:00
opacity: 0;
width: 0px;
2017-04-20 14:20:32 +02:00
height: 1px;
margin-top: 30px;
margin-right: auto;
margin-left: auto;
margin-bottom: 30px;
display: block;
background: $zeus-orange;
2017-04-23 15:47:44 +02:00
animation: lineAnimation 2s ease-in-out 1 normal forwards;
2017-04-24 21:11:18 +02:00
animation-delay: 0.5s;
2017-04-20 14:20:32 +02:00
}
2016-10-06 14:21:01 +02:00
}
2017-04-20 23:06:45 +02:00
.blog-preview {
.blogpreview-heading {
display: flex;
> a {
flex-grow: 1;
margin-bottom: 0;
display: inline-block;
}
}
> .blogpreview-extra {
color: #7a7a7a;
display: inline-block;
margin-bottom: 5px;
}
> .blogpreview-tags {
color: #7a7a7a;
2017-04-20 23:06:45 +02:00
}
}
2018-04-10 11:56:30 +02:00
.content figure.full-width {
margin-left: -50vw;
margin-right: -50vw;
width: 100vw;
max-width: 100vw;
position: relative;
left: 50%;
right: 50%;
}
2018-04-15 00:04:56 +02:00
.footnotes {
font-size: 80%;
}