css 降价风格

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 降价风格相关的知识,希望对你有一定的参考价值。

*{margin:0;padding:0;}
body {
  font:13.34px helvetica,arial,freesans,clean,sans-serif;
  color:black;
  line-height:1.4em;
  background-color: #F8F8F8;
  padding: 0.7em;
}
p {
  margin:1em 0;
  line-height:1.5em;
}
table {
  font-size:inherit;
  font:100%;
  margin:1em;
}
table th{border-bottom:1px solid #bbb;padding:.2em 1em;}
table td{border-bottom:1px solid #ddd;padding:.2em 1em;}
input[type=text],input[type=password],input[type=image],textarea{font:99% helvetica,arial,freesans,sans-serif;}
select,option{padding:0 .25em;}
optgroup{margin-top:.5em;}
pre,code{font:12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;}
pre {
  margin:1em 0;
  font-size:12px;
  background-color:#eee;
  border:1px solid #ddd;
  padding:5px;
  line-height:1.5em;
  color:#444;
  overflow:auto;
  -webkit-box-shadow:rgba(0,0,0,0.07) 0 1px 2px inset;
  -webkit-border-radius:3px;
  -moz-border-radius:3px;border-radius:3px;
}
pre code {
  padding:0;
  font-size:12px;
  background-color:#eee;
  border:none;
}
code {
  font-size:12px;
  background-color:#f8f8ff;
  color:#444;
  padding:0 .2em;
  border:1px solid #dedede;
}
img{border:0;max-width:100%;}
abbr{border-bottom:none;}
a{color:#4183c4;text-decoration:none;}
a:hover{text-decoration:underline;}
a code,a:link code,a:visited code{color:#4183c4;}
h2,h3{margin:1em 0;}
h1,h2,h3,h4,h5,h6{border:0;}
h1{font-size:170%;border-top:4px solid #aaa;padding-top:.5em;margin-top:1.5em;}
h1:first-child{margin-top:0;padding-top:.25em;border-top:none;}
h2{font-size:150%;margin-top:1.5em;border-bottom:1px solid #ddd;padding-bottom:.5em;}
h3{margin-top:1em;}
hr{height:0;margin:15px 0;overflow:hidden;background:transparent;border:0;border-bottom:4px solid #ddd;}
ul{margin:1em 0 1em 2em;}
ol{margin:1em 0 1em 2em;}
ul li,ol li{margin-top:.5em;margin-bottom:.5em;}
ul ul,ul ol,ol ol,ol ul{margin-top:0;margin-bottom:0;}
blockquote{margin:1em 0;border-left:5px solid #ddd;padding-left:.6em;color:#555;}
dt{font-weight:bold;margin-left:1em;}
dd{margin-left:2em;margin-bottom:1em;}
@media screen and (min-width: 768px) {
    body {
        width: 748px;
        margin:10px auto;
    }
}
pre code {
  display: block; padding: 0.5em;
  color: #333;
  background: #f8f8ff
}

pre .comment,
pre .template_comment,
pre .diff .header,
pre .javadoc {
  color: #998;
  font-style: italic
}

pre .keyword,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .nginx .title,
pre .subst,
pre .request,
pre .status {
  color: #333;
  font-weight: bold
}

pre .number,
pre .hexcolor,
pre .ruby .constant {
  color: #099;
}

pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula {
  color: #d14
}

pre .title,
pre .id,
pre .coffeescript .params,
pre .scss .preprocessor {
  color: #900;
  font-weight: bold
}

pre .javascript .title,
pre .lisp .title,
pre .clojure .title,
pre .subst {
  font-weight: normal
}

pre .class .title,
pre .haskell .type,
pre .vhdl .literal,
pre .tex .command {
  color: #458;
  font-weight: bold
}
pre .tag,
pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
  color: #000080;
  font-weight: normal
}

pre .attribute,
pre .variable,
pre .lisp .body {
  color: #008080
}

pre .regexp {
  color: #009926
}

pre .class {
  color: #458;
  font-weight: bold
}

pre .symbol,
pre .ruby .symbol .string,
pre .lisp .keyword,
pre .tex .special,
pre .prompt {
  color: #990073
}

pre .built_in,
pre .lisp .title,
pre .clojure .built_in {
  color: #0086b3
}
pre .preprocessor, pre .pi, pre .doctype, pre .shebang, pre .cdata {
  color: #999;
  font-weight: bold
}
pre .deletion { background: #fdd }
pre .addition { background: #dfd }
pre .diff .change { background: #0086b3 }
pre .chunk { color: #aaa }
/* -- topmarks.css - Stuart frisby, mrfrisby.com -- */


/* Document Mode: TodoList */
* {
	line-height: 22px;
}

d,c,t {
	text-align: center; 
	display: inline-block; 
	width: 45px; 
	height: 17px;
	padding: 0 5px 2px; 
	border-radius: 12px; 
	color: #fff; 
	font-weight: bold;
	font-size: 75%;
	font-style: normal;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(0,0,0,.1);
	box-shadow: 0 1px 0 rgba(0,0,0,.2);
	margin-right: 6px;
	line-height: 20px;
}

d {background-color: #3ebb00;}
c {background-color: rgb(220,50,50);}
t {
	background-color: whitesmoke;
	color: #888;
}
h5 {
	display: block;
	width: 100%;
	background-color: whitesmoke;
	margin: 20px 0 12px;
	text-indent: 8px;
	font-size: 90%;
	font-weight: bold;
	color: #666;
	border-top: 1px solid #CCC;
	padding: 6px 0;
	font-size: 125%;
}
a {
	text-decoration: none;
	padding: 0 3px 0 22px;
	display: inline-block;
	margin-left: 3px;
}
#todo a:link, #todo  a:visited {color: #737373;}


background-image:url(

a:hover {color: #0896FF !important;}
a[href^=http]:not([href$=inline]) {background: transparent url(i/doc.png) no-repeat -1px 2px;}
a[href^=file] 		{background: transparent url(i/folder.png) no-repeat -1px 3px;}
a[href^=ical] 	 	{background: transparent url(i/cal.png) no-repeat 0 2px;}
a[href^=message] 	{background: transparent url(i/email.png) no-repeat 0 2px;}
a[href$=inline] 	{padding: 0; margin: 0;}

/* XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com> */
pre code {
  display: block; padding: 0.5em;
  background: #fff; color: black;
}

pre .comment,
pre .template_comment,
pre .javadoc,
pre .comment * {
  color: rgb(0,106,0);
}

pre .keyword,
pre .literal,
pre .nginx .title {
  color: rgb(170,13,145);
}
pre .method,
pre .list .title,
pre .tag .title,
pre .setting .value,
pre .winutils,
pre .tex .command,
pre .http .title,
pre .request,
pre .status {
  color: #008;
}

pre .envvar,
pre .tex .special {
  color: #660;
}

pre .string {
  color: rgb(196,26,22);
}
pre .tag .value,
pre .cdata,
pre .filter .argument,
pre .attr_selector,
pre .apache .cbracket,
pre .date,
pre .regexp {
  color: #080;
}

pre .sub .identifier,
pre .pi,
pre .tag,
pre .tag .keyword,
pre .decorator,
pre .ini .title,
pre .shebang,
pre .prompt,
pre .hexcolor,
pre .rules .value,
pre .css .value .number,
pre .symbol,
pre .symbol .string,
pre .number,
pre .css .function,
pre .clojure .title,
pre .clojure .built_in,
pre .function .title,
pre .coffeescript .attribute {
  color: rgb(28,0,207);
}

pre .class .title,
pre .haskell .type,
pre .smalltalk .class,
pre .javadoctag,
pre .yardoctag,
pre .phpdoc,
pre .typename,
pre .tag .attribute,
pre .doctype,
pre .class .id,
pre .built_in,
pre .setting,
pre .params,
pre .clojure .attribute {
  color: rgb(92,38,153);
}

pre .variable {
 color: rgb(63,110,116);
}
pre .css .tag,
pre .rules .property,
pre .pseudo,
pre .subst {
  color: #000;
}

pre .css .class, pre .css .id {
  color: #9B703F;
}

pre .value .important {
  color: #ff7700;
  font-weight: bold;
}

pre .rules .keyword {
  color: #C5AF75;
}

pre .annotation,
pre .apache .sqbracket,
pre .nginx .built_in {
  color: #9B859D;
}

pre .preprocessor,
pre .preprocessor * {
  color: rgb(100,56,32);
}

pre .tex .formula {
  background-color: #EEE;
  font-style: italic;
}

pre .diff .header,
pre .chunk {
  color: #808080;
  font-weight: bold;
}

pre .diff .change {
  background-color: #BCCFF9;
}

pre .addition {
  background-color: #BAEEBA;
}

pre .deletion {
  background-color: #FFC8BD;
}

pre .comment .yardoctag {
  font-weight: bold;
}

pre .method .id {
  color: #000;
}
   Images 9   Code 6   Mark-up 7   Locales   Misc 3
Listing
Download
manifest.json1692 B
bootstrap.min.css98 KB
Makefile70 B
options.html4021 B
popup.html877 B
README.md2183 B
_metadataverified_contents.json3957 B
images1280x800.png188 KB
images440x280.png24 KB
imagesicon.png16 KB
imagesshot.png177 KB
jshighlight.js27 KB
jsjquery.js268 KB
jsmarkdownify.js6986 B
jsmarked.js28 KB
jsoptions.js3947 B
jspopup.js2155 B
themeClearness.css3069 B
themeClearnessDark.css4018 B
themeGithub.css3756 B
theme/ical.png591 B
theme/icompass.png849 B
theme/idoc.png582 B
theme/iemail.png1559 B
theme/ifolder.png699 B
themeTopMarks.css3558 B
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
    margin: 0;
    padding: 0;
}
body {
    font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #737373;
    margin: 10px 13px 10px 13px;
}
a {
    color: #0069d6;
}
a:hover {
    color: #0050a3;
    text-decoration: none;
}
a img {
    border: none;
}
p {
    margin-bottom: 9px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #404040;
    line-height: 36px;
}
h1 {
    margin-bottom: 18px;
    font-size: 30px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
}
h5 {
    font-size: 14px;
}
h6 {
    font-size: 13px;
}
hr {
    margin: 0 0 19px;
    border: 0;
    border-bottom: 1px solid #ccc;
}
blockquote {
    padding: 13px 13px 21px 15px;
    margin-bottom: 18px;
    font-family: georgia, serif;
    font-style: italic;
}
blockquote:before {
    content: "\201C";
    font-size: 40px;
    margin-left: -10px;
    font-family: georgia, serif;
    color: #eee;
}
blockquote p {
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    margin-bottom: 0;
    font-style: italic;
}
code,
pre {
    font-family: Monaco, Andale Mono, Courier New, monospace;
}
code {
    background-color: #fee9cc;
    color: rgba(0, 0, 0, 0.75);
    padding: 1px 3px;
    font-size: 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
pre {
    display: block;
    padding: 14px;
    margin: 0 0 18px;
    line-height: 16px;
    font-size: 11px;
    border: 1px solid #d9d9d9;
    white-space: pre-wrap;
    word-wrap: break-word;
}
pre code {
    background-color: #fff;
    color: #737373;
    font-size: 11px;
    padding: 0;
}
@media screen and (min-width: 768px) {
    body {
        width: 748px;
        margin: 10px auto;
    }
}
/*
Description: Foundation 4 docs style for highlight.js
Author: Dan Allen <dan.j.allen@gmail.com>
Website: http://foundation.zurb.com/docs/
Version: 1.0
Date: 2013-04-02
*/
 
pre code {
    display: block;
    padding: 0.5em;
    background: #eee;
}
pre .decorator,
pre .annotation {
    color: #000077;
}
pre .attribute {
    color: #070;
}
pre .value,
pre .string,
pre .scss .value .string {
    color: #d14;
}
pre .comment {
    color: #998;
    font-style: italic;
}
pre .function .title {
    color: #900;
}
pre .class {
    color: #458;
}
pre .id,
pre .pseudo,
pre .constant,
pre .hexcolor {
    color: teal;
}
pre .variable {
    color: #336699;
}
pre .javadoc {
    color: #997700;
}
pre .pi,
pre .doctype {
    color: #3344bb;
}
pre .number {
    color: #099;
}
pre .important {
    color: #f00;
}
pre .label {
    color: #970;
}
pre .preprocessor {
    color: #579;
}
pre .reserved,
pre .keyword,
pre .scss .value {
    color: #000;
}
pre .regexp {
    background-color: #fff0ff;
    color: #880088;
}
pre .symbol {
    color: #990073;
}
pre .symbol .string {
    color: #a60;
}
pre .tag {
    color: #007700;
}
pre .at_rule,
pre .at_rule .keyword {
    color: #088;
}
pre .at_rule .preprocessor {
    color: #808;
}
pre .scss .tag,
pre .scss .attribute {
    color: #339;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
    margin: 0;
    padding: 0;
}
body {
    font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #fff;
    background-color: #282a36;
    margin: 10px 13px 10px 13px;
}
a {
    color: #59acf3;
}
a:hover {
    color: #a7d8ff;
    text-decoration: none;
}
a img {
    border: none;
}
p {
    margin-bottom: 9px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    line-height: 36px;
}
h1 {
    margin-bottom: 18px;
    font-size: 30px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
}
h5 {
    font-size: 14px;
}
h6 {
    font-size: 13px;
}
hr {
    margin: 0 0 19px;
    border: 0;
    border-bottom: 1px solid #ccc;
}
blockquote {
    padding: 13px 13px 21px 15px;
    margin-bottom: 18px;
    font-family:georgia,serif;
    font-style: italic;
}
blockquote:before {
    content:"\201C";
    font-size:40px;
    margin-left:-10px;
    font-family:georgia,serif;
    color:#eee;
}
blockquote p {
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    margin-bottom: 0;
    font-style: italic;
}
code, pre {
    font-family: Monaco, Andale Mono, Courier New, monospace;
}
code {
	color: #ff4a14;
    padding: 1px 3px;
    font-size: 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
pre {
    display: block;
    padding: 14px;
    margin: 0 0 18px;
    line-height: 16px;
    font-size: 11px;
    border: 1px solid #bf370f;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}
pre code {
    background-color: #282a36;
    color: #ff4a14;
    font-size: 11px;
    padding: 0;
}
@media screen and (min-width: 768px) {
    body {
        width: 748px;
        margin:10px auto;
    }
}

/* Obsidian style ported by Alexander Marenin (http://github.com/ioncreature) */
pre code {
    display: block; padding: 0.5em;
    background: #282B2E;
}

pre .keyword,
pre .literal,
pre .change,
pre .winutils,
pre .flow,
pre .lisp .title,
pre .clojure .built_in,
pre .nginx .title,
pre .css .id,
pre .tex .special {
    color: #93C763;
}

pre .number {
    color: #FFCD22;
}

pre code {
    color: #E0E2E4;
}

pre .css .tag,
pre .css .pseudo {
    color: #D0D2B5;
}

pre .attribute,
pre code .constant {
    color: #668BB0;
}

pre .xml .attribute {
    color: #B3B689;
}

pre .xml .tag .value {
    color: #E8E2B7;
}

pre .code,
pre .class .title,
pre .header {
    color: white;
}

pre .class,
pre .hexcolor {
    color: #93C763;
}

pre .regexp {
    color: #D39745;
}

pre .at_rule,
pre .at_rule .keyword {
    color: #A082BD;
}

pre .doctype {
    color: #557182;
}

pre .link_url,
pre .tag,
pre .tag .title,
pre .bullet,
pre .subst,
pre .emphasis,
pre .haskell .type,
pre .preprocessor,
pre .ruby .class .parent,
pre .built_in,
pre .sql .aggregate,
pre .django .template_tag,
pre .django .variable,
pre .smalltalk .class,
pre .javadoc,
pre .django .filter .argument,
pre .smalltalk .localvars,
pre .smalltalk .array,
pre .attr_selector,
pre .pseudo,
pre .addition,
pre .stream,
pre .envvar,
pre .apache .tag,
pre .apache .cbracket,
pre .tex .command,
pre .prompt {
    color: #8CBBAD;
}

pre .string {
    color: #EC7600;
}

pre .comment,
pre .java .annotation,
pre .blockquote,
pre .horizontal_rule,
pre .python .decorator,
pre .template_comment,
pre .pi,
pre .deletion,
pre .shebang,
pre .apache .sqbracket,
pre .tex .formula {
    color: #818E96;
}

pre .keyword,
pre .literal,
pre .css .id,
pre .phpdoc,
pre .title,
pre .header,
pre .haskell .type,
pre .vbscript .built_in,
pre .sql .aggregate,
pre .rsl .built_in,
pre .smalltalk .class,
pre .diff .header,
pre .chunk,
pre .winutils,
pre .bash .variable,
pre .apache .tag,
pre .tex .special,
pre .request,
pre .at_rule .keyword,
pre .status {
    font-weight: bold;
}

pre .coffeescript .javascript,
pre .javascript .xml,
pre .tex .formula,
pre .xml .javascript,
pre .xml .vbscript,
pre .xml .css,
pre .xml .cdata {
    opacity: 0.5;
}

以上是关于css 降价风格的主要内容,如果未能解决你的问题,请参考以下文章

非 http 方案链接的 GitHub 风格降价

有没有办法用 GitHub 风格的降价来跨表标题?

css 降价 - 在这里,CSS

css 降价 - 在这里,CSS

css 降价友好的CSS

我的博客是用降价的方式写的。