测试syntaxhighlighter

| 发布     | 分类 syntaxhighlighter  | 标签 syntaxhighlighter 

shell、bash

git add .
git commit -am"syntaxhighlighter"
git push origin gh-pages



Csharp 泛型<T> 尖括号需要用转义字符 &lt T &gt;

public class ConfigSet<T>
{
	public T GetConfig(int id)
	{
		return ....;
	}
}



Css

* {
  box-sizing: border-box; 
}

body {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #606c71; }

a {
  color: #1e6bb8;
  text-decoration: none; }
  a:hover {
    text-decoration: underline; }

.btn {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  border-style: solid;
  border-width: 1px;
  border-radius: 0.3rem;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s; 
}

.btn + .btn {
  margin-left: 1rem; 
}

.btn:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3); }

@media screen and (min-width: 64em) {
  .btn {
    padding: 0.75rem 1rem; 
    } 
}

@media screen and (min-width: 42em) and (max-width: 64em) {
  .btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem; 
    }
}
上一篇: Unity资源管理
下一篇: jekyll post config