Skip to content

Commit c9beb65

Browse files
WEB-321 - Review changes
1 parent bd3ceee commit c9beb65

5 files changed

Lines changed: 29 additions & 19 deletions

File tree

src/components/LeftNav.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
.homepage_btn{
297297
font-weight: 600;
298298
&:hover{
299-
color: #1AA874;
299+
color: $Mountain_Meadow;
300300
}
301301
}
302302

src/components/_variables.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ $warning-yellow: #FFB400;
2222

2323
$footer-color: #32ABCB;
2424

25+
$light-grey: #DDDDDD;
26+
$black_haze: #F2F3F3;
27+
$Mountain_Meadow: #1AA874;
28+
$dark_blue: #183247;
29+
$nile_blue: #183E46;
30+
2531
// 2021 Refresh variables
2632

2733
// ORANGE
@@ -74,4 +80,8 @@ $yellow_05: #FFFEF9;
7480

7581
// Fonts
7682
$degular: "degular_displaysemibold";
77-
$ibm: 'IBM Plex Mono', SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
83+
$ibm: 'IBM Plex Mono', SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace !important;
84+
85+
// Screen Size
86+
$screen_425: 425px;
87+
$screen_768: 768px;

src/components/navcards.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ const Card = ({ title, description, path }) => {
5252
return (
5353
<a href={path} className="card md:w-5/12 p-7 cursor-pointer justify-between flex mr-2 mb-2 w-full ">
5454
<div className="w-fit">
55-
<h2 className="card_heading">{title}</h2>
56-
<p className="card_desc">{description}</p>
55+
<span className="card_heading">{title}</span><br/>
56+
<span className="card_desc">{description}</span>
5757
</div>
5858
<div className="w-fit content-center grid">
5959
<a className="block p-4 right-arrow">

src/components/navcards.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
.card{
44
width: 48%;
5-
border: 1px solid #DDDDDD;
5+
border: .1rem solid $light-grey;
66
border-radius: 2px;
7-
@media (max-width: 425px) {
7+
@media (max-width: $screen_425) {
88
width: 100%;
99
}
1010
&:hover{
11-
background: #F2F3F3;
11+
background: $black_haze;
1212
.right-arrow {
1313
background-color: $white;
1414
box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.12);
1515
svg{
1616
path{
17-
fill: #1AA874;
17+
fill: $Mountain_Meadow;
1818
}
1919
}
2020
}
@@ -26,14 +26,14 @@
2626
font-weight: 600;
2727
font-size: 18px;
2828
line-height: 45px;
29-
color: #183247;
30-
margin-bottom: 0 !important;
29+
color: $dark_blue;
30+
margin-bottom: 0;
3131
}
3232
.card_desc{
3333
font-weight: 400;
3434
font-size: 15px;
35-
color: #183247;
36-
margin-top: 0 !important;
37-
margin-bottom: 0 !important;
35+
color: $dark_blue;
36+
margin-top: 0;
37+
margin-bottom: 0;
3838
}
3939
}

src/templates/page.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ code[class*="language-"] {
535535
.chat_btn{
536536
padding: 1rem;
537537
margin-right: 1rem;
538-
background: linear-gradient(0deg, #183E46, #183E46), #03A973;
538+
background: linear-gradient(0deg, $nile_blue, $nile_blue), #03A973;
539539
border-radius: .2rem;
540540
span{
541541
padding-left: .5rem;
@@ -546,15 +546,15 @@ code[class*="language-"] {
546546
}
547547
.community_btn{
548548
padding: 1rem;
549-
border: 1px solid #183E46;
549+
border: 1px solid $nile_blue;
550550
border-radius: 2px;
551551
span{
552552
padding-left: .5rem;
553-
color: #183E46;
553+
color: $nile_blue;
554554
font-weight: 600;
555555
font-size: 17px;
556556
}
557-
@media (max-width: 425px) {
557+
@media (max-width: $screen_425) {
558558
margin-top: 1rem;
559559
}
560560
}
@@ -563,13 +563,13 @@ code[class*="language-"] {
563563
justify-content: space-between;
564564
margin-bottom: 4rem;
565565
.pagination_buttons{
566-
@media (min-width: 768px) {
566+
@media (min-width: $screen_768) {
567567
margin: 0;
568568
}
569569
}
570570
.next_button{
571571
width: fit-content;
572-
@media (min-width: 768px) {
572+
@media (min-width: $screen_768) {
573573
margin-top: 1rem;
574574
}
575575
}

0 commit comments

Comments
 (0)