diff options
author | Byron <byroncorrales@gmail.com> | 2011-11-02 12:34:13 -0600 |
---|---|---|
committer | Byron <byroncorrales@gmail.com> | 2011-11-02 12:34:13 -0600 |
commit | 5628c3daf6465f7766ea150bd4f3e46d5c7ac12d (patch) | |
tree | 5a7e16c3bf9fc28efb0279290b1551f2290bb8e5 | |
parent | c8c866cccf2b9db30f3c6eab7275c095806d43d8 (diff) | |
download | askbot-5628c3daf6465f7766ea150bd4f3e46d5c7ac12d.tar.gz askbot-5628c3daf6465f7766ea150bd4f3e46d5c7ac12d.tar.bz2 askbot-5628c3daf6465f7766ea150bd4f3e46d5c7ac12d.zip |
some aligments and border in popups
-rw-r--r-- | askbot/skins/default/media/style/lib_style.less | 11 | ||||
-rw-r--r-- | askbot/skins/default/media/style/style.css | 14 | ||||
-rw-r--r-- | askbot/skins/default/templates/macros.html | 2 |
3 files changed, 20 insertions, 7 deletions
diff --git a/askbot/skins/default/media/style/lib_style.less b/askbot/skins/default/media/style/lib_style.less index 6d3bfa34..e6d554b1 100644 --- a/askbot/skins/default/media/style/lib_style.less +++ b/askbot/skins/default/media/style/lib_style.less @@ -12,7 +12,7 @@ /* Variables for fonts*/ -@body-font:"Trebuchet MS", sans-serif; +@body-font:Arial; /* "Trebuchet MS", sans-serif;*/ @sort-font:Georgia, serif; @main-font:'Yanone Kaffeesatz', sans-serif; @secondary-font:Arial; @@ -44,3 +44,12 @@ -webkit-border-radius: @radio; -khtml-border-radius: @radio; } + +.rounded-corners-top(@radio:5px){ + border-top-right-radius:@radio; + border-top-left-radius:@radio; + -moz-border-radius-topright:@radio; + -moz-border-radius-topleft:@radio; + -webkit-border-top-left-radius:@radio; + -webkit-border-top-right-radius:@radio; +} diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index bfd2e162..239fc78b 100644 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -600,7 +600,7 @@ h1 { font-family: Arial; font-weight: bold; color: #777; - text-align: left; + text-align:center; } } @@ -1420,11 +1420,11 @@ span.delete-icon:hover { p.rss { float:none; clear:both; - padding: 3px 0 0 22px; + padding: 3px 0 0 25px; font-size: 15px; width:110px; background-position:center left; - + margin-left:4px; } p.rss a { @@ -1470,6 +1470,7 @@ span.delete-icon:hover { margin-bottom:14px; line-height:1.4; font-size:14px; + padding:0px 5px 5px 0px; } a { @@ -1762,14 +1763,16 @@ span.delete-icon:hover { } .comment-body { - line-height: 140%; + line-height: 1.3; margin: 3px 26px 0 46px; padding: 5px 3px; color: #666; + font-size:13px; } .comment-body p{ - font-size:inherit; + font-size:13px; + line-height:1.3; margin-bottom: 3px; padding: 0; } @@ -2204,6 +2207,7 @@ a:hover.medal { border-top:#8e0000 1px solid; color:#fff; font-weight:normal; + .rounded-corners-top(4px); } a { color: #fb7321; diff --git a/askbot/skins/default/templates/macros.html b/askbot/skins/default/templates/macros.html index e9181ed7..e10b3381 100644 --- a/askbot/skins/default/templates/macros.html +++ b/askbot/skins/default/templates/macros.html @@ -286,7 +286,7 @@ for the purposes of the AJAX comment editor #} >{{comment.user.username}}</a> <span class="age"> ({{comment.added_at|diff_date}})</span> {% if user|can_edit_comment(comment) %} - <a class="edit">{% trans %}edit{% endtrans %}</a> + <a class="edit">{% trans %}edit{% endtrans %}</a> {% endif %} </div> </div> |