Apple Computer Hardware manual Borders, and positioning for comment entry

Page 11

File or Folder Name

Purpose

screen/calendar.css

Sets the colors for the web calendar.

 

 

screen/comments.css

Sets various appearance attributes (such as padding,

 

borders, and positioning) for comment entry and

 

display.

 

 

screen/footer.css

Sets footer attributes, such as the margin, padding, color,

 

and font size.

 

 

screen/forms.css

Sets the margin for the search field.

 

 

screen/general.css

Sets general blog and wiki display attributes, such as the

 

font size and color, background colors, heading margins,

 

and list styles.

 

 

screen/grouphome.css

Sets display attributes for the sidebar located on the

 

main wiki page, such as its size, margins, and font size.

 

 

screen/header.css

Sets display attributes (such as the font size, margin,

 

and padding) for the wiki, blog, calendar, and mail links

 

located at the top of each page.

 

 

screen/layout.css

Sets display attributes (such as the margin and size) for

 

the wiki and blog editing interface.

 

Customizing the editing interface is an advanced task;

 

depending on what you’re trying to do, you may need

 

to write JavaScript.

 

 

screen/metadata.css

Sets display attributes for fields in page histories, such

 

as the margin and font size.

 

 

screen/tables.css

Sets display attributes for tables and table headers, such

 

as the color, border styles, and font size.

 

 

screen/tags.css

Sets display attributes for the tag list shown on each

 

page, such as the margins, padding, and separators.

 

 

screen/thumbnail.css

Sets display attributes for image thumbnails, such as

 

the border styles, color, padding, and the magnification

 

graphic.

 

 

screen/toc.css

Disabled. Don’t edit.

 

 

screen/toolbar.css

Sets the editing toolbar’s color, background color, and

 

margin.

 

 

screen/weblog.css

Sets blog display attributes, such as which elements are

 

displayed.

 

 

screen/img/

Contains graphics used in the theme.

 

 

screen/img/banner.jpg

Default banner for the theme. Its dimensions are 950 x

 

140 pixels.

 

 

screen/img/comment.png

Displayed in the upper right of every comment. Its

 

dimensions are 16 x 15 pixels.

 

 

screen/img/rss.png

Displayed in the upper right of the What’s Hot and

 

Recent Changes sidebars on the main page. Its

 

dimensions are 12 x 12 pixels.

 

 

Chapter 1    Customizing How the Wiki Looks

11

Image 11
Contents Mac OS X Server 019-1252/2008-04-24 Contents Managing Wiki Content Preface Getting Additional InformationPreface About This Guide Theme File Structure Overview This chapter describes how to customize a wiki’s appearanceCustomizing How the Wiki Looks Variant Theme File Structure Overview File or Folder Name Purpose Wireframe Theme File Structure OverviewBorders, and positioning for comment entry Creating a Theme Terminal, enter the following commandsWebsite Editing CSS FilesAbout Property List Editor Editing Property List FilesAbout Dictionaries About Property List FilesAbout Property List Keys and Values About StringsHere is an example of an array with multiple strings About ErrorsHere is the sidebars array in a plain text editor Here is an example of an array with a single stringDescription Changing General Theme SettingsKey Default Value Possible Values All sidebars require the following keys Creating SidebarsUnderstanding the Types of Sidebars Shared KeysKey Example Value Possible Values Optional or Required Static Unique KeysEach dictionary entry has the following keys Search Unique Keys Calendar Unique Keys Sidebar Name Description Overview of the Example SidebarsTag Unique Keys Recent Activity Unique KeysTo comment out specific sidebars Using the Example SidebarsTerminal, enter the following command To this Put JavaScript .js files or XSL .xsl files in this folder Adding JavaScript and XSL FilesTo add JavaScript files or XSL files to a theme Topic About JavaScriptHere are some published JavaScript guides JavaScript Example About XSLTo view context Create a plain text file with the following contentViewing Dynamic XML $ sudo serveradmin stop teams sudo serveradmin start teams Attributes Creating a Custom Whitelist Allowing Specific CSS Styles About the Custom Whitelist’s StructureAllowing Specific URL Protocols Tag Attributes Allowing Specific Html Tags and AttributesTo allow specific Html tags and attributes Protocol About the Built-in WhitelistProtocols Allowed in the Built-in Whitelist Built-in whitelist allows these protocolsBuilt-in whitelist allows these Html tags and attributes CSS Styles Allowed in the Built-in WhitelistHtml Tags and Attributes Allowed in the Built-in Whitelist Built-in whitelist allows these CSS stylesNode Pre Cite Span Strong Tbody Tfoot Colspan, rowspan Thead Backing Up the Wiki Server Migrating Wiki Content From Other WebsitesManaging Wiki Content Wiki File Structure Overview File or Folder Name Purpose Manually Editing Raw ContentFor more information about AtomPub, see Viewing a Wiki’s Administration SettingsTo regenerate the index after editing raw wiki content Key Example Value Description Metadata.plist file includes the following keysTo manually edit wiki administration settings Pageuid Viewing a Page’s MetainformationManaging Attachments