Skip to content

Commit

Permalink
add media to further education
Browse files Browse the repository at this point in the history
  • Loading branch information
acvetochka committed Nov 22, 2024
1 parent b536bba commit 834e3e7
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 32 deletions.
14 changes: 7 additions & 7 deletions src/js/renderFurtherEducation.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ function renderFurtherEducation() {
({ name, period, location }) => `<li class="further-item">
<div class="name_container"><h3 class="further-position">${name}</span>
</h3>
<span class="line">|</span>
<p class="company">${location}</p>
</div>
<p class="period">${period}</p>
</li>`
)
.join('');
furtherList.innerHTML = markup;

</li>`
)
.join('');
furtherList.innerHTML = markup;

// <span class="line">|</span>
}

{/* <ul class="further-list">
Expand Down
70 changes: 45 additions & 25 deletions src/sass/components/_further.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@

.further-item {
position: relative;
margin-bottom: 20px;
display: flex;
justify-content: space-between;
margin-bottom: 10px;

@media screen and (min-width: 1200px) {
display: flex;
justify-content: space-between;

}

}

.further-item:last-child {
Expand All @@ -37,17 +42,21 @@
top: 5px;
}

.name_container {
display: flex;
gap: 10px;
}
// .name_container {

// @media screen and (min-width: 1000px) {
// display: flex;
// gap: 10px;
// }

// }

.further-position {
font-weight: 700;
font-size: 16px;
line-height: 20px;
color: #737373;
margin-bottom: 10px;
margin-bottom: 5px;
}

.company {
Expand All @@ -56,30 +65,41 @@
margin-bottom: 10px;
}

.period {
.further-item .period {
font-size: 14px;
// line-height: 15px;
color: #737373;
margin-bottom: 10px;
@media screen and (min-width: 1200px) {
width: 30%;
}
}

.line {
font-size: 12px;
line-height: 15px;
color: #000000;
}
display: none;

@media screen and (min-width: 1000px) {
display: inline;
font-size: 12px;
line-height: 15px;
color: #000000;
}


.work-list {
padding: 0;
margin-left: 15px;
}

.work-list-item {
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 24px;
color: #595959;
list-style-type: disc;
text-align: justify;
}

// .work-list {
// padding: 0;
// margin-left: 15px;
// }

// .work-list-item {
// font-style: normal;
// font-weight: 400;
// font-size: 14px;
// line-height: 24px;
// color: #595959;
// list-style-type: disc;
// text-align: justify;
// }

0 comments on commit 834e3e7

Please sign in to comment.