Skip to content

Commit

Permalink
Merge pull request #1749 from fluxcd/resource-page-update
Browse files Browse the repository at this point in the history
Resource page update to include external articles/blogs
  • Loading branch information
kingdonb authored Jan 23, 2024
2 parents d8f4365 + 306b4a3 commit 2d1d3b6
Show file tree
Hide file tree
Showing 10 changed files with 1,119 additions and 359 deletions.
144 changes: 144 additions & 0 deletions assets/scss/_index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// import fontAwesome
@import url("https://use.fontawesome.com/releases/5.12.1/css/all.css");

@mixin white-background-a {
a {
color: $flux-lighter-blue !important;
Expand Down Expand Up @@ -69,6 +72,11 @@ main.td-main {
}
}

main.td-main {
section.template-row {
justify-content: unset !important;
}}

.resources {
h4 {
color: $flux-white;
Expand All @@ -93,6 +101,36 @@ main.td-main {
}
}

// .td-content > h1, .td-content > p {
// margin-left: 310px;
// }

// .d-flex:not(:first-of-type) > .filter{
// visibility:hidden;
// }

.filter {
position: absolute;
top: 36%;
left: 40px;
@include media-breakpoint-down(md) {
top: 16%;
left: -15px;
z-index: 100;
}
}

.filter-container {
display: block;
@include media-breakpoint-down(md) {
display: none;
}
}

.mt-100 {
margin-top: 100px;
}

@mixin carousel-controls-hover {
.carousel-control-next, .carousel-control-prev {
&:focus {
Expand Down Expand Up @@ -281,3 +319,109 @@ main.td-main {
}
}

.flex-gap-md {
gap: 110px;
}

.tag-heading {
font-size: 1rem !important;
padding: 4px !important;
padding-left: 8px !important;
margin-right: 8px;
}

.tag-break {
font-weight: 600;
}

.tag {
color: #222;
text-align: left;
font-size: 0.8rem;
font-weight: 600;
padding: 2px 6px 2px 6px;
background-color: #3D6DDD;
color: white;
border-radius: 5px;
margin-bottom: 2px;
}

.tag1 {
position: absolute;
left: 12px;
bottom: 6px;

}

label.date {
font-size: 0.8rem;
font-weight: 400;
color: #999;
margin-left: 6px;
text-align: right;
position: absolute;
right: 0;
bottom: 0;
padding-right: 6px;
margin-bottom: 9px;

}

.td-content .col-lg-4 {
border: 1px solid #dee2e6;
border-radius: 0.25rem;
box-shadow: 0 1px 2px rgba(0,0,0,.075);
margin: 22px 16px;
padding: 1px 1px 12px 1px;
/* padding-bottom: 14px; */
/* margin-bottom: 24px !important; */
max-width: 300px;
}

.td-content h4 {
color: #222;
text-align: left;
font-size: 1rem;
font-weight: 600;
padding-left: 12px;
padding-right: 12px;
padding-top: 12px;
padding-bottom: 8px;
}

.filter-mobile-modal {
border: 1px solid black;
background-color: white;
position: absolute;
z-index: 90;
top: 37%;
bottom: 5%;
display: none;
}

.filter-mobile-btn {
display: none;
@include media-breakpoint-down(md) {
display: inline-block;
}
}

.template-resource {
display: none;
}

.flex {
display: flex;
}

.justify-content-space {
justify-content: space-between;
}

.width-90 {
width: 90%;
}

.mt-40 {
margin-top: 40px;
}
Loading

0 comments on commit 2d1d3b6

Please sign in to comment.