Skip to content

About

My site.

Resources

Stars

470 stars

Watchers

32 watching

Forks

Latest commit

 

History

3,224 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csswizardry.com

This is CSS Wizardry’s uncompiled Jekyll source code.

CSS Wizardry is built on Jekyll and inuit.css, this repository houses the CSS Wizardry specific source code for both.

Adding a Case Study

Create a Markdown file in case-studies/ with its own article and card details:

---
title: "Example: Improving Web Performance"
meta: "What we improved and how it helped."
permalink: /case-studies/example/
client: "Example"
services: "Performance Audit, Consultancy"
order: 130
---

Jekyll adds published studies to the index and the ‘Next up’ sequence automatically. The folder supplies the layout and shared settings, so the article needs no closing navigation include. Links use the destination’s title and URL.

Use a unique numeric order, with higher numbers first. Existing studies run from 120 down to 10; use 130 for the next one, then 140, and so on. The sequence wraps from the last study to the first. The index shuffles its cards in the browser, while the links between studies keep their fixed order.

Optionally add bg_color, bg_gradient, or title_color for the card’s colours. Quote colour values such as "#0072c6". Without these fields, the card uses the shared background and white text. Set toc: false to hide the article’s table of contents.

Set published: false while drafting, then remove it when the study is ready. Unpublished studies stay out of the index and the ‘Next up’ sequence, even when previewing them with --unpublished. The index and case studies regenerate during incremental builds so changes refresh their cards and links. Restart the preview server after changing _config.yml.

Despite being open sourced, all CSS Wizardry code and content remain copyright of Harry Roberts.

H

About

My site.

Resources

Stars

470 stars

Watchers

32 watching

Forks

Releases

Packages

Used by

Contributors

Languages