1
0

Some work on comment style

This commit is contained in:
Romain LE DISEZ 2010-11-17 00:17:17 +01:00
parent 16428df3a6
commit 8d68b7481f
4 changed files with 86 additions and 4 deletions

View File

@ -0,0 +1,84 @@
#g-content #g-comments {
display: block;
margin-top: 2em;
position: relative;
}
#g-content #g-comments h2 {
margin: 0;
}
#g-content #g-comments #g-add-comment {
position: absolute;
right: 0;
top: 2px;
}
#g-content #g-comments ul {
list-style-type: none;
margin: 0;
padding: 0;
}
#g-content #g-comments #g-comment-detail > ul li {
padding: 1em 0;
border-bottom: 1px dotted #aaab9b;
}
#g-content #g-comments ul li .g-author {
margin: 0 0 0.5em;
font-style: italic;
font-width: normal;
/*font-size: 85%;*/
}
#g-content #g-comments ul li .g-author a:first-child {
border: none;
}
#g-content #g-comments ul li .g-author a img.g-avatar {
width: 13px;
height: 13px;
margin-right: 5px;
}
#g-content #g-comments ul li div {
margin-left: 23px;
}
#g-content #g-comments #g-comment-detail #g-comment-form fieldset {
border: 0;
margin: 1em 0 0 0;
padding: 0;
}
#g-content #g-comments #g-comment-detail #g-comment-form fieldset legend {
font-size: 2em;
margin-bottom: 0.5em;
}
#g-content #g-comments #g-comment-detail #g-comment-form fieldset ul li {
clear: both;
padding-top: 0.5em;
}
#g-content #g-comments #g-comment-detail #g-comment-form fieldset ul li label {
float: left;
width: 30%;
padding-top: 5px;
}
#g-content #g-comments #g-comment-detail #g-comment-form fieldset ul li input[type="text"] {
float: left;
width: 40%;
}
#g-content #g-comments #g-comment-detail #g-comment-form fieldset ul li input[type="submit"] {
float: right;
}
#g-content #g-comments #g-comment-detail #g-comment-form fieldset ul li textarea {
float: left;
width: 69%;
height: 10em;
}

View File

@ -591,7 +591,8 @@ span.ui-icon-key { background-position: -112px -128px; }
}
#g-item .g-block {
display: none;
display: block;
margin: auto;
}
#g-item .g-block#g-metadata {
@ -619,9 +620,6 @@ span.ui-icon-key { background-position: -112px -128px; }
padding: 0;
}
#g-item .g-block#g-comments {
display: block;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 B