# Material Design Experiments

**URL:** <https://meta.discourse.org/t/material-design-experiments/38398>\
**Category:** UX\
**Created:** [January 24, 2016, 9:05am UTC](https://meta.discourse.org/t/material-design-experiments/38398 "2016-01-24T09:05:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ccdw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ccdw/32/51564_2.png) [@ccdw](https://meta.discourse.org/u/ccdw)\
**Post date:** [January 24, 2016, 9:05am UTC](https://meta.discourse.org/t/material-design-experiments/38398/1 "2016-01-24T09:05:14Z")

</div>

Continuing the discussion from [Client Side Hooks and Functions](https://meta.discourse.org/t/client-side-hooks-and-functions/38397):

We are in the process of skinning the categories pages of Discourse, see below. This is achieved with 50 lines or so of SCSS(CSS).

You’ll notice the categories are packed together vertically. To achieve this we’ve used [Packery](http://packery.metafizzy.co/) and it works well - although to reiterate, the styling changes are all CSS.

 ![](https://global.discourse-cdn.com/meta/original/3X/3/e/3eb6176ff709641ecea4d037489f56f352b649d9.png)

The same CSS and code, albeit with a slightly different core selector, also works on individual category pages. Note that the category description (large ALT etc) is restyled too.

 ![](https://global.discourse-cdn.com/meta/original/3X/4/8/48e8689b327cc0b9e57eb6e346ada9d61c029d81.png)

  
Nest steps will be to filter and sort topics using [Isotope](http://isotope.metafizzy.co/layout-modes/vertical.html), again with a Material Design look n feel.

I’ve posted this here to share, in principle, what we are doing, but also to appeal to the community with regards client side hooks, functions and includes - the use of which makes things like the packing algorithm function reliably.

Two areas (for now) I need help with, both wrt client side code.

1. How can I reliably include an external script such that dependent code isn’t called before the script is available? I see Discourse uses Require, can I hook into that by overriding the base URL?

2. What hooks are available to signal when a new page has been loaded and or updated.

  
Many thanks.

---

_[View the full topic](https://meta.discourse.org/t/material-design-experiments/38398)._
