diff --git a/paste/static/css/main.css b/paste/static/css/main.css index c937c70..395fd24 100644 --- a/paste/static/css/main.css +++ b/paste/static/css/main.css @@ -1,10 +1,6 @@ -body { -padding-top: 60px; -} - pre { font-family: "Bitstream Vera Sans Mono", "monospace"; -color: #000; +zcolor: #000; font-size: 14px; } @@ -31,7 +27,7 @@ list-style-type: none; } textarea#id_content { -width: 1155px; +width: 100%; height: 320px; } @@ -47,7 +43,7 @@ width: 505px; } .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container { -width: 1170px; + width: 100%; } .input-prepend .add-on { @@ -68,25 +64,31 @@ padding: 5px; [class*="span"] { float: left; min-height: 1px; -margin-left: 25px; +padding-left: 25px; +margin-left: 0px; +box-sizing: border-box; } .span3 { -width: 270px; +width: 25%; } .span6 { -width: 570px; +width: 50%; } .span12 { -width: 1165px; +width: 100%; } .navbar a { color: #777; } +.navbar { + margin-bottom: 0px +} + #unlock, #expired { margin-top: 30px; } diff --git a/paste/templates/base.html b/paste/templates/base.html index c7641d2..842ecfc 100644 --- a/paste/templates/base.html +++ b/paste/templates/base.html @@ -13,7 +13,7 @@ {% endcompress %} - - +
{% block content %}{% endblock %}
diff --git a/paste/templates/paste/index.html b/paste/templates/paste/index.html index 1431fe2..a45643d 100644 --- a/paste/templates/paste/index.html +++ b/paste/templates/paste/index.html @@ -6,9 +6,19 @@ {% if error_message %}

{{ error_message }}

{% endif %}
{{ form.non_field_errors }} +
+
+{% if PASTE.show_char_left %} + ... {% trans 'characters left' %} +{% endif %} + + {{ form.content }} + {{ form.content.errors }} +
+
{% if PASTE.has_title %} -
+
@@ -30,18 +40,6 @@ {{ form.private }} {{ form.private.errors }}
-
-
-
-{% if PASTE.show_char_left %} - ... {% trans 'characters left' %} -{% endif %} - - {{ form.content }} - {{ form.content.errors }} -
-
-
@@ -60,7 +58,7 @@ {{ form.lifecount.errors }}
{% endif %} -
+
diff --git a/paste/templates/paste/paste-meta.html b/paste/templates/paste/paste-meta.html index 668cbd5..299d8f4 100644 --- a/paste/templates/paste/paste-meta.html +++ b/paste/templates/paste/paste-meta.html @@ -33,12 +33,6 @@ {% endif %}
- + View raw
diff --git a/paste/templates/paste/show-pygments.html b/paste/templates/paste/show-pygments.html index 0575a7a..686496d 100644 --- a/paste/templates/paste/show-pygments.html +++ b/paste/templates/paste/show-pygments.html @@ -1,7 +1,10 @@ {% extends "base.html" %} {% block title %} {{ title }}{% endblock %} -{% block content %} -{% include "paste/paste-meta.html" %} -{{ highlighted|safe }} +{% block nav %} +
  • View raw
  • +{% endblock %} +{% block content %} +{{ highlighted|safe }} +{% include "paste/paste-meta.html" %} {% endblock %}