Skip to content

Commit 8743053

Browse files
committed
Add rounded border to home page color boxes
1 parent e9da334 commit 8743053

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

assets/scss/templates/_main.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ input[type="checkbox"] {
193193
}
194194
}
195195

196+
.border-bottom-gradient {
197+
border-bottom: 5px solid transparent;
198+
border-image: linear-gradient(to left, #ffcbbd, #fffde4);
199+
border-image-slice: 1;
200+
}
196201
// view ≥768px (md and lg)
197202
@media (min-width: 768px) {
198203
.show-mobile {

layouts/partials/landingpage/activityfeed.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{ with .Params.Activity_Feed}}
33
<!-- Featured activities -->
44
<section class="activitifeed-section pb-5 mt-5" id="featured">
5-
<div class="container" style="background-color:#deecf7;">
5+
<div class="container border-bottom-gradient rounded-lg" style="background-color:#deecf7;">
66
<div class="row align-items-center">
77
<div class="mx-4 col order-1">
88
{{ if .featured_activities }}
@@ -74,7 +74,7 @@ <h3 class="mb-2" style="color: #005aa7;">{{$item.title}}</h3>
7474

7575
<!-- Items -->
7676
<section class="activitifeed-section pt-5 mt-2" id="events">
77-
<div class="container" style="background-color:#deecf7;">
77+
<div class="container border-bottom-gradient rounded-lg" style="background-color:#deecf7;">
7878
<div class="row align-items-center">
7979
<div class="mx-4 col order-1">
8080
<!-- Activities -->

tina/tina-lock.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)