Skip to content

Instantly share code, notes, and snippets.

View mrmcpowned's full-sized avatar

Christopher Rodriguez mrmcpowned

View GitHub Profile
.ds4 .stick {
filter: brightness(2);
}
/*BEGIN Fight Stick Controller Styling*/
.controller.fight-stick {
background: url(stick-assets/base.svgz) center no-repeat;
height: 534px;
width: 1122px;
}
.fight-stick.disconnected {
background: url(stick-assets/disconnected.svgz) no-repeat;
}
/*
So when dealing with CSS sprites, this is how we would normally
go about styling the HTML
*/
.custom .button{
position: absolute;
width:62px;
height:62px;
background: url(ps3-assets/face-buttons.png);
}
.edit.xbox .sticks{
-webkit-filter: invert(1);
}
.controller.edit {
background: url(http://i.imgur.com/tffA4dP.png);
height: 544px;
width: 668px;
}
.edit .stick {
position: absolute;
background: url(http://i.imgur.com/LpLOf3G.png);
height: 86px;
width: 86px;
// ==UserScript==
// @name Discord Direct Video Embed
// @namespace https://orangestar12.github.io/
// @version 0.1
// @description Converts uploaded videos that end in .webm and .mp4 into embedded video players.
// @author Orangestar
// @match https://discordapp.com/channels/*
// @grant none
// ==/UserScript==
@mrmcpowned
mrmcpowned / 0_reuse_code.js
Created March 15, 2016 02:05
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
.controller .stick.left {
display: none;
}
.controller .stick.right{
display: block;
}
.controller .arrows:before{
transform: translateX(8px);
}
@keyframes colorhue{
from {-webkit-filter: hue-rotate(0deg); filter: hue-rotate(0deg);}
to {-webkit-filter: hue-rotate(359deg); filter: hue-rotate(359deg);}
}
.edit {
animation: colorhue 1s linear infinite;
}
/*BEGIN Xbox One Controller Styling*/
.controller.custom{
/* background: url(http://mrmcpowned.com/gamepad/xbox-assets/base.svgz); */
height: 630px;
width: 750px;
margin-left: -375px;
margin-top: -285px;
}
.custom.white{
background: url(http://mrmcpowned.com/gamepad/xbox-assets/base-white.svgz);