mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-19 00:09:21 +11:00
Added a little news section and slight responsive fixes.
This commit is contained in:
parent
ec386d4506
commit
a4e637b1f2
2 changed files with 37 additions and 0 deletions
|
@ -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
|
||||
---------------------------------------------------------------------------- */
|
||||
|
|
|
@ -39,3 +39,15 @@
|
|||
<span class="shortcut">⌘+⏎ or Ctrl+⏎</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 %}
|
||||
|
|
Loading…
Reference in a new issue