Browse Source

various cosmetic tweaks

dependabot/npm_and_yarn/acorn-5.7.4
rdrew 5 years ago
parent
commit
373246a90d
  1. 24
      css/style.css
  2. 2
      css/style.css.map
  3. 4
      src/scss/_article-pages.scss
  4. 3
      src/scss/_cite-this.scss
  5. 16
      src/scss/_toc.scss

24
css/style.css

@ -652,9 +652,8 @@ figure.align-left {
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
text-decoration: none; text-decoration: none;
padding: 2px 3px; padding: 1px 3px;
font-size: 1.1rem; font-size: 1.1rem; }
vertical-align: super; }
.footnotes .footnote-multi { .footnotes .footnote-multi {
float: none; float: none;
@ -901,14 +900,18 @@ h3.field-group-format-toggler.accordion-item a {
border-top: 0px; border-top: 0px;
padding-top: 1rem; } padding-top: 1rem; }
.toc-block--wide .toc--list ol {
font-family: "Libre Baskerville", Georgia, Times New Roman, Serif;
font-size: 1.8rem;
line-height: 1.8; }
.toc-block--wide .toc--list a { .toc-block--wide .toc--list a {
display: block; display: block;
padding-left: 1rem; } padding-left: 1rem;
font-family: "Lato", Helvetica Neue, Arial, Sans-serif;
font-weight: normal;
font-size: 16px;
border-bottom: 1px dotted #ccc;
margin-bottom: 0.5rem;
padding-bottom: 0.5rem; }
.toc-block--wide .toc--list a strong {
font-weight: normal; }
.toc-block--wide .toc--list a:hover { .toc-block--wide .toc--list a:hover {
background: #ccc; } background: #ccc; }
@ -957,6 +960,9 @@ h3.field-group-format-toggler.accordion-item a {
text-indent: -28px; text-indent: -28px;
padding-left: 28px; } padding-left: 28px; }
.citeproc-title {
font-style: italic; }
.article_attachment a { .article_attachment a {
line-height: calc(155% + 0.2vw); line-height: calc(155% + 0.2vw);
font-size: calc(0.9em + 0.3vw); font-size: calc(0.9em + 0.3vw);

2
css/style.css.map

File diff suppressed because one or more lines are too long

4
src/scss/_article-pages.scss

@ -91,9 +91,9 @@ figure.align-left {
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
text-decoration: none; text-decoration: none;
padding: 2px 3px; padding: 1px 3px;
font-size: 1.1rem; font-size: 1.1rem;
vertical-align: super; //vertical-align: super;
} }
} }
.footnotes { .footnotes {

3
src/scss/_cite-this.scss

@ -17,3 +17,6 @@
text-indent: -28px; text-indent: -28px;
padding-left: 28px; padding-left: 28px;
} }
.citeproc-title {
font-style: italic;
}

16
src/scss/_toc.scss

@ -65,13 +65,23 @@ div#toc-sections {
//list-style-type: none; //list-style-type: none;
//padding-left: 0; //padding-left: 0;
font-family: $serif; //font-family: $serif;
font-size: 1.8rem; //font-size: 1.8rem;
line-height: 1.8; //line-height: 1.8;
} }
a { a {
display: block; display: block;
padding-left: 1rem; padding-left: 1rem;
font-family: $sans-serif;
font-weight: normal;
font-size: 16px;
//line-height: 16px;
border-bottom: 1px dotted #ccc;
margin-bottom: 0.5rem;
padding-bottom: 0.5rem;
strong {
font-weight: normal;
}
&:hover { &:hover {
background: #ccc; background: #ccc;
} }

Loading…
Cancel
Save