[pirate-politics] r537 committed - Some css chagnes with font sizes

2 views
Skip to first unread message

pirate-...@googlecode.com

unread,
Jan 31, 2011, 10:56:45 PM1/31/11
to pirate-poli...@googlegroups.com
Revision: 537
Author: andru...@gmail.com
Date: Mon Jan 31 19:55:57 2011
Log: Some css chagnes with font sizes
http://code.google.com/p/pirate-politics/source/detail?r=537

Modified:
/trunk/pirate-politics/new_templates/_commentform.html
/trunk/pirate-politics/new_templates/user_profile.html
/trunk/pirate-politics/static/style.css

=======================================
--- /trunk/pirate-politics/new_templates/_commentform.html Wed Jan 26
22:18:11 2011
+++ /trunk/pirate-politics/new_templates/_commentform.html Mon Jan 31
19:55:57 2011
@@ -4,6 +4,7 @@


{% if request.user.is_authenticated %}
+<div class = "comments">
<a href="javascript:;" onmousedown="toggleSlide('add_comment');"><h3>add
comment</h3></a>
<div id="add_comment" style="display:none; overflow:hidden; height:180px;">
{% pp_comment_form POST=request.POST path=request.path
user=request.user object=request.object%}
@@ -17,6 +18,7 @@
</form>
{% endpp_comment_form %}
</div>
+</div>

{% else %}
<a href="/register.html"><h3>add_comment</h3></a>
=======================================
--- /trunk/pirate-politics/new_templates/user_profile.html Mon Jan 31
18:26:02 2011
+++ /trunk/pirate-politics/new_templates/user_profile.html Mon Jan 31
19:55:57 2011
@@ -55,7 +55,7 @@
{% ifequal request.user request.object %}
{% if request.user.is_authenticated %}
{% pp_profile_form POST=request.POST
user=request.user %}
- <h2><a href="javascript:;"
onmousedown="toggleSlide('add_profile');">Add profile for
{{request.user.username}}</a></h2>
+ <h2 class="add_profile"> <a href="javascript:;"
onmousedown="toggleSlide('add_profile');">Add profile for
{{request.user.username}}</a></h2>
<div id="add_profile" style="display:none;
overflow:hidden; height:250px;">
<div id = "add">
{{ pp_profile.form.errors }}
@@ -77,6 +77,7 @@

<hr>
{% if user.is_authenticated %}
+ <div class="notifications">
<h3> Notifications </h3>

<h4> Unread Notifications: </h4>
@@ -122,6 +123,7 @@

{% endpp_get_user_profile %}
</div>
+ </div>
<div class="rightcol">
<!-- <ul><a href="{% pp_url
template='submit_solution.html' %}"><img src="/static/submit_solution.png"
/></a></ul> -->
{% include '_rightcol.html' %}
=======================================
--- /trunk/pirate-politics/static/style.css Mon Jan 31 19:27:56 2011
+++ /trunk/pirate-politics/static/style.css Mon Jan 31 19:55:57 2011
@@ -8,6 +8,30 @@
a:visited { color:#4E7A49; }
pre { background: #fff; width: 460px; padding: 10px 20px; border-left: 5px
solid #ccc; margin: 0 0 20px; }
input { margin: 0; padding: 0; }
+h2 {
+ font-size: 18px;
+ line-height: 22px;
+ padding: 5px;
+}
+
+h3 {
+ font-size: 16px;
+ line-height: 20px;
+ padding: 3px;
+}
+
+h4 {
+ font-size: 14px;
+ line-height: 18px;
+ padding: 2px;
+}
+
+h5 {
+ font-size: 12px;
+ line-height: 16px;
+ padding: 1px;
+
+}

hr {
border: none;
@@ -76,6 +100,15 @@
padding-left: 5%;

}
+
+.comments {
+ padding-left: 5px;
+}
+
+.addcomment {
+ padding-left: 5px;
+}
+
#header {
width:100%;
background-color:#2B3332;
@@ -437,6 +470,18 @@
.issueback a {
font-weight: bold;
}
+
+.add_profile {
+ text-align: center;
+}
+
+#add {
+ margin-left: 30%;
+}
+
+.notifications {
+ padding-left: 10px;
+}

.userinfo {
font-size:60%;

Reply all
Reply to author
Forward
0 new messages