This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use "sass:list"; | |
@charset "UTF-8"; // Fixes an issue where Ruby locale is not set properly | |
// See https://github.com/sass-mq/sass-mq/pull/10 | |
/// Base font size on the `<body>` element | |
/// @type Number (unit) | |
$mq-base-font-size: 16px !default; | |
/// Responsive mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --recursive --no-clobber --page-requisites --html-extension --convert-links --restrict-file-names=windows --no-parent -U Mozilla --no-check-certificate --limit-rate=200k url.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application\Theme\Customtheme; | |
use Concrete\Core\Area\Layout\Preset\Provider\ThemeProviderInterface; | |
class PageTheme extends \Concrete\Core\Page\Theme\Theme implements ThemeProviderInterface | |
{ | |
/** | |
* Theme name | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// contrasting font color | |
@function set-font-color($color, $dark: #000, $light: #FFF) { | |
// return $dark or $light color depending on lightness of $color | |
@return if(lightness($color) > 50, $dark, $light); | |
} | |
$color: #0000FF; | |
.default { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// list for class names | |
$alpha: a b c d e f g h i j k l m n o p q r s t u v w x y z; | |
// Color Map | |
$colors: ( | |
blue: #0000FF, | |
red: ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Color Map | |
$colors: ( | |
blue: #0000FF, | |
red: ( | |
base: #FF0000, | |
light: #EEEEFF, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Colors | |
// Base Colors | |
$c-black: #000000; | |
$c-white: #ffffff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Some SASS helpers | |
# | |
# INSTALL: | |
# | |
# * save the sassbash file somewhere | |
# * chmod +x it to make it executable | |
# * add path to script in your .bashrc | |
# * . /path/to/sassbash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="#" class="btn">Don't Click Me</a> |
NewerOlder