Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
adding styles for CDVS hours (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedaul authored Aug 11, 2020
1 parent 5f486de commit f43e14f
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
29 changes: 29 additions & 0 deletions assets/css/dulcet.style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10246,6 +10246,35 @@ ul.rl-collections li {
.rl-hours-today .other {
font-size: 14px; }


/* CDVS Hours */
/* ====================== */
.cdvs-hours .item-list li {
display: block;
overflow: hidden;
}
.cdvs-hours .item-list li:nth-of-type(1) {
font-weight: bold;
}
.cdvs-hours .view-content .item-list .hours-row {
float: right;
}
.cdvs-hours .view-content .item-list .hours-row p {
margin:0;
padding: 0;
text-align: right;
}
.cdvs-hours .view-content .item-list .hours-row p:nth-of-type(2) {
font-size: .9em;
}
.cdvs-hours .view-content .item-list .hours-row p:nth-of-type(2):before {
content: '(';
}
.cdvs-hours .view-content .item-list .hours-row p:nth-of-type(2):after {
content: ')';
}


/* ================================= */
/* Duke Branding Guide colors */
/* https://brand.duke.edu/colors/ */
Expand Down
30 changes: 30 additions & 0 deletions scss/dulcet/_cdvs-home.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.cdvs-hours .item-list li {
display: block;
overflow: hidden;
}

.cdvs-hours .item-list li:nth-of-type(1) {
font-weight: bold;
}

.cdvs-hours .view-content .item-list .hours-row {
float: right;
}

.cdvs-hours .view-content .item-list .hours-row p {
margin:0;
padding: 0;
text-align: right;
}

.cdvs-hours .view-content .item-list .hours-row p:nth-of-type(2) {
font-size: .9em;
}

.cdvs-hours .view-content .item-list .hours-row p:nth-of-type(2):before {
content: '(';
}

.cdvs-hours .view-content .item-list .hours-row p:nth-of-type(2):after {
content: ')';
}

0 comments on commit f43e14f

Please sign in to comment.