Skip to content

Commit

Permalink
Merge pull request #3549 from mlibrary/fixup/aperio-styles
Browse files Browse the repository at this point in the history
tweak styles for aperio
  • Loading branch information
sethaj authored Dec 5, 2023
2 parents 219e7ef + 7bf3772 commit 8b42446
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions app/assets/stylesheets/application/themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -835,11 +835,11 @@ $aperio-white: #fff;

h2 {
margin-top: 2em;
font-size: 1.85em;
font-size: 25.6px;
}

h3 {
font-size: 1.45em;
font-size: 20px;
}

h4 {
Expand All @@ -862,7 +862,7 @@ $aperio-white: #fff;

p, ul li, ol li, span {
font-weight: 300;
font-size: 1.375em;
font-size: 16px;
}

// links
Expand Down Expand Up @@ -1099,6 +1099,7 @@ $aperio-white: #fff;

.authors, .copyright {
@include gibson;
font-weight: 500;
}

button.search-submit {
Expand Down Expand Up @@ -1159,6 +1160,13 @@ $aperio-white: #fff;
}
}

// tabs
#tabs {
h2 {
font-size: 16px;
}
}

//footer
footer.press {
background-color: $aperio-black !important;
Expand Down Expand Up @@ -1293,8 +1301,8 @@ $aperio-white: #fff;
// e-book reader
#reader {

.cozy-control .cozy-h1 {
font-size: 1.5em;
.cozy-control .cozy-h1 span {
font-size: 24px;
}

.button {
Expand All @@ -1314,8 +1322,8 @@ $aperio-white: #fff;
}

.button--sm.cozy-preferences {
@include epub-button-background-color(#f1f1f1,$aperio-brand-color,$aperio-white);
color: $aperio-brand-color;
@include epub-button-background-color($aperio-accent-color,$aperio-brand-color,$aperio-white);
color: $aperio-white;
}

i[class^='icon-chevron-'] {
Expand All @@ -1328,6 +1336,16 @@ $aperio-white: #fff;
transition: 0.2s ease-in;
}

.modal__header,
.modal__title {
color: $aperio-white;
}

button.modal__close,
button.modal__close::before {
color: $aperio-white;
}

.cozy-control .logo {
background: $aperio-accent-color;
height: 46.6px;
Expand Down

0 comments on commit 8b42446

Please sign in to comment.