Browse Source

Merge branch 'master' of https://github.com/rdrew/lmmi_journal_theme

dependabot/npm_and_yarn/acorn-5.7.4
Rob Drew 6 years ago
parent
commit
25cef2f1a9
  1. 71
      css/style.css
  2. 81
      src/scss/_article-pages.scss

71
css/style.css

File diff suppressed because one or more lines are too long

81
src/scss/_article-pages.scss

@ -7,7 +7,10 @@
margin: 1em 0 1em 1em;
}
.align-left {
margin: 1em 1em 1em 0;
margin: 1em 16px 1em 0;
}
figure.align-left {
margin: 1em 16px 1em 0;
}
.align-center img {
display: block;
@ -56,12 +59,22 @@
.field--name-body figure {
margin-left: initial;
margin-right: initial;
float: left;
&.align-right {
margin: 1em 0 1em 1em;
}
&.align-left {
margin: 1em 1em 1em 0;
}
.align-center img {
display: block;
margin-left: auto;
margin-right: auto;
}
img {
border: 1px solid #ccc;
padding: 4px;
width: 200px;
float: left;
//width: 200px;
margin-right: 1rem;
margin-top: 1rem;
}
@ -188,3 +201,63 @@ header.article-header {
grid-template-areas: 'main toc';
}
}
//notes
.footnote-list {
.footnotes {
font-size: 18px;
a {
font-weight: bold;
}
}
.item-list ul li span {
font-size: 18px;
font-style: italic;
font-weight: 400;
padding-left: 5px;
}
}
//info
.field--entity-reference-target-type-taxonomy-term {
.field__label {
border-bottom: 0px;
margin: 0px;
padding: 0px;
&:after {
content: ':';
margin-right: 16px;
}
float: left;
}
}
.field--name-field-cc-license {
h3 {
font-size: 16px;
font-weight: bold;
margin: 0px;
padding: 0px;
&:after {
content: ':';
margin-right: 16px;
}
float: left;
}
p {
display: inline;
}
}
.field--name-field-article-subjects {
border-bottom: 0px;
}
.field--entity-reference-target-type-taxonomy-term,
.field--entity-reference-target-type-taxonomy-term.field__item {
margin: 0 0;
}
//this is just here to underline the article info heading, may cause problems eslewhere
h3.field-group-format-toggler.accordion-item {
a {
color: #2e2e2e;
border-bottom: 1px solid #2e2e2e;
display: block;
}
}

Loading…
Cancel
Save