Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add journal brand tool from Beyond the Theme workshop #571

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
678 changes: 678 additions & 0 deletions _layouts/design-steps.html

Large diffs are not rendered by default.

674 changes: 674 additions & 0 deletions design-steps/LICENSE

Large diffs are not rendered by default.

Binary file added design-steps/fonts/Inter-Black.ttf
Binary file not shown.
Binary file added design-steps/fonts/Inter-Black.woff
Binary file not shown.
Binary file added design-steps/fonts/Inter-Black.woff2
Binary file not shown.
Binary file added design-steps/fonts/Inter-BlackItalic.ttf
Binary file not shown.
Binary file added design-steps/fonts/Inter-BlackItalic.woff
Binary file not shown.
Binary file added design-steps/fonts/Inter-BlackItalic.woff2
Binary file not shown.
Binary file added design-steps/fonts/Inter-Italic.ttf
Binary file not shown.
Binary file added design-steps/fonts/Inter-Italic.woff
Binary file not shown.
Binary file added design-steps/fonts/Inter-Italic.woff2
Binary file not shown.
Binary file added design-steps/fonts/Inter-Regular.ttf
Binary file not shown.
Binary file added design-steps/fonts/Inter-Regular.woff
Binary file not shown.
Binary file added design-steps/fonts/Inter-Regular.woff2
Binary file not shown.
11 changes: 11 additions & 0 deletions design-steps/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Choose your own adventure: Customising your OJS 3 journal"
description: An OJS 3 guide to customising your journal’s website with minimal resources and time.
layout: design-steps
---

# What goes into an OJS 3 journal’s identity?

[Access the workshop slides](https://bit.ly/2QzECUf)

[Download](https://drive.google.com/open?id=1bTZ2LF-NKRCIVNIKnO9NAtIZlundOre9) all the visual assets & colour palettes used in the demo.
61 changes: 61 additions & 0 deletions design-steps/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
var start = document.getElementById('start'),
colours = document.getElementById('colours'),
coloursLow = document.getElementById('colours-low'),
coloursMedium = document.getElementById('colours-medium'),
coloursHigh = document.getElementById('colours-high'),
coloursHighMore = document.getElementById('colours-high-more'),

typography = document.getElementById('typography'),
typographyLow = document.getElementById('typography-low'),
typographyMedium = document.getElementById('typography-medium'),
typographyMediumMore = document.getElementById('typography-medium-more'),
typographyHigh = document.getElementById('typography-high'),
typographyHighMore = document.getElementById('typography-high-more'),

logo = document.getElementById('logo'),
logoLow = document.getElementById('logo-low'),
logoMedium = document.getElementById('logo-medium'),
logoMediumMore = document.getElementById('logo-medium-more'),
logoHigh = document.getElementById('logo-high'),
logoHighMore = document.getElementById('logo-high-more'),

visuals = document.getElementById('visuals'),
visualsLow = document.getElementById('visuals-low'),
visualsMedium = document.getElementById('visuals-medium'),
visualsMediumMore = document.getElementById('visuals-medium-more'),

theme = document.getElementById('theme'),
themeManuscript = document.getElementById('theme-manuscript'),
themeHealthSciences = document.getElementById('theme-health-sciences'),
themeClassic = document.getElementById('theme-classic'),
themeImmersion = document.getElementById('theme-immersion'),
themePragma = document.getElementById('theme-pragma');

function showStep(step) {
var activeElem = event.target;

step.classList.toggle("open");

activeElem.classList.toggle("active");

if (activeElem.classList.contains("choice")) {
var parent = activeElem.closest(".choices"),
siblings = activeElem.parentNode.children;

// Display down arrow
parent.classList.toggle("arrow");
parent.scrollIntoView({behavior: "smooth"});

// Hide other choices
for (var i = 0; i < siblings.length; i++) {
if (siblings[i] !== activeElem) {
siblings[i].classList.toggle("hide");
}
}

} else {
var container = step.closest(".building-block");
container.scrollIntoView({behavior: "smooth"});
}

}
Loading