hugo-theme-almeida/assets/scss/_layout.scss

47 lines
970 B
SCSS
Raw Normal View History

2020-08-16 12:21:35 +00:00
.content {
position: absolute;
overflow: hidden;
&__left {
float: left;
width: $width-left-col;
height: 100%;
padding: 3rem 4rem;
2020-08-16 19:16:37 +00:00
2020-08-17 07:39:41 +00:00
@media screen {
2020-08-29 11:16:29 +00:00
&::after {
content: '2020 © by Inês Almeida | ines-almeida.com';
2020-08-16 19:16:37 +00:00
height: 4rem;
width: 100%;
position: absolute;
bottom: 0.5rem;
color: darken($color-light, 10%);
2020-08-16 19:16:37 +00:00
}
}
2020-08-16 12:21:35 +00:00
}
&__right {
position: absolute;
float: right;
2020-08-29 11:16:29 +00:00
width: $width-right-col;
background-color: $color-right-col-background;
color: $color-right-col-body-text;
2020-08-16 12:21:35 +00:00
height: 100%;
padding: 2rem 3rem;
right: 1rem;
2020-08-29 11:16:29 +00:00
2020-08-16 12:21:35 +00:00
@include shadow(0.5);
}
&__swapped {
&__left {
float: right;
}
&__right {
float: left;
left: 1rem;
}
}
2020-08-29 11:16:29 +00:00
}