resume-a4/assets/css/_section.scss
Jaakko Kantojärvi 3e13c5ea2d Rewrite all layouts, data and configuration structures
* Add support for multiple pages
* Add support to reorder and move features to columns and pages
* Add support for new sections with generic widgets
2021-03-03 18:01:09 +02:00

105 lines
1.4 KiB
SCSS

.section {
margin-bottom: 1.5rem;
> *:last-child {
margin-bottom: 0;
}
.right-column & {
margin-bottom: 1rem;
}
}
.section-title {
border-left: solid 0.4rem $text-color;
padding-left: 0.5rem;
font-family: $font-1;
.right-column & {
border-left: solid 0.3rem $text-color;
}
}
.item {
margin-bottom: 0.6rem;
dl {
dt {
display: inline;
font-weight: 600;
&::after {
content: ': '
}
}
dd {
display: inline;
&:not(:last-child)::after {
content: "";
display: block;
margin-bottom: 0.4em;
}
*:not(:last-child)::after {
content: "; ";
margin-right: 0.25rem;
}
}
}
&.group {
.item {
margin-top: 0;
}
}
}
.item-title {
font-weight: 600;
margin-bottom: 2px;
}
.item-info {
font-weight: 400;
font-size: 14px;
}
.job-title {
font-size: 14px;
font-style: italic;
}
.date {
color: scale-color($text-color, $lightness: 30%);
}
main.paper .right-column,
main.paper .left-column,
.paper {
.section-education {
h2 {
margin-bottom: 0;
font-size: 1rem;
}
}
.section-languages {
.item {
margin-bottom: 0.4rem;
}
h2 {
margin-bottom: 0.1rem;
font-size: 0.9rem;
line-height: 1.1;
span {
font-weight: 400;
font-size: 0.8rem;
}
}
}
}