csdn blog 自定义css
代码 1 /*页面body块样式*/
2 body {
3 background: #f7fdfd;
4 text-align: center;
5 }
6
7 /*页面左侧*/
8 #csdnblog_sidebar {
9 width: 250px;
10 }
11
12 /*页面右侧*/
13 #csdnblog_content {
14 width: 720px;
15 }
16
17 /*整体页面样式*/
18 #csdnblog_allwrap {
19 width: 970px;
20 height: auto;
21 }
22
23 /*页面body块样式*/
24 body {
25 background: #f7fdfd;
26 text-align: center;
27 }
28
29 /*页面查询块*/
30 #csdnblog_header ul#blogsearchsty {
31 float: left;
32 position: absolute;
33 top: 75px;
34 right: 0px;
35 float: right;
36 }
37
38 /*页面菜单块*/
39 #csdnblog_header ul#menu {
40 height: 25px;
41 float: left;
42 top: 80px;
43 position: absolute;
44 width: auto;
45 font-size: 14px;
46 }
47
48 #csdnblog_header ul#menu li {
49 background-color: #8CB5F2;
50 float: left;
51 width: 76px;
52 text-align: center;
53 }
54
55 #csdnblog_header ul#menu li a {
56 float: left;
57 color: #fff;
58 padding: 0 0 0 0;
59 margin: 0 0 0 0;
60 width: 75px;
61 }
62
63 #csdnblog_header ul#menu li a:hover {
64 background-color: #c8db4a;
65 text-align: center;
66 color: #000;
67 text-decoration: underline;
68 }
69
70 /*页面个人blog菜单管理块*/
71 #csdnblog_header ul#personalnav {
72 float: right;
73 margin: 0 1em;
74 position: absolute;
75 top: 1px;
76 right: 0px;
77 }
78
79 #csdnblog_header UL#personalnav LI A#a_register {
80 background-color: #c8db4a;
81 border: 2px dashed #c8db4a;
82 text-align: center;
83 color: #fff;
84 }
85
86 #csdnblog_header UL#personalnav LI A#a_register :hover {
87 background-color: #8CB5F2;
88 border: 2px dashed #8CB5F2;
89 text-align: center;
90 color: #000;
91 text-decoration: underline;
92 }
93
94 #csdnblog_header UL#personalnav LI A {
95 background-color: #8CB5F2;
96 border: 2px dashed #8CB5F2;
97 text-align: center;
98 color: #fff;
99 }
100
101 #csdnblog_header UL#personalnav LI A:hover {
102 background-color: #c8db4a;
103 border: 2px dashed #c8db4a;
104 text-align: center;
105 color: #000;
106 text-decoration: underline;
107 }
2 body {
3 background: #f7fdfd;
4 text-align: center;
5 }
6
7 /*页面左侧*/
8 #csdnblog_sidebar {
9 width: 250px;
10 }
11
12 /*页面右侧*/
13 #csdnblog_content {
14 width: 720px;
15 }
16
17 /*整体页面样式*/
18 #csdnblog_allwrap {
19 width: 970px;
20 height: auto;
21 }
22
23 /*页面body块样式*/
24 body {
25 background: #f7fdfd;
26 text-align: center;
27 }
28
29 /*页面查询块*/
30 #csdnblog_header ul#blogsearchsty {
31 float: left;
32 position: absolute;
33 top: 75px;
34 right: 0px;
35 float: right;
36 }
37
38 /*页面菜单块*/
39 #csdnblog_header ul#menu {
40 height: 25px;
41 float: left;
42 top: 80px;
43 position: absolute;
44 width: auto;
45 font-size: 14px;
46 }
47
48 #csdnblog_header ul#menu li {
49 background-color: #8CB5F2;
50 float: left;
51 width: 76px;
52 text-align: center;
53 }
54
55 #csdnblog_header ul#menu li a {
56 float: left;
57 color: #fff;
58 padding: 0 0 0 0;
59 margin: 0 0 0 0;
60 width: 75px;
61 }
62
63 #csdnblog_header ul#menu li a:hover {
64 background-color: #c8db4a;
65 text-align: center;
66 color: #000;
67 text-decoration: underline;
68 }
69
70 /*页面个人blog菜单管理块*/
71 #csdnblog_header ul#personalnav {
72 float: right;
73 margin: 0 1em;
74 position: absolute;
75 top: 1px;
76 right: 0px;
77 }
78
79 #csdnblog_header UL#personalnav LI A#a_register {
80 background-color: #c8db4a;
81 border: 2px dashed #c8db4a;
82 text-align: center;
83 color: #fff;
84 }
85
86 #csdnblog_header UL#personalnav LI A#a_register :hover {
87 background-color: #8CB5F2;
88 border: 2px dashed #8CB5F2;
89 text-align: center;
90 color: #000;
91 text-decoration: underline;
92 }
93
94 #csdnblog_header UL#personalnav LI A {
95 background-color: #8CB5F2;
96 border: 2px dashed #8CB5F2;
97 text-align: center;
98 color: #fff;
99 }
100
101 #csdnblog_header UL#personalnav LI A:hover {
102 background-color: #c8db4a;
103 border: 2px dashed #c8db4a;
104 text-align: center;
105 color: #000;
106 text-decoration: underline;
107 }

浙公网安备 33010602011771号