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
var w = window, | |
d = document, | |
e = d.documentElement, | |
g = d.getElementsByTagName('body')[0], | |
x = w.innerWidth || e.clientWidth || g.clientWidth, | |
y = w.innerHeight|| e.clientHeight|| g.clientHeight; | |
var percentageFill = 0.8; | |
document.getElementById("messagebuffer").style.height = percentageFill * y + "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
function checkTime(i) { | |
if (i<10) {i = "0" + i}; // add zero in front of numbers < 10 | |
return i; | |
} | |
var colorMeBadInterval, | |
funkyTownInterval, | |
varPartyModeOn = false; |
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
.color1{background:orange;transition:background-color .5s ease}.color2{background:#ff0;transition:background-color .5s ease}.color3{background:green;transition:background-color .5s ease}.color4{background:blue;transition:background-color .5s ease}.color5{background:#4b0082;transition:background-color .5s ease}.color6{background:#ee82ee;transition:background-color .5s ease}.color7{background:#ffc0cb;transition:background-color .5s ease}.color8{background:purple;transition:background-color .5s ease}.span1{color:orange}.span2{color:#ff0}.span3{color:green}.span4{color:blue}.span5{color:#4b0082}.span6{color:#ee82ee}.span7{color:#ffc0cb}.span8{color:red}.animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:1s;-moz-animation-duration:1s;-ms-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s}.animated.hinge{-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-anima |
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
.spoiler:hover{ | |
background: #000000; | |
color:#FFFFFF; | |
} |
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
.nick-hover > .spoiler { | |
background-color:#000 | |
} |
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
// tube favicon | |
(function() { | |
var link = document.createElement('link'); | |
link.type = 'image/x-icon'; | |
link.rel = 'shortcut icon'; | |
link.href = 'http://boards.420chan.org/static/images/board_icons/b_icon_64.png'; | |
document.getElementsByTagName('head')[0].appendChild(link); | |
}()); | |
function formatUserlistItem(a) { |
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
.popup-imagelink{ | |
position: absolute; | |
max-width: 200px; | |
max-height: 200px; | |
} | |
.explain-macro { | |
border-radius: 4px; | |
border:0px; | |
text-align:center; |
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
<div class="modal fade" id="mBuffer-Settings"> | |
<div class="modal-dialog modal-sm"> | |
<div class="modal-content" style="max-width:770px;"> | |
<div class="modal-header"> | |
<button id="mBuffer-Settings-Close" class="close" data-dismiss="modal"> | |
<span>×</span> | |
</button> | |
<h4 class="modal-title" id="mBufferTitle"> | |
Chat Settings |
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
Shader "Custom/Cook-Torrance" { | |
Properties { | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_BumpMap("Normal Map", 2D) = "bump" {} | |
_Metallic("Metallic", Range(0,1)) = 0.5 | |
_MetallicTex("Metallic", 2D) = "white" {} | |
_Roughness("Roughness", Range(0.000000001,1)) = 0.5 | |
_RoughnessTex("Roughness", 2D) = "white" {} | |
_Fresnel("Fresnel Value", Float) = 0.028 |