Skip to content

Commit

Permalink
Homepage|Forums: Further cleaned up forum topic list styling
Browse files Browse the repository at this point in the history
All topic list elements now use consistent margin and padding rules.
Removed more unnecessary property specifications which are already
being inherited from the containing element(s).
  • Loading branch information
danij-deng committed Jul 14, 2013
1 parent 30fa16c commit 3507ccf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 45 deletions.
53 changes: 14 additions & 39 deletions web/forums/skin/theme/stylesheet.css
Expand Up @@ -473,18 +473,12 @@ a.right:hover {

ul.topiclist {
display: block;
list-style-type: none;
margin: 0;
padding:0;
line-height: 3ex;
font-family: sans-serif;
font-size: 8pt;
}

/*ul.forums {
background: #f9f9f9 none repeat-x 0 0;
}*/

ul.topiclist li {
display: block;
list-style-type: none;
Expand All @@ -495,20 +489,14 @@ ul.topiclist dl {
position: relative;
}

ul.topiclist dt {
ul.topiclist dt, ul.topiclist dd {
display: block;
float: left;
width: 50%;
padding-left: 5px;
padding-right: 5px;
margin-top: 5px;
margin-bottom: 5px;
padding: 5px;
}

ul.topiclist dd {
display: block;
float: left;
padding: 4px 0;
ul.topiclist dt {
width: 50%;
}

ul.topiclist dfn {
Expand Down Expand Up @@ -560,17 +548,17 @@ li.header dt {
}

li.header dd {
margin-left: 1px;
margin-left: 1px;
}

li.header dl.icon {
min-height: 0;
min-height: 0;
}

li.header dl.icon dt {
/* Tweak for headers alignment when folder icon used */
padding-left: 0;
padding-right: 45px;
/* Tweak for headers alignment when folder icon used */
padding-left: 0;
padding-right: 45px;
}

/* Forum list column styles */
Expand All @@ -582,34 +570,21 @@ dl.icon {

dl.icon dt {
padding-left: 45px; /* Space for folder icon */
background-repeat: no-repeat;
background-position: 5px 95%; /* Position of topic icon */
}

dd.posts, dd.topics, dd.views {
width: 8%;
width: 6%;
text-align: center;
line-height: 2.2em;
font-size: 1.1em;
}

dd.lastpost {
width: 24%;
font-size: 1.1em;
}

dd.redirect {
font-size: 1.1em;
line-height: 2.5em;
}

dd.moderation {
font-size: 1.1em;
}

dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span, dd.moderation span {
display: block;
padding-left: 5px;
ul.topiclist dd.searchby span, ul.topiclist dd.info span,
ul.topiclist dd.time span, dd.redirect span, dd.moderation span {
display: block;
padding-left: 5px;
}

dd.time {
Expand Down
6 changes: 0 additions & 6 deletions web/style.css
Expand Up @@ -275,11 +275,6 @@ ul.topiclist li.header,
table.table1 tbody td {
border-color: #4D4D4D;
border-style: solid;
}

table.directory tbody td,
ul.topiclist li.row,
table.table1 tbody td {
border-width: 1px;
}

Expand Down Expand Up @@ -776,7 +771,6 @@ div.clear {

#status {
font-size: 66%;
padding: 1.8em 2.2em;
}

#recentbuilds { float: left; }
Expand Down

0 comments on commit 3507ccf

Please sign in to comment.