Added a little news section and slight responsive fixes.

This commit is contained in:
Martin Mahner 2014-01-21 14:50:22 +01:00
parent ec386d4506
commit a4e637b1f2
2 changed files with 37 additions and 0 deletions

View file

@ -12,6 +12,23 @@ tt strong {
outline: 3px solid #ffe699;
}
.news {
max-width: 400px;
color: #999;
font-size: 12px;
line-height: 18px;
}
.news h2 {
font-size: 12px;
font-weight: bold;
margin: 0;
}
.news p {
margin: 5px 0 10px;
}
.message {
margin: 0;
padding: 10px 30px;
@ -199,6 +216,14 @@ ol.linenums li.marked {
background-color: #4f4800;
}
@media (max-width: 580px) {
.form-options-expire {
float: left;
clear: left;
margin-top: 10px;
}
}
/* ----------------------------------------------------------------------------
Pygments
---------------------------------------------------------------------------- */

View file

@ -39,3 +39,15 @@
<span class="shortcut">&#8984;+&#9166; or Ctrl+&#9166;</span>
</div>
</form>
{% if is_new %}
<div class="news">
<h2>Recent Changes</h2>
<p>dpaste supports now <em>one time snippets</em>. Choose it from the
expiration dropdown. One time snippets get automatically deleted
once another person views the snippet.</p>
<p>There is an extensive API and plugins for various text editors
to post snippets directly from there. See the <a href="/about/">About</a>
section for details.</p>
</div>
{% endif %}