Skip to content

Instantly share code, notes, and snippets.

View melanieceraso's full-sized avatar

Melanie Ceraso melanieceraso

View GitHub Profile
/**
* @license Highcharts
*
* (c) 2009-2016 Torstein Honsi
*
* License: www.highcharts.com/license
*/
// Colors for data series and points.
$colors: #f00 #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1 !default;
@melanieceraso
melanieceraso / 0_reuse_code.js
Created March 8, 2017 17:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@melanieceraso
melanieceraso / LESS_Convert-PX-to-REM.txt
Last active September 16, 2021 13:08
LESS Mixin for PX to REM Conversion
For the project I was working on, rather than having one base font size, we have two based on a desktop and mobile viewport.
@mobile-base-font: 16;
@desktop-base-font: 18;
html {
font-size: (@mobile-base-font*1px); /* rem unit for mobile and tablet */
@media @desktop {
font-size: (@desktop-base-font*1px); /* rem unit for laptop and desktop */
}
@melanieceraso
melanieceraso / ccoyier-bootstrap-blocked-table.css
Last active August 29, 2015 14:08
Chris Coyier's responsive table CSS adopted for Twitter Bootstrap v3.2
.table {
font-size: 16px;
line-height: 22px;
color: #53626f;
display: block;
position: relative;
}
.table thead {
display: block;
float: left;
@melanieceraso
melanieceraso / dbushnell-bootstrap-table.css
Created October 23, 2014 21:04
Dave Bushnell's responsive table CSS adopted for Twitter Bootstrap v3.2
.table {
font-size: 16px;
line-height: 22px;
color: #53626f;
display: block;
position: relative;
}
.table thead {
display: block;
float: left;