Skip to content

Commit

Permalink
updated styles of hover elements on homepage (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyeMaloy97 authored Oct 18, 2019
1 parent 2820c9c commit f081aa3
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
--colour-scheme-1: #BB417C;
--colour-scheme-2: #ED8E00;
--colour-scheme-3: #C4302F;
--colour-scheme-1-dark: #963463;

}

Expand Down Expand Up @@ -41,6 +42,11 @@ h1, h2, h3, h4, h5, h6 {
border-radius: 10px !important;
}

.btn-primary:hover {
background-color: var(--colour-scheme-1-dark) !important;
border-color: var(--colour-scheme-1-dark) !important;
}

.btn-clear {
padding: 6px 12px;
color: var(--links-colour);
Expand All @@ -49,7 +55,7 @@ h1, h2, h3, h4, h5, h6 {
}

.btn-clear:hover {
color: var(--links-colour);
background-color: var(--light-grey);
}

section.landing-section {
Expand All @@ -76,11 +82,20 @@ section.landing-section h2 {
color: var(--links-colour) !important;
}

.nav-link:hover {
color: var(--colour-scheme-1) !important;
}

.navbar-img {
height: 25px;
width: 25px;
}

/* Cannot change as the Slack icon is not transparent in the middle. Saving for later */
/* .navbar-img:hover {
filter: invert(33%) sepia(54%) saturate(1628%) hue-rotate(295deg) brightness(86%) contrast(81%);
} */

@media only screen and (max-width: 767px) {
.navbar-img {
height: 25px;
Expand Down Expand Up @@ -194,6 +209,10 @@ section.landing-section h2 {
background-color: white;
}

.flip a.btn:hover {
background-color: var(--light-grey);
}

.fa-arrow-left:hover, .fa-copy:hover {
cursor: pointer;
}
Expand Down

0 comments on commit f081aa3

Please sign in to comment.