This file contains hidden or 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
| window.navigator.mediaSession.metadata = new window.MediaMetadata({ | |
| title: 'FIS Ski Weltcup Abfahrt der Herren Kvitfjell', | |
| artist: 'Das Rennen', | |
| album: 'ORF1 HD', | |
| }); |
This file contains hidden or 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
| @font-face { | |
| .woot { | |
| font-family: "Name"; | |
| font-weight: 400; | |
| font-style: normal; | |
| src: url("static/fonts/name/name_regular.woff2"), url("static/fonts/name/name_regular.woff"); | |
| } | |
| } | |
| @font-face { |
This file contains hidden or 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
| $fontWeightMap: ( | |
| bold: 700, | |
| regular: 400, | |
| italic: 400, | |
| light: 100, | |
| ); | |
| @mixin fontFace($fontName, $path: 'static/fonts/') { | |
| $font: to-lower-case($fontName); |
This file contains hidden or 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
| @function toEm($target, $context: $base_font-size) { | |
| @return ($target / $context) * 1em; | |
| } | |
| @function toRem($target) { | |
| @return ($target / 10) * 1rem; | |
| } | |
| @function toPx($target) { | |
| @return $target + px; |
This file contains hidden or 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
| $border-size: 1; | |
| $height: 16; | |
| .box { | |
| border: toPx($border-size) solid; // 1px | |
| height: toRem($height - $border-size * 2); // 1rem | |
| } |
This file contains hidden or 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
| $size: 14; | |
| .room { | |
| font-size: toEm($size); // 1em | |
| } | |
| .cat { | |
| height: toRem($size); // 1.4rem | |
| } |
This file contains hidden or 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
| const fs = require('fs'); // read files | |
| const args = require('yargs').argv; // recognize command arguments | |
| const gulp = require('gulp'); | |
| const semver = require('semver'); | |
| const bump = require('gulp-bump'); | |
| const git = require('gulp-git'); | |
| /** | |
| * Bumping version number and tagging the repository with it. | |
| * |
This file contains hidden or 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
| { | |
| "name": "pimp", | |
| "version": "0.0.1", | |
| "description": "...", | |
| "devDependencies": { | |
| "gulp": "^3.9.1", | |
| "gulp-bump": "^2.4.0", | |
| "gulp-git": "^1.11.3", | |
| "yargs": "^5.0.0" | |
| } |
This file contains hidden or 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
| exports.config = { | |
| version: '0.0.1' | |
| }; |
This file contains hidden or 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
| { | |
| "name": "pimp", | |
| "version": "0.0.1", | |
| "description": "..." | |
| } |