Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
32 changes: 30 additions & 2 deletions css/zerobin.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* ZeroBin 0.19 - http://sebsauvage.net/wiki/doku.php?id=php:zerobin */


/* CSS Reset from YUI 3.4.1 (build 4118) - Copyright 2011 Yahoo! Inc. All rights reserved.
Licensed under the BSD License. - http://yuilibrary.com/license/ */
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}
Expand Down Expand Up @@ -364,5 +363,34 @@ color:#58A5B4;
pre a:hover {
color:#64B9C6;
}

@media screen and (max-device-width: 480px){
html{
width: 320px;
margin: 0 auto;
}
textarea#message,div#cleartext,.replymessage, code {
line-height: 15px;
height: 150px;
}
div#pasteresult, div#cleartext {
word-wrap:break-word;
}
button,.button,div#expiration {
padding:8px 80px;
border-radius: 10px;
}
div#syntaxcoloringoption{
visibility: hidden;
}
div#expiration, div#rawtextbutton, div#burnafterreadingoption, div#opendisc {
line-height:10px;
color:#fff;
background-repeat:no-repeat;
background-position:center-left;
padding:10px 60px;
font-size:1em;
text-align: center;
display:none;
}
}

15 changes: 6 additions & 9 deletions tpl/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<head>
<title>ZeroBin</title>
<meta name="robots" content="noindex" />
<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#" />
<link type="text/css" rel="stylesheet" href="css/zerobin.css?{$VERSION|rawurlencode}#"/>
<script src="js/jquery.js?{$VERSION|rawurlencode}#"></script>
<script src="js/sjcl.js?{$VERSION|rawurlencode}#"></script>
<script src="js/base64.js?{$VERSION|rawurlencode}#"></script>
Expand All @@ -19,15 +19,11 @@
<!--[if lt IE 10]>
<style> div#ienotice {display:block; } div#oldienotice {display:block; } </style>
<![endif]-->

<meta name="viewport" content="width=device-width" />
</head>
<body>
<div id="aboutbox">
ZeroBin is a minimalist, opensource online pastebin where the server has zero knowledge of pasted data.
Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES.
More information on the <a href="http://sebsauvage.net/wiki/doku.php?id=php:zerobin">project page</a>.<br />
<span style="text-decoration:blink;font-size:10pt;color:#a4b3c4;">&#9654;</span> Note: This is a test service:
Data may be deleted anytime. Kittens will die if you abuse this service.
Opensource: <a href="https://github.com/sebsauvage/ZeroBin/">ZeroBin @ Github</a>
</div>
<h1 title="ZeroBin" onclick="window.location.href=scriptLocation();return false;">ZeroBin</h1><br>
<h2>Because ignorance is bliss</h2><br>
Expand Down Expand Up @@ -60,14 +56,15 @@ <h3>{$VERSION}</h3>
</select>
</div>
<div id="remainingtime" style="display:none;"></div>
<div id="burnafterreadingoption" class="button" style="display:none;">
<input type="checkbox" id="burnafterreading" name="burnafterreading" />
<div id="burnafterreadingoption" class="button" style="display:none;" >
<input type="checkbox" id="burnafterreading" name="burnafterreading" checked="checked"/>
<label for="burnafterreading">Burn after reading</label>
</div>
<div id="opendisc" class="button" style="display:none;">
<input type="checkbox" id="opendiscussion" name="opendiscussion" />
<label for="opendiscussion">Open discussion</label>
</div>

<div id="syntaxcoloringoption" class="button" style="display:none;">
<input type="checkbox" id="syntaxcoloring" name="syntaxcoloring" />
<label for="syntaxcoloring">Syntax coloring</label>
Expand Down