80 |
81 |
82 | Caption is visible only in the list mode. Don’t forget to also specify presentation title in document’s `
` element.
83 |
84 | ### Badge
85 |
86 | Badge with “Fork me on GitHub” link (or any other call to action) is marked with `badge` element.
87 |
88 |
91 |
92 | Badge is visible only in the list mode.
93 |
94 | ### Progress
95 |
96 | Progress bar shows how much is left until presentation end and marked with `progress` element visible only in full screen mode:
97 |
98 |
99 |
100 | To remove it from presentation just remove this element from document. There’s no way to hide it for specific slides.
101 |
102 | ## Slide
103 |
104 | Slides are marked with `slide` class. Please don’t nest slides and don’t forget closing tags, things could go wrong.
105 |
106 |
107 | …
108 |
109 |
110 | …
111 |
112 |
113 | There are two slide ratios supported: 16×10 and 4×3. To enable needed one include appropriate file `screen-4x3.css` or `screen-16x10.css`. Wide screen 16×10 format is included by default.
114 |
115 | Slide width is 1024 px for the both ratios, for 16×10 height is 640 px, for 4×3 it’s 768. Bare in mind these sizes while preparing presentation pictures. In list mode slides are scaled down 2 or 4 times and in full screen mode they are scaled dynamically based on window size.
116 |
117 | ### Number
118 |
119 | Slide numbers help audience to remember slides for questions and open needed slide by changing number in address field. Numbers are generated automatically using CSS counters and could be turned off for specific slides.
120 |
121 | You can hide number manually:
122 |
123 |
124 |
129 |
130 |
131 | Slide type `clear` could also hide slide number.
132 |
133 | ### Types
134 |
135 | Types are changing slide’s look. You can set type by adding class to the main `slide`. There are few built-in types available in the theme, you could also describe custom types for each presentation or add it to your theme.
136 |
137 | #### White
138 |
139 | White type sets white background.
140 |
141 |
142 |
143 | #### Black
144 |
145 | Black type sets black background.
146 |
147 |
148 |
149 | Please note that black slide type doesn’t change text color.
150 |
151 | #### Clear
152 |
153 | Clear type turns off slide number. Use it when you need a pure slide. May be mixed with `white` or `black` type.
154 |
155 |
156 |
157 | #### Grid
158 |
159 | Grid set a background with two guide types: main magenta guides and additional cyan guides, setting margins, rows and columns.
160 |
161 |
162 | …
163 |
164 |
165 | All theme elements are aligned by this grid and it’s recommended to follow it while changing or extending a theme.
166 |
167 | ### Content
168 |
169 | Simple content: headers, paragraphs, lists.
170 |
171 | #### Header
172 |
173 | Slide header is marked with `
` element:
174 |
175 |
176 |
Slide Header
177 |
178 |
179 | We haven’t introduced next heading levels to not provoke slides complexity.
180 |
181 | #### Paragraphs
182 |
183 | Paragraphs are marked with `
` element. You could also make a note, less important part of a slide, by adding a `note` class to a paragraph:
184 |
185 |
186 |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in <culpa> qui officia deserunt mollit anim id est laborum.
46 |
47 |
48 |
49 |
Two columns if you like
50 |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.
51 |
52 |
53 |
54 |
All kind of lists
55 |
56 |
Simple lists are marked with bullets
57 |
Ordered lists begin with a number
58 |
You can even nest lists one inside another
59 |
60 |
Or mix their types
61 |
But do not go too far
62 |
Otherwise audience will be bored
63 |
64 |
65 |
Look, seven rows exactly!
66 |
67 |
68 |
69 |
70 |
Serious citations
71 |
72 |
73 |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.