Animations are managed using both an animated element, and its parent. The parent receives a class named .has-animation
, which works in tandem with some JavaScript code. That code runs on page load, and then every time the page is scrolled.
Once an element has been detected as scrolled into view, the parent is appended an additional class, named .has-been-revealed
. With minimal exceptions, animations are only triggered on elements with a specific animation class, that is the child of an element bearing both the classes .has-animation
and .has-been-revealed
.
.fade-in-up
.fade-in-right
.fade-in-down
.fade-in-right
.reveal-in
.draw-in-line
.draw-in-line-80
Like the above animations, leverages the class .has-animation
but also the class (on parent still) of .has-image-animation
.
Tilted Text Animation:
Retro Machinery Animation:
Scroll-based Rings:
Scroll-based Globe:
|sass/
| - meta.scss # WP Header Comments for style meta
|
|– utils/ # Misc stuff like variables, helper classes, functions, mix-ins, and animation stuff
| |– _variables.scss # Sass Variables
| |– _functions.scss # Sass Functions
| |– _mixins.scss # Sass Mixins
| |– _helpers.scss # Class & placeholders helpers
| |– animations.scss # Class & placeholders helpers
|
|– base/ # Boilerplate, typography, normalizing -- shouldn't need edits
| |– normalize.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
|– layout/ # Globals, grid system, forms, etc.
| |– _navigation.scss # Navigation
| |– _header.scss # Header
| |– _footer.scss # Footer
| |– _forms.scss # Forms
| ... # Etc…
|
|– components/ # Styles specific to widgets -- overrides for ACF Blocks go here
| |– _buttons.scss # Buttons -- includes default permutations
| |– _carousel.scss # Carousel
| |– _cover.scss # Cover
| |– _dropdown.scss # Dropdown
| ... # Etc…
|
|– sections/ # Styles specific to pages
| |– _home.scss # Home specific styles
| |– _contact.scss # Contact specific styles
| ... # Etc…
|
| – main.scss # Primary Sass file -- only @import and comments in here
Font Faces, Weights, Styles, Sizes
Each Unique Text Element Instance
Other Relevant Elements
Paragraphs & Text Variants
This is normal text.
This is some fancy variant.
This is some other fancy variant
Headings
List Styles
Button Styles
Category block doesn’t work without the API Blog Listing block.
Only works if the page has a parent page, otherwise it assumes you wanna go 🏠. Includes plain, chevron, and arrow (for now, and counting).
Vertical line on desktop; horizontal line on mobile. There is no native vertical line in HTML, but there is for horizontal.
Must be implemented in conjunction with the meganav (see header).
Line height will look wonky pending your brand choice, will need to be refined on a per-site basis (quick and easy to do that, though).
Filter does not render on mobile.
All
Category One
Category Two
Example Item One
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sodales, nulla vel tristique euismod, orci erat laoreet massa, vitae accumsan augue tellus aliquet tortor. Mauris ante tortor, varius nec posuere vitae, tincidunt at tortor. Sed malesuada elementum sollicitudin. Quisque ornare neque quis orci laoreet egestas eu at justo. Vestibulum a congue nunc. Nulla ultricies tortor vel nunc rutrum scelerisque. Sed accumsan aliquet ex sit amet congue. Phasellus eu nibh ipsum. Nunc dapibus, odio sit amet tempus interdum, purus quam accumsan turpis, nec posuere metus elit vitae ipsum. Praesent non lorem id tellus pretium lacinia. Nunc porta lectus mi, eu ornare ipsum facilisis a. Nam et eros aliquet, tristique lorem ac, congue nisi. Sed faucibus ornare diam sed ultrices. Suspendisse quis blandit orci. Phasellus dictum dictum sapien eget tempus. Curabitur ut vestibulum erat.
Example Item One
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sodales, nulla vel tristique euismod, orci erat laoreet massa, vitae accumsan augue tellus aliquet tortor. Mauris ante tortor, varius nec posuere vitae, tincidunt at tortor. Sed malesuada elementum sollicitudin. Quisque ornare neque quis orci laoreet egestas eu at justo. Vestibulum a congue nunc. Nulla ultricies tortor vel nunc rutrum scelerisque. Sed accumsan aliquet ex sit amet congue. Phasellus eu nibh ipsum. Nunc dapibus, odio sit amet tempus interdum, purus quam accumsan turpis, nec posuere metus elit vitae ipsum. Praesent non lorem id tellus pretium lacinia. Nunc porta lectus mi, eu ornare ipsum facilisis a. Nam et eros aliquet, tristique lorem ac, congue nisi. Sed faucibus ornare diam sed ultrices. Suspendisse quis blandit orci. Phasellus dictum dictum sapien eget tempus. Curabitur ut vestibulum erat.
Example Item Two
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sodales, nulla vel tristique euismod, orci erat laoreet massa, vitae accumsan augue tellus aliquet tortor. Mauris ante tortor, varius nec posuere vitae, tincidunt at tortor. Sed malesuada elementum sollicitudin. Quisque ornare neque quis orci laoreet egestas eu at justo. Vestibulum a congue nunc. Nulla ultricies tortor vel nunc rutrum scelerisque. Sed accumsan aliquet ex sit amet congue. Phasellus eu nibh ipsum. Nunc dapibus, odio sit amet tempus interdum, purus quam accumsan turpis, nec posuere metus elit vitae ipsum. Praesent non lorem id tellus pretium lacinia. Nunc porta lectus mi, eu ornare ipsum facilisis a. Nam et eros aliquet, tristique lorem ac, congue nisi. Sed faucibus ornare diam sed ultrices. Suspendisse quis blandit orci. Phasellus dictum dictum sapien eget tempus. Curabitur ut vestibulum erat.
Example Item Two
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sodales, nulla vel tristique euismod, orci erat laoreet massa, vitae accumsan augue tellus aliquet tortor. Mauris ante tortor, varius nec posuere vitae, tincidunt at tortor. Sed malesuada elementum sollicitudin. Quisque ornare neque quis orci laoreet egestas eu at justo. Vestibulum a congue nunc. Nulla ultricies tortor vel nunc rutrum scelerisque. Sed accumsan aliquet ex sit amet congue. Phasellus eu nibh ipsum. Nunc dapibus, odio sit amet tempus interdum, purus quam accumsan turpis, nec posuere metus elit vitae ipsum. Praesent non lorem id tellus pretium lacinia. Nunc porta lectus mi, eu ornare ipsum facilisis a. Nam et eros aliquet, tristique lorem ac, congue nisi. Sed faucibus ornare diam sed ultrices. Suspendisse quis blandit orci. Phasellus dictum dictum sapien eget tempus. Curabitur ut vestibulum erat.
Example Item
Example Item
Dynamically shows results from search query when added to a “Search” Gutenberg template. If not part of that template, will render a list of all pages.
For those suffering from clinical depression, January can be an extremely troubling period of time. In fact, the third Monday of January is often cited as the most depressing day of the year, called “Blue Monday.” Family dysfunction or unresolved childhood trauma can play a big role in depression after the holidays. The holidays tend […]
Explore passive suicidal ideation, its causes, risks, and how early intervention and mental health treatment can help prevent escalation and promote healing.
The holidays tend to shine a spotlight on issues that may be easier to downplay during other times of the year. With all the memories and challenges that seasonal festivities can bring up, the last thing you want to lose is your sobriety during the holidays.
Is mental illness caused by childhood trauma? It turns out that the early traumatic experiences you dealt with as a child can actually have a lasting impact on your life as you come of age. But these experiences can manifest themselves in adulthood as more than just difficult memories. For some people, childhood trauma can […]
An elite athlete’s competitive drive and whatever-it-takes sacrifices are often publicly lauded as they achieve success, especially among Olympic athletes. Yet in recent years, Olympic athletes and hopefuls are increasingly prioritizing their mental health despite the immense pressures they face. As a result, society is realizing that mental health in Olympic athletes should be just as equally praised — and protected — in the pursuit of their dreams.
Although panic disorders and psychosis are distinct, they also overlap. How do you know whether you are struggling with panic disorder, psychosis, or both? Consider the following information and seek professional help to evaluate your own risk.
Drugs and alcohol have evident, lasting effects on our brains, effects that linger even after they leave our systems. But with the right support, recovery can lead to a life, and a brain, that are as balanced or better than they were before addiction — even if your addiction is complicated by co-occurring mental health issues. Read on to learn how neurofeedback can be a part of this recovery support for you or a loved one.
You turn on the news and immediately feel your heart rate quicken. The political division leaves you feeling agitated and anxious. You are annoyed — annoyed that you feel this way — that others do not agree with you on politics, and that you can’t even take in the news anymore without it affecting your mental health.
While recovery is ultimately an individual journey, having the support of family can make a huge difference in your success. Not everyone has family to support them, and not everyone’s family is supportive. But if you have family willing to walk with you, it’s important to know how your addiction affects them, as well as how they can help you during treatment and recovery.
When life is hard, it’s tempting to “tough it out” and hope things get better on their own. But ignoring problems rarely creates a solution. When it comes to your mental health, this is especially true. Professional help exists for a reason, and it can give you back an emotionally and mentally healthy life.
No images found.
No images found.