Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

27 lines (23 loc) · 1.01 KB

Climb Social - Themes

A collection of CSS themes for climb.social

To embed a climb collection with a theme:

  1. Insert css stylesheet of theme into head:
<link rel="stylesheet" type="text/css" href="http://rawgit.com/Climb-social/climb-themes/master/themes/css/climb-red.css">
  1. add the climb object to DOM, change data-collection attribute to you collection id:
<div class="climb-wall climb-red" data-collection="745475482">
</div>
  1. add JS lib to end of body:
<script src="//cdnjs.cloudflare.com/ajax/libs/mithril/0.2.0/mithril.min.js"></script>
<script type="text/javascript" src="https://rawgit.com/Climb-social/mithril-climb-wall/master/src/app.js"></script>

To demo themes

  1. see Demo Page
  2. Or open in browser: demo.html

To Write and compile scss files

  1. ensure sass is installed: 'gem install sass'
  2. enable watching/compiling 'sass --watch themes/sass:themes/css'