Sample Post

August 29, 2015

image: feature: abstract-3.jpg credit: dargadgetz

creditlink: http://www.dargadgetz.com/ios-7-abstract-wallpaper-pack-for-iphone-5-and-ipod-touch-retina/

Below is just about everything you'll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Body text

Lorem ipsum dolor sit amet, test link adipiscing elit. This is strong. Nullam dignissim convallis est. Quisque aliquam.

Smithsonian Image {: .image-right}

This is emphasized. Donec faucibus. Nunc iaculis suscipit dui. 53 = 125. Water is H<sub>2</sub>O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. The New York Times <cite>(That’s a citation)</cite>. <u>Underline</u>. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.

HTML and <abbr title="cascading stylesheets">CSS<abbr> are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus.

Blockquotes

Lorem ipsum dolor sit amet, test link adipiscing elit. Nullam dignissim convallis est. Quisque aliquam.

List Types

Ordered Lists

  1. Item one

    1.  sub item one
    
    1. sub item two
    2. sub item three
  2. Item two

Unordered Lists

  • Item one
  • Item two
  • Item three

Tables

Header1 Header2 Header3
cell1 cell2 cell3
cell4 cell5 cell6
----
cell1 cell2 cell3
cell4 cell5 cell6
=====
Foot1 Foot2 Foot3

{: rules="groups"}

Code Snippets

Syntax highlighting via Pygments

# container {

  float: left;
  margin: 0 -240px 0 0;
  width: 100%;
}

Non Pygments code example

<<span class="hljs-keyword">div</span> <span class="hljs-property">id</span>=<span class="hljs-string">"awesome"</span>>
    <p>This <span class="hljs-keyword">is</span> great <span class="hljs-keyword">isn't</span> <span class="hljs-keyword">it</span>?</p>
</<span class="hljs-keyword">div</span>>

Buttons

Make any link standout more when applying the .btn class.

&lt;a href="#" class="btn btn-success"&gt;Success Button&lt;/a&gt;

<div markdown="0"><a href="#" class="btn">Primary Button</a></div> <div markdown="0"><a href="#" class="btn btn-success">Success Button</a></div> <div markdown="0"><a href="#" class="btn btn-warning">Warning Button</a></div> <div markdown="0"><a href="#" class="btn btn-danger">Danger Button</a></div> <div markdown="0"><a href="#" class="btn btn-info">Info Button</a></div>

[Android]ImageView的scaleType与adjustViewBounds属性

ImageView的Scaletype决定了图片在View上显示时的样子,如进行何种比例的缩放,及显示图片的整体还是部分,等等。设置的方式包括:1. 在layout xml中定义android:scaleType="CENTER"2. 或在代码中调用imageView.se...… Continue reading

CentOS下gradle的配置

Published on December 30, 2015

Windows + Jenkins + Ant 进行Android自动打包

Published on December 27, 2015