Browse Source

removed footnote period

dependabot/npm_and_yarn/node-sass-4.14.1
rdrew 5 years ago
parent
commit
c0e6a17e53
  1. 6
      css/style.css
  2. 2
      css/style.css.map
  3. 412
      src/scss/_article-pages.scss

6
css/style.css

@ -754,18 +754,12 @@ h3 {
grid-template-rows: auto; grid-template-rows: auto;
grid-template-areas: 'main toc'; } } grid-template-areas: 'main toc'; } }
.footnote-list .footnotes a:after {
content: '.' !important; }
.footnote-list .footnotes { .footnote-list .footnotes {
font-size: 16px; } font-size: 16px; }
.footnote-list .footnotes a { .footnote-list .footnotes a {
/*font-weight: bold;*/ } /*font-weight: bold;*/ }
.footnote-list .footnotes a:after {
content: '.'; }
.footnote-list .item-list ul li span { .footnote-list .item-list ul li span {
font-size: 15px; font-size: 15px;
font-style: normal; font-style: normal;

2
css/style.css.map

File diff suppressed because one or more lines are too long

412
src/scss/_article-pages.scss

@ -1,149 +1,149 @@
//@format //@format
//embedded images //embedded images
.field--name-field-media-video-embed-field iframe { .field--name-field-media-video-embed-field iframe {
max-width: 100%; max-width: 100%;
} }
.align-right { .align-right {
margin: 1em 0 1em 1em; margin: 1em 0 1em 1em;
} }
.align-left { .align-left {
margin: 1em 16px 1em 0; margin: 1em 16px 1em 0;
} }
figure.align-left { figure.align-left {
margin: 1em 16px 1em 0; margin: 1em 16px 1em 0;
} }
.align-center img { .align-center img {
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.node__main-content { .node__main-content {
.field__label { .field__label {
font-size: 16px; font-size: 16px;
text-transform: none; text-transform: none;
font-weight: bold; font-weight: bold;
} }
.field__item { .field__item {
font-size: 16px; font-size: 16px;
} }
} }
//footnotes //footnotes
.footnote-list .container.item-list { .footnote-list .container.item-list {
width: inherit; width: inherit;
} }
.page-node-type-journal-article .main-content__section { .page-node-type-journal-article .main-content__section {
padding-top: 0; padding-top: 0;
} }
//hero bg-image //hero bg-image
.article-title-banner { .article-title-banner {
//display:none; //display:none;
//border: 1px solid #ccc; //border: 1px solid #ccc;
height: 500px; height: 500px;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
position: relative; position: relative;
} }
//hero text //hero text
h1.article--title { h1.article--title {
@include breakpoint($mobile-only) { @include breakpoint($mobile-only) {
text-align: center; text-align: center;
line-height: 1.2; line-height: 1.2;
font-size: 1.8em; font-size: 1.8em;
} }
//font-size: 25px; //font-size: 25px;
} }
.article-info--wrapper { .article-info--wrapper {
padding: 0; padding: 0;
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
color: #fff; color: #fff;
} }
.field--name-field-journal-article-abstract .field__label { .field--name-field-journal-article-abstract .field__label {
font-size: 2rem; font-size: 2rem;
} }
h3 { h3 {
font-style: normal; font-style: normal;
} }
.node--type-journal-article { .node--type-journal-article {
.field--name-body figure { .field--name-body figure {
//margin-left: initial; //margin-left: initial;
//margin-right: initial; //margin-right: initial;
&.align-right { &.align-right {
margin: 1em 0 1em 1em; margin: 1em 0 1em 1em;
} }
&.align-left { &.align-left {
margin: 1em 1em 1em 0; 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;
margin-right: 1rem;
margin-top: 1rem;
}
} }
//footnotes .align-center img {
.see-footnote { display: block;
//a[id^='footnote'] { margin-left: auto;
border: 1px solid #5d5d5d; margin-right: auto;
background: #5d5d5d;
color: #fff;
border-radius: 4px;
text-decoration: none;
padding: 1px 3px;
font-size: 1.1rem;
//vertical-align: super;
} }
img {
border: 1px solid #ccc;
padding: 4px;
//width: 200px;
margin-right: 1rem;
margin-top: 1rem;
}
}
//footnotes
.see-footnote {
//a[id^='footnote'] {
border: 1px solid #5d5d5d;
background: #5d5d5d;
color: #fff;
border-radius: 4px;
text-decoration: none;
padding: 1px 3px;
font-size: 1.1rem;
//vertical-align: super;
}
} }
.footnotes { .footnotes {
.footnote-multi { .footnote-multi {
float: none; float: none;
vertical-align: none; vertical-align: none;
position: initial; position: initial;
top: initial; top: initial;
font-size: initial; font-size: initial;
} }
} }
header.article-header { header.article-header {
//background: #e6e6e6; //background: #e6e6e6;
//background: url(../img/DS2_2622.jpg); //background: url(../img/DS2_2622.jpg);
//padding: 1rem; //padding: 1rem;
} }
.article-header--metadata { .article-header--metadata {
text-align: center; text-align: center;
@include breakpoint($tablet-up) { @include breakpoint($tablet-up) {
text-align: left; text-align: left;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.left, .left,
.right { .right {
flex-direction: column; flex-direction: column;
align-items: flex-end; align-items: flex-end;
} }
.right { .right {
justify-content: flex-end; justify-content: flex-end;
text-align: right; text-align: right;
}
} }
}
} }
.article-title-banner { .article-title-banner {
.field--name-title { .field--name-title {
color: #fff; color: #fff;
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
}
} }
}
} }
//.article-info--wrapper { //.article-info--wrapper {
//position: absolute; //position: absolute;
@ -153,162 +153,162 @@ header.article-header {
.article-info--wrapper { .article-info--wrapper {
} }
.article-title { .article-title {
color: #fff; color: #fff;
} }
.article-header--metadata { .article-header--metadata {
a {
color: #fff;
}
.article--contributor {
font-size: 27px;
//line-height:36px;
font-family: 'Libre Baskerville', Georgia, Times New Roman, Serif;
font-weight: bold;
font-style: italic;
}
.field--name-field-affiliation-string,
.article--contributor__affiliation {
font-size: 18px;
text-transform: uppercase;
//line-height:18px;
font-weight: normal;
font-style: normal;
font-family: sans-serif;
}
.article--type {
font-size: 18px;
//line-height:18px;
text-transform: uppercase;
a { a {
color: #fff; color: #fff;
}
.article--contributor {
font-size: 27px;
//line-height:36px;
font-family: 'Libre Baskerville', Georgia, Times New Roman, Serif;
font-weight: bold;
font-style: italic;
}
.field--name-field-affiliation-string,
.article--contributor__affiliation {
font-size: 18px;
text-transform: uppercase;
//line-height:18px;
font-weight: normal;
font-style: normal;
font-family: sans-serif;
} }
.article--type { }
font-size: 18px; .article--date-published {
//line-height:18px; font-size: 18px;
text-transform: uppercase; text-transform: uppercase;
a { //line-height:18px;
color: #fff; margin-top: 6px;
}
}
.article--date-published {
font-size: 18px;
text-transform: uppercase;
//line-height:18px;
margin-top: 6px;
.field__label { .field__label {
display: none; display: none;
}
} }
}
} }
//layout //layout
.article-title-banner { .article-title-banner {
padding: 0; padding: 0;
} }
.node__main-content { .node__main-content {
grid-area: main; grid-area: main;
} }
.toc-sticky-wrapper { .toc-sticky-wrapper {
height: 100%; height: 100%;
grid-area: toc; grid-area: toc;
} }
.page-node-type-journal-article .node__container { .page-node-type-journal-article .node__container {
@include breakpoint($desktop-up) { @include breakpoint($desktop-up) {
display: grid; display: grid;
column-gap: 2rem; column-gap: 2rem;
grid-template-columns: 70% 30%; grid-template-columns: 70% 30%;
grid-template-rows: auto; grid-template-rows: auto;
grid-template-areas: 'main toc'; grid-template-areas: 'main toc';
} }
} }
//notes //notes
.footnote-list .footnotes a:after { .footnote-list .footnotes a:after {
content: '.' !important; //content: '.' !important;
} }
.footnote-list { .footnote-list {
.footnotes { .footnotes {
font-size: 16px; font-size: 16px;
a { a {
/*font-weight: bold;*/ /*font-weight: bold;*/
&:after { &:after {
content: '.'; //content: '.';
} }
}
}
.item-list ul li span {
font-size: 15px;
font-style: normal;
font-weight: 400;
padding-left: 5px;
margin-bottom: 1rem;
} }
}
.item-list ul li span {
font-size: 15px;
font-style: normal;
font-weight: 400;
padding-left: 5px;
margin-bottom: 1rem;
}
} }
//info //info
.field--entity-reference-target-type-taxonomy-term { .field--entity-reference-target-type-taxonomy-term {
.field__label { .field__label {
border-bottom: 0px; border-bottom: 0px;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
&:after { &:after {
content: ':'; content: ':';
margin-right: 16px; margin-right: 16px;
}
float: left;
} }
float: left;
}
} }
.field--name-field-cc-license { .field--name-field-cc-license {
h3 { h3 {
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
&:after { &:after {
content: ':'; content: ':';
margin-right: 16px; margin-right: 16px;
}
float: left;
}
p {
display: inline;
} }
float: left;
}
p {
display: inline;
}
} }
.field--name-field-article-subjects { .field--name-field-article-subjects {
border-bottom: 0px; border-bottom: 0px;
} }
.field--entity-reference-target-type-taxonomy-term, .field--entity-reference-target-type-taxonomy-term,
.field--entity-reference-target-type-taxonomy-term.field__item { .field--entity-reference-target-type-taxonomy-term.field__item {
margin: 0 0; margin: 0 0;
} }
//this is just here to underline the article info heading, may cause problems eslewhere //this is just here to underline the article info heading, may cause problems eslewhere
h3.field-group-format-toggler.accordion-item { h3.field-group-format-toggler.accordion-item {
a { a {
color: #2e2e2e; color: #2e2e2e;
border-bottom: 1px solid #2e2e2e; border-bottom: 1px solid #2e2e2e;
display: block; display: block;
/*@extend h2;*/ /*@extend h2;*/
font-size: 30px; font-size: 30px;
} }
} }
.back-to-top { .back-to-top {
display: none; display: none;
} }
.footnote-list > div { .footnote-list > div {
padding: 0; padding: 0;
//margin: 0; //margin: 0;
} }
.bibcite-reference { .bibcite-reference {
font-size: 15px; font-size: 15px;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
padding-left: 5px; padding-left: 5px;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.field--name-field-bibcite-fn-works-cited .field__label { .field--name-field-bibcite-fn-works-cited .field__label {
border-bottom: 1px solid #333; border-bottom: 1px solid #333;
font-size: 30px; font-size: 30px;
font-weight: normal; font-weight: normal;
margin-top: 1rem; margin-top: 1rem;
} }
.footnote-list:before { .footnote-list:before {
content: 'Notes'; content: 'Notes';
font-size: 30px; font-size: 30px;
font-family: $serif; font-family: $serif;
} }

Loading…
Cancel
Save