Adjust CV entry styling
This commit is contained in:
parent
6888d43804
commit
85b219c28c
|
@ -1,4 +1,4 @@
|
||||||
<header id="intro">
|
<header class="intro">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="intro-text">
|
<div class="intro-text">
|
||||||
<h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify | remove: '<p>' | remove: '</p>' }}</h1>
|
<h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify | remove: '<p>' | remove: '</p>' }}</h1>
|
||||||
|
|
|
@ -54,20 +54,6 @@
|
||||||
|
|
||||||
.entries {
|
.entries {
|
||||||
|
|
||||||
.entry-header {
|
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
|
||||||
// @include span(5 of 16);
|
|
||||||
// @include suffix(1 of 16);
|
|
||||||
|
|
||||||
/* remove space after last child element */
|
|
||||||
// > *:last-child {
|
|
||||||
// margin-bottom: 0;
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.entry-title {
|
.entry-title {
|
||||||
word-wrap: break-word; /* break long words that could overflow */
|
word-wrap: break-word; /* break long words that could overflow */
|
||||||
|
|
||||||
|
|
|
@ -105,6 +105,28 @@ main {
|
||||||
|
|
||||||
.layout--cv {
|
.layout--cv {
|
||||||
|
|
||||||
|
.entries {
|
||||||
|
|
||||||
|
.entry-header {
|
||||||
|
|
||||||
|
@include breakpoint($medium) {
|
||||||
|
@include span(5 of 16);
|
||||||
|
@include suffix(1 of 16);
|
||||||
|
|
||||||
|
/* remove space after last child element */
|
||||||
|
> *:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.entry-content {
|
||||||
|
@include breakpoint($medium) {
|
||||||
|
@include span(11 of 16 last);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.entry {
|
.entry {
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
|
Loading…
Reference in New Issue