Skip to content

Commit

Permalink
CSS Template - update hyperlinks styles (#79)
Browse files Browse the repository at this point in the history
* apply phs style to hyperlinks using `a` class.

* fix typo calling var(--) for colour in btn border

* consistent spacing and additional notes
  • Loading branch information
rubenv95 authored Jan 22, 2024
1 parent 0082899 commit 86f8e4c
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions inst/text/phs_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,22 @@ body {
background-color: var(--white);
}

/* Style hyperlinks */
.externallink {color: var(--phs-purple); font-weight: bold;}
.externallink:hover {color: var(--phs-teal-50);}
/* Style external links */
.externallink {
color: var(--phs-purple);
font-weight: bold;
}
.externallink:hover {
color: var(--phs-teal-50);

}
/* Style in-line hyperlinks (e.g., rmarkdowns using [text](link)) */
a {
color: var(--phs-purple);
font-weight: bold;}
a:hover {
color: var(--phs-teal-50);
}

/* Table of Contents */
.tocify {
Expand Down Expand Up @@ -104,7 +117,7 @@ body {
.btn-default.hover, .btn-default:hover, .btn-default.focus,
.btn-default:focus {
background-color: var(--phs-purple-10);
border-color: var(phs-purple);
border-color: var(--phs-purple);
}

/* tabset panel update, pills style in phs colours */
Expand Down

0 comments on commit 86f8e4c

Please sign in to comment.