Skip to content

Commit

Permalink
Pull request updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete-Robelou committed Jan 29, 2021
1 parent 6afc2d1 commit a7e6126
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/css/component.section.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
--section-gutters-y: var(--size-10);
padding-bottom: var(--section-gutters-y);
padding-top: var(--section-gutters-y);
scroll-margin-top: var(--size-scroll-top);
}

.section--full {
Expand Down
9 changes: 6 additions & 3 deletions src/css/component.sub-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,18 @@
position: relative;
}

.sub-menu--2 > li {
.sub-menu > li:nth-last-child(2):first-child,
.sub-menu > li:nth-last-child(2):first-child ~ li {
flex: 1 0 var(--size-1-2);
}

.sub-menu--3 > li {
.sub-menu > li:nth-last-child(3):first-child,
.sub-menu > li:nth-last-child(3):first-child ~ li {
flex: 1 0 var(--size-1-3);
}

.sub-menu--4 > li {
.sub-menu > li:nth-last-child(4):first-child,
.sub-menu > li:nth-last-child(4):first-child ~ li {
flex: 1 0 var(--size-1-4);
}

Expand Down
2 changes: 2 additions & 0 deletions src/css/settings.sizes.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,6 @@
/* screen */
--size-h-screen: 100vh;
--size-w-screen: 100vw;

--size-scroll-top: 5.25rem; /* 84px */
}
6 changes: 3 additions & 3 deletions src/en-GB/discover/benefits/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 class="h1">Benefits</h1>
<h2 class="color-white h2">Ceph offers industry leading performance, reliablity and&nbsp;flexibility.</h2>
<p class="color-white mb-0 p">But don’t take our word for it, the numbers below speak for themselves.</p>
</div>
<ul class="sub-menu sub-menu--4 ul">
<ul class="sub-menu ul">
<li>
<a href="#performance"><img alt="" src="/assets/svgs/icon-performance-blue-red.svg" />Performance</a>
</li>
Expand All @@ -26,8 +26,8 @@ <h2 class="color-white h2">Ceph offers industry leading performance, reliablity
</ul>
</section>

<section class="section text-center">
<h2 class="h2" id="performance">Performance</h2>
<section class="section text-center" id="performance">
<h2 class="h2">Performance</h2>
<p class="p">
Vestibulum id ligula porta felis euismod semper. Maecenas sed diam eget risus varius blandit sit amet non magna. Fusce dapibus.
</p>
Expand Down

0 comments on commit a7e6126

Please sign in to comment.