1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-10 20:00:09 +02:00
blog/src/components/atoms/Exif.module.scss

59 lines
1.0 KiB
SCSS
Raw Normal View History

2018-09-07 13:08:01 +02:00
@import 'variables';
2018-09-12 21:03:35 +02:00
@import 'mixins';
2018-09-07 13:08:01 +02:00
.exif {
2018-09-16 14:53:26 +02:00
margin-top: -($spacer * 1.5);
2018-09-14 00:35:40 +02:00
margin-bottom: $spacer * 2;
}
.data {
2018-09-16 14:53:26 +02:00
@include breakoutviewport;
2018-09-12 21:03:35 +02:00
font-size: $font-size-mini;
2018-09-07 13:08:01 +02:00
color: $brand-grey-light;
display: flex;
flex-wrap: wrap;
2018-09-16 14:53:26 +02:00
justify-content: center;
2018-09-07 13:08:01 +02:00
text-align: center;
2018-09-16 14:53:26 +02:00
margin-bottom: -3px;
2018-09-07 13:08:01 +02:00
span {
2018-09-12 21:03:35 +02:00
display: block;
2018-09-16 14:53:26 +02:00
flex: 1 1 20%;
2018-09-07 13:08:01 +02:00
white-space: nowrap;
2018-09-16 14:53:26 +02:00
padding: $spacer / 1.5;
border-bottom: 1px solid $brand-grey-dimmed;
2018-09-12 21:03:35 +02:00
&:first-child {
flex-basis: 100%;
}
}
@media (min-width: $screen-sm) {
2018-09-16 14:53:26 +02:00
margin-bottom: 0;
2018-09-12 21:03:35 +02:00
span {
2018-09-16 14:53:26 +02:00
border-left: 1px solid $brand-grey-dimmed;
border-bottom: 0;
padding: $spacer;
2018-09-12 21:03:35 +02:00
&,
&:first-child {
flex: 1 1 auto;
}
2018-09-16 14:53:26 +02:00
&:first-child {
border-left: 0;
}
2018-09-12 21:03:35 +02:00
}
2018-09-07 13:08:01 +02:00
}
}
2018-09-14 00:35:40 +02:00
.map {
@include breakoutviewport;
2018-09-16 14:53:26 +02:00
@include media-frame;
2018-09-14 00:35:40 +02:00
overflow: hidden;
height: 160px;
}