Browse Source

added smooth scroll

dependabot/npm_and_yarn/acorn-5.7.4
rdrew 6 years ago
parent
commit
f449a36206
  1. 46
      css/style.css
  2. 16
      src/scss/_article-pages.scss
  3. 21
      src/scss/_lp-preview-grid.scss
  4. 8
      src/scss/_variables.scss

46
css/style.css

File diff suppressed because one or more lines are too long

16
src/scss/_article-pages.scss

@ -1,4 +1,8 @@
//@format
//footnotes
.footnote-list .container.item-list {
width: inherit;
}
.page-node-type-journal-article .main-content__section {
padding-top: 0;
}
@ -38,7 +42,8 @@
}
}
//footnotes
a[id^='footnote'] {
.see-footnote {
//a[id^='footnote'] {
border: 1px solid #5d5d5d;
background: #5d5d5d;
color: #fff;
@ -49,6 +54,15 @@
vertical-align: super;
}
}
.footnotes {
.footnote-multi {
float: none;
vertical-align: none;
position: initial;
top: initial;
font-size: initial;
}
}
header.article-header {
//background: #e6e6e6;

21
src/scss/_lp-preview-grid.scss

@ -10,41 +10,59 @@
background-color: #f8f9fa;
}
//rounded corners
.teaser-card {
$border-radius: 6px;
border-radius: $border-radius;
&__icon {
border-radius: 0 $border-radius 0 0;
}
img {
border-radius: $border-radius $border-radius 0 0;
}
}
.teaser-card {
&.green {
.teaser-card__category,
.teaser-card__icon {
background: #226f23;
background: $color01;
}
}
&.red {
.teaser-card__category,
.teaser-card__icon {
background: #d22b2e;
background: $color02;
}
}
&.blue {
.teaser-card__category,
.teaser-card__icon {
background: #1377ba;
background: $color03;
}
}
&.teal {
.teaser-card__category,
.teaser-card__icon {
background: #37868e;
background: $color04;
}
}
&.purple {
.teaser-card__category,
.teaser-card__icon {
background: #7201a1;
background: $color05;
}
}
&.aqua {
.teaser-card__category,
.teaser-card__icon {
background: #1fe5aa;
background: $color06;
}
}
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
@ -80,8 +98,9 @@
position: absolute;
top: 0;
right: 0;
padding: 10px;
padding: 5px 10px;
color: #fff;
font-size: 2rem;
}
img {
width: 100%;

8
src/scss/_variables.scss

@ -8,3 +8,11 @@ $wide-up: 1200px;
$serif: 'Libre Baskerville', Georgia, Times New Roman, Serif;
$sans-serif: 'Lato',Helvetica Neue,Arial,Sans-serif;;
$color01: #C23F5C;
$color02: #837F44;
$color03: #763241;
$color04: #163743;
$color05: #49A2C2;
$color06: #32763D;
$color07: #A95137;
$color08: #DCBEB5;

Loading…
Cancel
Save