Web Style Guide
The World Heritage Centre Website mainly use YAML css Framework. The website strucutre is based on a flexible and responsive grid. It support old Internet Explorer versions, and it is tested with IE7 and Higher.
Typography
Heading Levels
H1 Heading Open Sans Light
H2 Heading Open Sans Light
H3 Heading Open Sans Light
H4 Heading Open Sans Light
H5 Heading Open Sans Light
H6 Heading Open Sans Light
Font size
Class .readable to get bigger font size
Class .small to get small font size
Paragraphs
This is a normal paragraph text. This is a normal paragraph text. This is a normal paragraph text. This is a normal paragraph text. This is a normal paragraph text. This is a normal paragraph text. This is a normal paragraph text. This is a normal paragraph text.
Strong
This is a span with .strong class.
This is a normal span with .stronger class.
This is a paragraph with .strong class
This is a paragraph with .stronger class
Messages
This is a paragraph text with class="dimmed". This is a paragraph text with class="dimmed". This is a paragraph text with class="dimmed". This is a paragraph text with class="dimmed". This is a paragraph text with class="dimmed".
class="help" This is a paragraph text with class="info". This is a paragraph text with class="info". This is a paragraph text with class="info". This is a paragraph text with class="info". This is a paragraph text with class="info".
class="success" This is a div text with class="success". This is a div text with class="success". This is a div text with class="note". This is a div text with class="success". This is a div text with class="success".
class="alert" This is a div text with class="alert". This is a div text with class="alert". This is a div text with class="alert". This is a div text with class="alert". This is a div text with class="alert".
class="error" This is a paragraph text with class="warning". This is a paragraph text with class="warning". This is a paragraph text with class="warning". This is a paragraph text with class="warning". This is a paragraph text with class="warning".
Blockquotes
This is a paragraph element within a blockquote element. This is a paragraph element within a blockquote element. This is a paragraph element within a blockquote element. This is a paragraph element within a blockquote element. This is a paragraph element within a blockquote element. This is a paragraph element within a blockquote element. This is a paragraph element within a blockquote element.
This is a blockquote element within 1 blockquoteThis is a blockquote element within 2 blockquotesThis is a blockquote element within 3 blockquotes
Preformatted Text
This is preformatted text elements
Inline Text
- anchor
- italics and emphasize
- big and small
- bold and strong
- acronym
- abbreviation
- cite
quote
code
- definition
- teletype and keyboard
- variable andsample
- inserted
deleted- a subscript
- a superscript
- class="alert"
- class="help"
- class="error"
- class="success"
- class="box-span"
Lists
Unordered List
- one part
- two part
- one sub part
- two sub part
- thre sub part
- four sub part
- thre part
- four part
Ordered List
- First part
- First sub part
- First sub sub part
- Second sub sub part
- Second sub part
- Third sub part
- Fourth sub part
- First sub part
- Second part
- Third part
- Fourth part
Definition List
- A definition list dt level 1
- A definition list dd level 1
- A definition list dt level 2
- A definition list dd level 2
- A definition list dt level 2
- A definition list dd level 2
- A definition list dt level 3
- A definition list dd level 3
- A definition list dt level 2
- A definition list dd level 2
Text Align
class .centered or .text-align-center center text or block
class .text-align-left or .text-align-normal text align left
class .text-align-right text align right
Boxes
class .box to get a simple box.
class="box"
class="box" > class="box-header" A simple box.
Videos, responsive Youtube embed
Images
.w-100
.img-fluid
class="floatbox" > img class="float_right bordered" Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
class="floatbox" > img class="float_left Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Captions
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Tables
Table with no class
Table | ||
---|---|---|
column 1 | column 2 | column 3 |
subhead 1 | dummy content | dummy content |
subhead 2 | dummy content | dummy content |
subhead 3 | dummy content | dummy content |
Table full width
Table with class="full" | ||
---|---|---|
column 1 | column 2 | column 3 |
subhead 1 | dummy content | dummy content |
subhead 2 | dummy content | dummy content |
subhead 3 | dummy content | dummy content |
Tables
Table with class=" tableaux" | ||
---|---|---|
column 1 | column 2 | column 3 |
subhead 1 | dummy content | dummy content |
subhead 2 | dummy content | dummy content |
subhead 3 | dummy content | dummy content |
Table with class=" tableaux tableaux-compact" | ||
---|---|---|
column 1 | column 2 | column 3 |
subhead 1 | dummy content | dummy content |
subhead 2 | dummy content | dummy content |
subhead 3 | dummy content | dummy content |
Table with class=" tableaux tableaux-compact tableaux-compact-compact" | ||
---|---|---|
column 1 | column 2 | column 3 |
subhead 1 | dummy content | dummy content |
subhead 2 | dummy content | dummy content |
subhead 3 | dummy content | dummy content |
Table with class=" tableaux-compact grey " | ||
---|---|---|
column 1 | column 2 | column 3 |
subhead 1 | dummy content | dummy content |
subhead 2 | dummy content | dummy content |
subhead 3 | dummy content | dummy content |
Table with class="tableaux-compact grey noborder" | ||
---|---|---|
column 1 | column 2 | column 3 |
subhead 1 | dummy content | dummy content |
subhead 2 | dummy content | dummy content |
subhead 3 | dummy content | dummy content |
Buttons
Tabs
Illustrations
Icons
Layout
Margin and Padding
Where property is one of:
m
- for classes that setmargin
p
- for classes that setpadding
Where sides is one of:
t
- for classes that setmargin-top
orpadding-top
b
- for classes that setmargin-bottom
orpadding-bottom
l
- for classes that setmargin-left
orpadding-left
r
- for classes that setmargin-right
orpadding-right
x
- for classes that set both*-left
and*-right
y
- for classes that set both*-top
and*-bottom
Where sides is one of:
0
- for classes that eliminate themargin
orpadding
by setting it to0
5
- (by default) for classes that set themargin
orpadding
to5px
10
- (by default) for classes that set themargin
orpadding
to10px
20
- (by default) for classes that set themargin
orpadding
to20px
40
- (by default) for classes that set themargin
orpadding
to40px
auto
- for classes that set themargin
to auto
Grids
Equal height grid: ym-equalize
Sections
class="content-full-body"
class="content-full-body"
class="content-full-body"
class="content-full-body"
class="content-full-body"
class="content-full-body"
Title
class="content-full readable" >
class="content-full-body" >
class="content-full-headingbox"
margin: -20px -20px 0 -20px
© copyright / author / description
Blocks
A big image with a text. The image should be attractive, the text not to long with a heading style. This big box is responsive, the text could be display on right or left, and on smaller screen could be on top or bottom.
Search
Results
Table view
Responsive
Responsive grid
.linearize-level-1.linearize-level-2
Hide
.linearize-level-1-none
.linearize-level-2-none
Block
.linearize-level-1-block
.linearize-level-2-block
Inline
.linearize-level-1-inline
.linearize-level-2-inline