|
Cookbook /
CompactPageListSummary: How to make a compact pagelist
Version:
Prerequisites:
Status:
Maintainer:
Categories: WikiStyleTips, Searching
QuestionHow can we make the long pagelist compact? AnswerThis recipe is somewhat superceded by PmWiki's use of PageListTemplates. For a compact pagelist on one line see PagelistTemplateSamples#oneline Include the following style in pub/css/local.css or pub/css/Group.css or pub/css/Group.Page.css depending whether you want to give global effect or restricted to a page. dl.fplbygroup {
float: left;
margin: 0;
}
dl.fplbygroup dt {
float: left;
margin: 0;
font-weight: bolder;
}
dl.fplbygroup dt a {
text-decoration: none;
color: green;
}
dl.fplbygroup dt a:hover {
text-decoration: underline;
}
dl.fplbygroup dd {
float: left;
margin: 0;
margin-top: 0px;
margin-left: 5px;
padding-left: 3px;
line-height: 18px;
.pagelist
eg. .pagelist dl.fplbygroup {
float: left;
margin: 0;
}
NOTE: if you wish for
(:pagelist group={$Group} list=normal fmt=simple:)
ul.fplsimple {
float: left;
margin: 0;
}
ul.fplsimple li {
float: left;
margin: 0;
margin-top: 0px;
margin-left: 2px;
padding-left: 3px;
line-height: 18px;
Test PageNotes and Comments
white-space: nowrap; if it creats undesired effect.
clear: left; --nbk
See AlsoContributors
|