社会新闻
-
Nullam ultrices
-
Nullam ultrices
-
Nullam ultrices
-
Nullam ultrices
-
Nullam ultrices
-
Nullam ultrices
-
Nullam ultrices
-
Nullam ultrices
-
IMAGE_DESCRIPTION
-
IMAGE_DESCRIPTION
-
IMAGE_DESCRIPTION
-
IMAGE_DESCRIPTION
-
IMAGE_DESCRIPTION
-
IMAGE_DESCRIPTION
-
IMAGE_DESCRIPTION
T
his is a sample text with Dropcap.Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tristique sem vel turpis egestas cursus. Vivamus vehicula ligula non orci sollicitudin iaculis in nec enim. Quisque purus orci, bibendum sed mattis non, scelerisque a felis. Suspendisse potenti...
[dropcap color="#000" ] ADD_CONTENT_HERE [/dropcap] Lorem ipsum dolor sit amet...
T
his is a sample text with Dropcap.Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tristique sem vel turpis egestas cursus. Vivamus vehicula ligula non orci sollicitudin iaculis in nec enim. Quisque purus orci, bibendum sed mattis non, scelerisque a felis. Suspendisse potenti...
[dropcap type="square" color="#fff" background="#333"] ADD_CONTENT_HERE [/dropcap] Lorem ipsum dolor sit amet...
T
his is a sample text with Dropcap.Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tristique sem vel turpis egestas cursus. Vivamus vehicula ligula non orci sollicitudin iaculis in nec enim. Quisque purus orci, bibendum sed mattis non, scelerisque a felis. Suspendisse potenti...
[dropcap type="round" color="#fff" background="#333"] ADD_CONTENT_HERE [/dropcap] Lorem ipsum dolor sit amet...
Dropcap options
Style and content changes for simple variations on a standard Dropcap.
A
dipiscing is a sample text with Dropcap.Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tristique sem vel turpis egestas cursus. Vivamus vehicula ligula non orci sollicitudin iaculis in nec enim. Quisque purus orci, bibendum sed mattis non, scelerisque a felis. Suspendisse potenti...
B
ibendum is a sample text with Dropcap.Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tristique sem vel turpis egestas cursus. Vivamus vehicula ligula non orci sollicitudin iaculis in nec enim. Quisque purus orci, bibendum sed mattis non, scelerisque a felis. Suspendisse potenti...
C
onsectetur is a sample text with Dropcap.Lorem ipsum dolor sit amet, consectetur adipiscing elit. In tristique sem vel turpis egestas cursus. Vivamus vehicula ligula non orci sollicitudin iaculis in nec enim. Quisque purus orci, bibendum sed mattis non, scelerisque a felis. Suspendisse potenti...
[dropcap color="#15B5E8"] ADD_CONTENT_HERE [/dropcap] Lorem ipsum dolor sit amet... [dropcap color="#FD6C01"] ADD_CONTENT_HERE [/dropcap] Lorem ipsum dolor sit amet... [dropcap color="#BE2B2A"] ADD_CONTENT_HERE [/dropcap] Lorem ipsum dolor sit amet...
Unordered lists
A list of items in which the order does not explicitly matter.
[list type="disc"] [list_item] ... [/list_item] [/list]
[list type="circle"] [list_item] ... [/list_item] [/list]
[list type="square"] [list_item] ... [/list_item] [/list]
[list type="check"] [list_item] ... [/list_item] [/list]
[list type="arrow"] [list_item] ... [/list_item] [/list]
[list type="star"] [list_item] ... [/list_item] [/list]
[list type="check" color="#6B82A2" ] [list_item] ... [/list_item] [/list]
[list type="arrow" color="#6B82A2"] [list_item] ... [/list_item] [/list]
[list type="check" color="#6B82A2" ] [list_item] ... [/list_item] [/list]
Ordered lists
A list of items in which the order does explicitly matter.
[list type="roman"] [list_item] ... [/list_item] [/list]
[list type="decimal"] [list_item] ... [/list_item] [/list]
[list type="alpha"] [list_item] ... [/list_item] [/list]
Number Block
A list of items in which the order does explicitly matter.
[list type="numblocks1"] [list_item] ... [/list_item] [/list]
[list type="numblocks2"] [list_item] ... [/list_item] [/list]
[list type="numblocks3"] [list_item] ... [/list_item] [/list]
[list type="smallnumber1"] [list_item] ... [/list_item] [/list]
[list type="smallnumber2"] [list_item] ... [/list_item] [/list]
[list type="smallnumber3"] [list_item] ... [/list_item] [/list]
[list type="smallnumber4"] [list_item] ... [/list_item] [/list]
[list type="smallnumber6"] [list_item] ... [/list_item] [/list]
[list type="smallnumber5"] [list_item] ... [/list_item] [/list]
Customization Options / Features
- type (optional) – more optional type list (disc, circle, square, check, arrow, star, roman, decimal, alpha, numblocks1...)
- color (optional) – changes color of type list (disc, circle, square, check, arrow, star, roman, decimal, alpha)
Default buttons
Button styles can be applied to anything with the .btn
class applied. However, typically you'll want to apply these to only <a>
and <button>
elements for the best rendering.
Ex: element icon="user" then name of icons is "fa-user".
You can find the full examples of usage at Font Awesome - Font Awesome 4.0.3 [/message_box]Button | Type | Icon | Description |
---|---|---|---|
Default | pencil |
Standard gray button with gradient | |
Primary | primary |
comment |
Provides extra visual weight and identifies the primary action in a set of buttons |
Info | info |
info-circle |
Used as an alternative to the default styles |
Success | success |
check |
Indicates a successful or positive action |
Warning | warning |
warning |
Indicates caution should be taken with this action |
Danger | danger |
refresh |
Indicates a dangerous or potentially negative action |
Inverse | inverse |
trash-o |
Alternate dark gray button, not tied to a semantic action or use |
Link | link |
twitter |
Deemphasize a button by making it look like a link while maintaining button behavior |
[button target="_self" link="#"] Default icon="pencil" [/button] [button type="primary" icon="comment" target="_self" link="#"] Primary [/button] [button type="info" icon="info-sign" target="_self" link="#"] Info [/button] [button type="success" icon="check" target="_self" link="#"] Success [/button] [button type="warning" icon="warning" target="_self" link="#"] warning [/button] [button type="danger" icon="refresh" target="_self" link="#"] Danger [/button] [button type="inverse" icon="trash" target="_self" link="#"] Inverse [/button] [button type="link" icon="twitter" target="_self" link="#"] Link [/button]
Flat buttons
[button type="flat" target="_self" link="#"] Default Button [/button] [button type="flat primary" target="_self" link="#"] Primary Button [/button] [button type="flat success" target="_self" link="#"] Success Button [/button] [button type="flat warning" target="_self" link="#"] Warning Button [/button] [button type="flat inverse" target="_self" link="#"] Inverse Button [/button] [button type="flat info" target="_self" link="#"] Info Button [/button] [button type="flat danger" target="_self" link="#"] Danger Button [/button]
Cross browser compatibility
IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled button
elements, rendering text gray with a nasty text-shadow that we cannot fix.
Button sizes
Fancy larger or smaller buttons? Add size= large
, small
, or mini
for additional sizes.
[button type="primary" size="lg" target="_self" link="#"] Large button [/button] [button size="lg" target="_self" link="#"] Large button [/button] [button type="primary" target="_self" link="#"] Default button [/button] [button target="_self" link="#"] Default button [/button] [button type="primary" size="sm" target="_self" link="#"] Small button [/button] [button size="sm" target="_self" link="#"] Large Small [/button] [button type="primary" size="xs" target="_self" link="#"] Mini button [/button] [button size="xs" target="_self" link="#"] Mini button [/button]
Create block level buttons—those that span the full width of a parent— by adding .btn-block.
[button type="primary" size="lg" full="block"] Block level button [/button] [button size="lg" full="block"] Block level button [/button]
Disabled state
For disabled buttons, add the state=disabled
class to links and the disabled
attribute for <button>
elements.
[button type="primary" size="lg" state="disabled"] Primary button [/button] [button size="lg" state="disabled"] Button [/button][space height="10"]
Customization Options / Features
- type : style of the button. You can combine the following options(primary, info, success, warning, danger, inverse, link, flat)
- icon : add any mini-icon (from the Icons section) here.
- size : available sizes ( xs, sm, default, lg)
- full : the full width of a parent
- target : link target (eg. target="_blank" will open link in a new window)
- state : disabled buttons, available ( true, disabled)
For quoting blocks of content from another source within your document.
Default blockquote
Wrap <blockquote>
around any HTML
as the quote. For straight quotes we recommend a <p>
.
Vestibulum id urna eu tortor hendrerit iaculis sit amet in ipsum. Cras tempus ultrices leo, tempus iaculis eros tempor non. Aenean ac nisl molestie ligula placerat porta non cursus neque. Phasellus sagittis est at lorem tincidunt consequat.
[quote width="auto" align="none" border="#666" color="#666" title="SOMEONE_FAMOUS_TITLE"] ADD_CONTENT_HERE [/quote]
Blockquote options
Style and content changes for simple variations on a standard blockquote.
Vestibulum id urna eu tortor hendrerit iaculis sit amet in ipsum. Cras tempus ultrices leo, tempus iaculis eros tempor non. Aenean ac nisl molestie ligula placerat porta non cursus neque. Phasellus sagittis est at lorem tincidunt.
[quote width="45%" align="left" border="#666" color="#666" title="SOMEONE_FAMOUS_TITLE"] ADD_CONTENT_HERE [/quote]
Vestibulum id urna eu tortor hendrerit iaculis sit amet in ipsum. Cras tempus ultrices leo, tempus iaculis eros tempor non. Aenean ac nisl molestie ligula placerat porta non cursus neque. Phasellus sagittis est at lorem tincidunt.
[quote width="45%" align="right" border="#666" color="#666" title="SOMEONE_FAMOUS_TITLE"] ADD_CONTENT_HERE [/quote]
[quote align="none" border="#468847" color="#468847" title="SOMEONE_FAMOUS_TITLE"] ADD_CONTENT_HERE [/quote] [quote align="none" border="#F89406" color="#F89406" title="SOMEONE_FAMOUS_TITLE"] ADD_CONTENT_HERE [/quote] [quote align="none" border="#B24745" color="#B24745" title="SOMEONE_FAMOUS_TITLE"] ADD_CONTENT_HERE [/quote] [quote align="none" border="#3A87AD" color="#3A87AD" title="SOMEONE_FAMOUS_TITLE"] ADD_CONTENT_HERE [/quote][space height="10"]
Customization Options / Features
- Width : Select number unit (px, %, em...)
- Align : Select position align (left, right, none)
- Border : Changes border color Blockquote
- Color : Changes text color Blockquote
- Title : Someone famous in Source Title