global.css

一、起点:

 1 /*global*/
2 body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, a, blockquote, th { margin: 0;padding: 0;}
3 h1, h2, h3, h4, h5, h6 { font-size: 100%; }
4 ol, ul { list-style: none; }
5 table {border-collapse: collapse;border-spacing: 0px;}
6 fieldset, img { border: 0; }
7 html { text-align: center }
8 body {margin:0px auto 0px; color:#000000;font: 12px "宋体", Arial, "黑体";text-align:center; background-color:#FFFFFF;}
9 *html body {background-image:url(about:blank);background-attachment:fixed;} /* IE6 fixed box hack */
10 /*清除浮动 start*/
11 .clearfix:after {content:".";display:block;height:0;clear:both; visibility:hidden;}
12 .clearfix { display:inline-block; }
13 /*标签分类显示*/
14 .select_g {clear: left; color: blue; text-align: right;}
15 /* Hides from IE-mac \*/
16 * html .clearfix { height:1%; }
17 .clearfix { display:block; }
18 /* End hide from IE-mac */
19 a {color: #004d00;text-decoration: none;}
20 a:hover {text-decoration: none;color: #004d00;position:relative;left:1px;top:1px;clip:rect()}
21 a.hui2:link, a.hui2:visited, a.hui2:hover, a.hui2:active {color: #666666;text-decoration: none;}

二、163

 1 body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, form, img, dl, dt, dd, table, th, td, blockquote, fieldset, div, strong, label, em {
2 border: 0 none;
3 margin: 0;
4 padding: 0;
5 }
6 ul, ol, li {
7 list-style: none outside none;
8 }
9 input, button {
10 font-size: 12px;
11 margin: 0;
12 vertical-align: middle;
13 }
14 body {
15 font-family: Arial,Helvetica,sans-serif;
16 font-size: 12px;
17 margin: 0 auto;
18 text-align: center;
19 }
20 table {
21 border-collapse: collapse;
22 border-spacing: 0;
23 }
24 b, em, i {
25 font-style: normal;
26 font-weight: normal;
27 }
28 h1, h2, h3, h4 {
29 font-size: 14px;
30 font-style: normal;
31 }
32 h5 {
33 font-size: 12px;
34 }
35 h6 {
36 font-size: 12px;
37 font-weight: normal;
38 }
39 a:link, a:visited {
40 color: #000000;
41 text-decoration: none;
42 }
43 a:hover, a:active {
44 color: #FF0000;
45 text-decoration: underline;
46 }
47 ul, li {
48 list-style: none outside none;
49 margin: 0;
50 padding: 0;
51 }
52 img {
53 border: 0 none;
54 display: block;
55 margin: 0;
56 padding: 0;
57 }

三、性浪

 1 body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, table, td, img, div {
2 border: 0 none;
3 margin: 0;
4 padding: 0;
5 }
6 body {
7 background: none repeat scroll 0 0 #FFFFFF;
8 color: #333333;
9 font-family: "SimSun","宋体","Arial Narrow";
10 font-size: 12px;
11 margin-top: 5px;
12 }
13 ul, ol {
14 list-style-type: none;
15 }
16 select, input, img, select {
17 vertical-align: middle;
18 }
19 a {
20 text-decoration: underline;
21 }
22 a:link {
23 color: #000099;
24 }
25 a:visited {
26 color: #800080;
27 }
28 a:hover, a:active, a:focus {
29 color: #CC0000;
30 }
31 .clearit {
32 clear: both;
33 }

四、知乎

 1 a, a:active, a:visited, a:focus {
2 color: #105CB6;
3 outline: medium none;
4 text-decoration: none;
5 }
6 a:hover {
7 text-decoration: underline;
8 }
9 .external {
10 background: url("/static/img/external.png") no-repeat scroll right center transparent;
11 margin: 0 5px 0 0;
12 padding: 0 10px 0 0;
13 }
14 ol, ul {
15 list-style-position: outside;
16 margin: 10px 0 10px 20px;
17 padding: 0;
18 }
19 li {
20 margin: 0 0 5px;
21 }
22 img {
23 border: 0 none;
24 }
25 div {
26 outline: medium none;
27 }
28 textarea {
29 border: medium none;
30 outline: medium none;
31 overflow: auto;
32 resize: none;
33 }
34 p {
35 margin: 0;
36 padding: 0;
37 }
38 input, select {
39 font-family: 'Helvetica Neue',Helvetica,Arial,Sans-serif;
40 outline: medium none;
41 }
42 input[type="text"] {
43 }
44 body, input, textarea, select, button {
45 color: #222222;
46 font: 13px/22px 'Helvetica Neue',Helvetica,Arial,Sans-serif;
47 margin: 0;
48 padding: 0;
49 word-wrap: break-word;
50 }
51 h1, h2, h3, h4, h5 {
52 font-size: 14px;
53 font-weight: bold;
54 margin: 0 0 10px;
55 outline: medium none;
56 }
57 em {
58 font-style: normal;
59 }
60 ins {
61 background: none repeat scroll 0 0 #EDFCE5;
62 padding: 3px 0;
63 text-decoration: none;
64 }
65 del {
66 background: none repeat scroll 0 0 #F7D3D3;
67 padding: 3px 0;
68 text-decoration: line-through;
69 }
70 button {
71 outline: medium none;
72 }
73 input[type="checkbox"] {
74 margin: 0 5px 0 0;
75 vertical-align: middle;
76 }
77 address, blockquote, sup {
78 border-left: 3px solid #D0E5F2;
79 display: block;
80 font-size: 100%;
81 font-style: normal;
82 padding: 0 0 0 10px;
83 vertical-align: baseline;
84 }

五、豆瓣

  1 html {
2 background: none repeat scroll 0 0 #FFFFFF;
3 color: #111111;
4 }
5 body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote {
6 margin: 0;
7 padding: 0;
8 }
9 table {
10 border-collapse: collapse;
11 border-spacing: 0;
12 }
13 fieldset, img {
14 border: 0 none;
15 }
16 address, caption, cite, code, dfn, em, strong, th, var, optgroup {
17 font-style: inherit;
18 font-weight: inherit;
19 }
20 del, ins {
21 text-decoration: none;
22 }
23 ul {
24 list-style: none outside none;
25 }
26 caption, th {
27 text-align: left;
28 }
29 h1, h2, h3, h4, h5, h6 {
30 font-size: 100%;
31 font-weight: normal;
32 }
33 q:before, q:after {
34 content: "";
35 }
36 abbr, acronym {
37 border: 0 none;
38 font-variant: normal;
39 }
40 sup {
41 vertical-align: baseline;
42 }
43 sub {
44 vertical-align: baseline;
45 }
46 legend {
47 color: #000000;
48 }
49 input, button, textarea, select, optgroup, option {
50 font-family: inherit;
51 font-size: inherit;
52 font-style: inherit;
53 font-weight: inherit;
54 }
55 input, button, textarea, select {
56 }
57 ol {
58 padding: 0 0 0 20px;
59 }
60 textarea {
61 font-family: Arial;
62 overflow: auto;
63 }
64 input {
65 font-size: 12px;
66 }
67 a {
68 cursor: pointer;
69 }
70 a:link {
71 color: #336699;
72 text-decoration: none;
73 }
74 a:visited {
75 color: #666699;
76 text-decoration: none;
77 }
78 a:hover {
79 background: none repeat scroll 0 0 #003399;
80 color: #FFFFFF;
81 text-decoration: none;
82 }
83 a:active {
84 background: none repeat scroll 0 0 #FF9933;
85 color: #FFFFFF;
86 text-decoration: none;
87 }
88 a img {
89 border-width: 0;
90 vertical-align: middle;
91 }
92 body, td, th {
93 font: 12px/162% Arial,Helvetica,sans-serif;
94 }
95 table {
96 border: 0 none;
97 border-collapse: collapse;
98 margin: 0;
99 padding: 0;
100 }
101 pre {
102 white-space: pre-wrap;
103 word-wrap: break-word;
104 }
105 wbr:after {
106 content: "​";
107 }
108 .clearfix {
109 }
110 .clearfix:after {
111 clear: both;
112 content: ".";
113 display: block;
114 height: 0;
115 visibility: hidden;
116 }

未完,待续……





posted @ 2012-03-07 20:23  妙計出自山人  阅读(902)  评论(0编辑  收藏  举报