Skip to content

Commit 85b219c

Browse files
committed
Adjust CV entry styling
1 parent 6888d43 commit 85b219c

File tree

3 files changed

+24
-16
lines changed

3 files changed

+24
-16
lines changed

_includes/cv/intro.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<header id="intro">
1+
<header class="intro">
22
<div class="inner">
33
<div class="intro-text">
44
<h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify | remove: '<p>' | remove: '</p>' }}</h1>
@@ -15,4 +15,4 @@ <h1 class="intro-title">{{ cv.basics.name | default: page.title | markdownify |
1515
{% endif %}
1616
</div>
1717
</div>
18-
</header>
18+
</header>

_sass/basically-basic/_entries.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,6 @@
5454

5555
.entries {
5656

57-
.entry-header {
58-
59-
@include breakpoint($medium) {
60-
// @include span(5 of 16);
61-
// @include suffix(1 of 16);
62-
63-
/* remove space after last child element */
64-
// > *:last-child {
65-
// margin-bottom: 0;
66-
// }
67-
}
68-
}
69-
70-
7157
.entry-title {
7258
word-wrap: break-word; /* break long words that could overflow */
7359

_sass/basically-basic/_layout.scss

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,28 @@ main {
105105

106106
.layout--cv {
107107

108+
.entries {
109+
110+
.entry-header {
111+
112+
@include breakpoint($medium) {
113+
@include span(5 of 16);
114+
@include suffix(1 of 16);
115+
116+
/* remove space after last child element */
117+
> *:last-child {
118+
margin-bottom: 0;
119+
}
120+
}
121+
}
122+
123+
.entry-content {
124+
@include breakpoint($medium) {
125+
@include span(11 of 16 last);
126+
}
127+
}
128+
}
129+
108130
.entry {
109131

110132
a {

0 commit comments

Comments
 (0)