Skip to content

Commit

Permalink
shut the fuck up
Browse files Browse the repository at this point in the history
  • Loading branch information
poofytoo committed Oct 15, 2013
1 parent 1c9b6ab commit 82cd1b5
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
32 changes: 32 additions & 0 deletions node/public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,35 @@ ul.jta-tweet-list li a{
#news{
font-size: 28px;
}

.shutthefuckup {
background-color: red;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.shutthefuckup .block {
height: 200px;
margin: -100px 0 0 -300px;
text-align: center;
width: 600px;
top: 50%;
left: 50%;
position: absolute;

}
.shutthefuckup h1 {
text-align: center;
color: #fff;
margin: 0 0 10px 0;
font-size: 100px
}
.shutthefuckup h2 {
margin: 0 0 10px 0;
opacity: 1;
font-size: 80px
text-align: center;
color: #fff;
}
21 changes: 20 additions & 1 deletion node/views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,21 @@

<script type='text/javascript'>
lastUpdated = -1;
var isItLateYet = function() {
var today = new Date().getHours();
if (today >= 2 && today <= 7) {
$('.shutthefuckup').show();
console.log(today);
} else {
$('.shutthefuckup').hide();
console.log(today);
}
setTimeout(isItLateYet, 1000);
}
$('.shutthefuckup').hide();
$(document).ready(function(){
isItLateYet();
$('#tweet_feed').jTweetsAnywhere({
searchParams: ['q=bash3w'],
count: 10,
Expand Down Expand Up @@ -190,5 +203,11 @@
-->
</div>
</div>
<div class='shutthefuckup'>
<div class='block'>
<h2>It's Past 2am! That means…</h2>
<h1>Quiet Hours!</h1>
</div>
</div>
</body>
</html>

0 comments on commit 82cd1b5

Please sign in to comment.