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
//------------------------ | |
// General/Matchmaking Settings (begin) | |
//------------------------ | |
mm_dedicated_search_maxping “70″ | |
cl_autowepswitch "0" | |
cl_loadout_colorweaponnames "1" | |
cl_mute_enemy_team "1" | |
cl_bob_lower_amt "30" | |
cl_bobamt_lat ".1" | |
cl_viewmodel_shift_left_amt ".5" |
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
@min_width: 400; | |
@max_width: 800; | |
@min_font: 12; | |
@max_font: 24; | |
@min_width-px: unit(@min_width, px); | |
@max_width-px: unit(@max_width,px); | |
@min_font-px: @min_font * 1px; | |
@max_font-px: @max_font * 1px; | |
:root { |
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
@cursor-disabled : not-allowed; | |
@font-size-root : 16px; | |
@font-size-base : 1rem; | |
@font-family-sans-serif : BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; | |
@font-family-base : @font-family-sans-serif ; | |
@brand-primary : #0275d8; | |
@gray-dark : #373a3c; | |
@gray-light : #818a91; |
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 getVisibleHeight(el) { | |
var elementHeight = el.offsetHeight; | |
var windowHeight = window.innerHeight; | |
var rect = el.getBoundingClientRect(); | |
var topValue = rect.top; | |
var bottomValue = rect.bottom; | |
return Math.max(0, topValue > 0 ? Math.min(elementHeight, windowHeight - topValue) : (bottomValue < windowHeight ? bottomValue : windowHeight)); | |
} |
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() { | |
var e = document.getElementsByClassName('sample')[0]; | |
function whichTransitionEvent(){ | |
var t; | |
var el = document.createElement('fakeelement'); | |
var transitions = { | |
'transition':'transitionend', | |
'OTransition':'oTransitionEnd', |
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 getRatio(a, b) { | |
return Math.min(a, b) / Math.max(a, b); | |
}; |
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() { | |
var PHI, backgroundPositionYCache, calculateBaselineYRatio, calculateTextHighestY, calculateTypeMetrics, clearCanvas, containerIdAttrName, containsAnyNonInlineElements, containsInvalidElements, countParentContainers, destroy, fontAvailable, getBackgroundColor, getBackgroundColorNode, getFirstAvailableFont, getLinkColor, getUnderlineBackgroundPositionY, hasValidLinkContent, init, initLink, initLinkOnHover, isTransparent, isUnderlined, linkAlwysAttrName, linkBgPosAttrName, linkColorAttrName, linkContainers, linkHoverAttrName, linkLargeAttrName, linkSmallAttrName, performanceTimes, renderStyles, selectionColor, sortContainersForCSSPrecendence, styleNode, time, uniqueLinkContainerID; | |
window.SmartUnderline = { | |
init: function() {}, | |
destroy: function() {} | |
}; | |
if (!(window['getComputedStyle'] && document.documentElement.getAttribute)) { | |
return; |
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
// Color names generated by: | |
// 1. https://coolors.co/ | |
// 2. http://chir.ag/projects/name-that-color/ | |
// Colors ========================================= | |
// ====== Generic | |
// | |
// Black -> Grays w/ #'s | |
// | |
@color-black : #000000; |
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
// | |
// Colors | |
// | |
$color-black: #000; | |
$color-licorice: #111; | |
$color-raisin-black: #222; | |
$color-jet: #333; | |
$color-arsenic: #444; | |
$color-davy-gray: #555; | |
$color-granite-gray: #666; |
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
// Selects id's inside of an HTML tag that has a space before it. | |
` id="[^"]+"` | |
// Select `headings"` inside of an HTML tag that has a double quote after it, without a space or hyphen before it. | |
// Used to grab the class name headings in this case | |
`(?<! )+(?<!-)+(?=headings")\w+([headings"])` |