Adjust CV entry styling

This commit is contained in:
Michael Rose 2017-03-17 09:37:30 -04:00
parent 6888d43804
commit 85b219c28c
3 changed files with 24 additions and 16 deletions

View File

@ -1,4 +1,4 @@
<header id="intro">
<header class="intro">
<div class="inner">
<div class="intro-text">
<h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify | remove: '<p>' | remove: '</p>' }}</h1>
@ -15,4 +15,4 @@
{% endif %}
</div>
</div>
</header>
</header>

View File

@ -54,20 +54,6 @@
.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 {
word-wrap: break-word; /* break long words that could overflow */

View File

@ -105,6 +105,28 @@ main {
.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 {
a {