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
c0e03f3eaf
  1. 7
      css/style.css
  2. 3
      js/js.js
  3. 1
      lmmi_journal.info.yml
  4. 5
      lmmi_journal.libraries.yml
  5. 3
      src/js/js.js
  6. 6
      src/scss/_article-pages.scss
  7. 2
      src/scss/style.scss

7
css/style.css

File diff suppressed because one or more lines are too long

3
js/js.js

@ -1,8 +1,9 @@
(function ($, Drupal) { (function ($, Drupal) {
Drupal.behaviors.myAwesomeJs = { Drupal.behaviors.footnote_tooltips = {
attach: function attach(context, settings) { attach: function attach(context, settings) {
//js goes here //js goes here
$('.menu').remove();
} }
}; };

1
lmmi_journal.info.yml

@ -7,6 +7,7 @@ base theme: magazineplus
# Defines libraries group in which we can add css/js. # Defines libraries group in which we can add css/js.
libraries: libraries:
- lmmi_journal/global-styling - lmmi_journal/global-styling
- lmmi_journal/global-scripts
- lmmi_journal/fonts - lmmi_journal/fonts
stylesheets-remove: core/themes/stable/css/views/views.module.css stylesheets-remove: core/themes/stable/css/views/views.module.css

5
lmmi_journal.libraries.yml

@ -8,6 +8,11 @@ global-styling:
dependencies: dependencies:
- core/jquery - core/jquery
global-scripts:
js:
js/js.js: {}
fonts: fonts:
version: VERSION version: VERSION
remote: //fonts.googleapis.com/css remote: //fonts.googleapis.com/css

3
src/js/js.js

@ -1,8 +1,9 @@
(function ($, Drupal) { (function ($, Drupal) {
Drupal.behaviors.myAwesomeJs = { Drupal.behaviors.footnote_tooltips = {
attach: function attach(context, settings) { attach: function attach(context, settings) {
//js goes here //js goes here
$('.menu').remove();
} }
}; };

6
src/scss/_article-title-banner.scss → src/scss/_article-pages.scss

@ -19,13 +19,15 @@
margin-top: 1rem; margin-top: 1rem;
} }
} }
//footnotes
a[id^="footnote"] { a[id^="footnote"] {
border: 1px solid #5d5d5d; border: 1px solid #5d5d5d;
background: #5d5d5d; background: #5d5d5d;
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
text-decoration: none; text-decoration: none;
padding: 2px 4px; padding: 2px 3px;
font-size:1.2rem; font-size:1.1rem;
vertical-align:super;
} }
} }

2
src/scss/style.scss

@ -1,7 +1,7 @@
//imports //imports
@import 'lp-preview-grid'; @import 'lp-preview-grid';
@import 'lp-hero'; @import 'lp-hero';
@import 'article-title-banner'; @import 'article-pages';
/*on-scroll menu */ /*on-scroll menu */
.fixed-header-enabled.onscroll .header-container ul.menu { .fixed-header-enabled.onscroll .header-container ul.menu {

Loading…
Cancel
Save