You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
Content
Assume an index contains h2
, ul
, and link elements.
The following CSS statements format the main index for a container with a class attribute value of projectdoc-topic-main-index
.
/* Headings */
.projectdoc-topic-main-index h2 {
color: #FFA62F;
margin-top: 10px;
font-size: 12pt;
}
div.hasIdOrTags.projectdoc-topic-main-index {
opacity: 1.0;
}
/* Lists */
.projectdoc-topic-main-index ul {
color: #3B73AF;
margin-top: 0px;
margin-bottom: 9px;
}
/* Links */
.projectdoc-topic-main-index a:link, .projectdoc-topic-main-index a:visited {
color: #3B73AF;
}
.projectdoc-topic-main-index a:hover {
color: #F87217;
}
.projectdoc-topic-main-index a:active {
color: #C35817;
}
Add these statements to the space stylesheet:
The result for the example above:
Transcluded By
Name | Short Description | Doctype |
---|
Content Marker Macro | Marks a piece of content within a document. This content can be referenced for transclusion. | app-macro |
Section Macro | Renders a section, if the body is not empty. Supports authors to create content, clutter-free rendering without empty sections. Allows to transclude the content. | app-macro |