|
楼主 |
发表于 2010-1-30 20:04:58
|
显示全部楼层
这里还有个我自己做的 古剑奇谭 的风格代码。不过底部代码一直改不过来,显示不出,很是郁闷。9 u6 L/ p* Z; Q' w1 b' n/ S
! M# M: T1 p; A/ `$ S- /*登录条*/5 {4 F, ]& I3 {, l) r/ T' ~
( B+ r" [- p6 m; @+ E+ X5 `- html body center div#usrbar,html body center div#usrbar a,html body center div#usrbar a:link,html body center div#usrbar a:visited,html body center div#usrbar nobr{color:#545454!important;text-decoration:none!important;background:url(http://www.xuecun.org/attachment/201001/23/12173_1264256252DlYm.gif) repeat-x!important;-moz-opacity:1!important;filter:none!important;}9 t% p7 l9 n9 R5 J3 ~
- html body center div#usrbar a:hover{color:#999!important}5 m) S6 Z" C& u/ I: H1 M
- img.down-arrow{border:1px solid #888888!important;filter:gray!important;background:url(http://.jpeg) no-repeat 50% 50%}
6 M5 v+ G4 Y: v - #hi_index{}* e- ~" \" Z0 M2 y6 F, [1 `8 a
- #nav_extra .top a,#nav_extra .body a{color:#545454!important;text-decoration:none!important}
' R! ]" N' I; y
. b1 S; B) W- H7 u0 m3 G3 E' z- body{background: #F5D79B;overflow-x:hidden;color:#6E5D4D;}/*网页背景主体颜色*/
1 b4 @4 _/ g7 B
. [9 S# _3 K W5 g# S- BODY {scrollbar-face-color: #B91A07;
- E! J! k" l% L& U( |! g2 x - scrollbar-shadow-color: #F7F1D9;
$ r. u) o1 Z I7 a( C - scrollbar-highlight-color: #F7F1D9;
" o9 F% ]1 X' ], j3 n% O: l! H - scrollbar-3dlight-color: #F7F1D9; 9 I! ]7 t* O4 V; t5 T3 W9 O% r
- scrollbar-darkshadow-color:#F7F1D9;
! G: e8 q9 n6 j/ f; S1 A - scrollbar-arrow-color: #F7F1D9; 8 N4 e: X* N: v) U8 A/ C! h, q
- scrollbar-base-color:#F7F1D9;
6 d8 ~! g" k5 T: A0 l, y - scrollbar-track-color:#F7F1D9}/*整个空间页面*/
3 O; O% y8 D8 R9 M# I
+ R7 i0 |: S" f, e
* P# P; H6 f4 G7 o. ]* T- /*定义超级链接文字默认样式*/
( d: S+ O' e) t2 h- C1 Q3 K" V - a:link,a:visited { font-size:12px; color:#6E5D4D; text-decoration:none ;}9 B7 C2 V* n$ z* v6 e& v0 D2 k
- a:hover{ font-size:12px; position:relative;left:1px; top:1px; color: #6E5D4D; text-decoration:underline ;}( N$ p0 M5 m( ~1 q
- % U" V+ f6 m4 _' I O
- td.c2t3 a:link,td.c2t3 a:visited { font-size:12px; color: #6E5D4D; text-decoration: none;}
5 g; e( b- Z* m! w w: d - td.c2t3 a:hover{ font-size:12px; position:relative;left:1px; top:1px; color: #BA3836; text-decoration: underline;}
) d1 H! e) {) K$ C. M
' I1 ]9 C4 v1 r, }* J1 `- #phx{FILTER: Alpha(Opacity=100, FinishOpacity=50, Style=2, StartX=60, StartY=40, FinishX=5, FinishY=2) gray(); WIDTH: px; HEIGHT:66px; }
/ Q) B4 `8 a4 J# i, k! F* [8 w - . n1 E" {6 x. u) ~( [# `1 _) m
- /*底部*/) b2 G! ]5 N; B+ X; I
- #main{ width:1024px!important;
1 f$ i- h. S9 r- Q- J6 X2 a$ ? - background-image: url(http://www.xuecun.org/attachment/201001/23/12173_12642569443mHF.jpg); background-repeat: no-repeat; background-position: center bottom;margin: -0px 0px -50px 0px!important; padding: 0px 0px 163px 0px!important; }/*底部背景*/
; @/ i3 }3 o, ^& J( J1 E, r - 2 y u9 t0 ^# R& \& n& K w
- /*头部*/
0 x* y" C6 I/ `6 i4 H R* _ - #header {height:550px!important;
" ]$ @( C# A+ P% O) t. G- m - background-image: url(http://image215.poco.cn/mypoco/myphoto/20100123/23/450692520100123231913051.jpg); background-repeat:no-repeat;background-position: center top;}: m3 B" G k. ]/ Y4 n# Z
- \* e" l M8 T; ?- #header DIV.lc {BACKGROUND: repeat;left:50px;width:900px;height:300px!important;filter:Alpha(opacity=15);-moz-opacity:0.15;opacity:0.15;}
, v5 D/ ^ A7 R/ g v6 g/ x - 7 i. u2 V, y! N' I: ]- S( f+ S
- #header div.tit{top:-100px;left:80px;font-size:20px;line-height:50px;color:#362627!important;text-align:center;font-family:微软雅黑;} I; J: L" P/ w) ^8 F4 }# |+ s
- #header div.tit a.titlink{font-size:17px;text-decoration:none;color:#362627!important;font-family:微软雅黑;}
8 y7 |" j$ @9 f4 D, k# ~( I8 y6 I8 |. C& Z - #header div.tit a.titlink:visited{font-size:17px;text-decoration:none;color:#362627!important;font-family:微软雅黑;}
8 b/ c. j% k. l# j - + p4 ^& H/ H+ h! Z0 S6 y$ A- S
- #header div.desc { top:-100px; left:80px; color:#362627; font-size:13px; width: 380px; text-align:left;line-height: 25px;}/*空间简介*/* z) k3 b( s$ b! n; U R( g1 U$ V
7 U; F. M3 Q# x- /* 导航栏 */) N5 h* x3 [+ t0 R* X6 q; _5 S
- #tabline{display:none;}' E4 P" m; a# P
- #tab{left:620px;top:503px;position:center}
4 }6 \" _* c0 B2 c9 Z% w. t( o
1 e! s7 q$ H( c" q( X! c- #tab a.on,#tab a.on:link,#tab a.on:visited{color: #F7F1D9;text-decoration:none;font-size:14px;font-weight:bold;BACKGROUND:#B91A07;}" w6 V/ |* X# C& w
- #tab span{display:none;}+ q/ h' \# s4 u; b1 k4 h
- #tab a:link{color:#362627;text-decoration:none;font-size:12px}9 p3 y% G0 ^# G( B. |
- #tab a:visited{color:#362627;text-decoration:none;font-size:12px;}
7 `& l7 ^% u$ @! T, L - #tab a:hover{color:#F7F1D9;text-decoration:none;font-size:12px;font-weight:bold;BACKGROUND:#B91A07;}1 L; S6 m/ `* C4 L5 Y
- " [" k H6 N1 ~+ F
- #tab2{background: repeat-y;top:0px;}
5 a1 _* I" Y/ P; ] - #tab2 span{color:#362627;font-size:12px;font-weight:bold}
4 Q, K9 p. Z3 g, V" g - #tab2 { background-image: url(-);) u4 m; t* i T2 ^ }5 g
- background-position: center top;}/*设置TAB菜单主体*/
7 a' u2 B# f4 ?8 j8 v* {3 p9 N# P - #tab2 span { color:#dddddd; }/*TAB选中状态*/
) g5 O3 w$ `) _3 n" i - #tab2 a, #tab2 a:link, #tab2 a:visited {font-size:12px!important; color:#dddddd}/*TAB未选中状态*/ 6 l. y4 t8 _; H9 I2 L
+ \% B8 H ?- ^6 H u9 b- /*中部*/ 3 S b! O# f6 L
- .stage{ background-image: #F5D79B }/*(TAB菜单与版权信息之间的区域)*/
: |! c$ c7 ^0 f: Z- E, ~. y# L - 1 C' |- u4 I- a
- .stagepad{ width:auto;margin:0 auto;}6 g% p& p% [2 e1 I0 ]! E
- . z5 v4 j( j1 j, w
- #layout{ }
) Y) x" G: s6 m3 G; Y3 V- i1 v
: y4 H( q9 T! l2 Z \9 a P- /*其它区域(即访问量等信息)*/ 7 q9 ?: n5 j3 C* K) ~* c5 I6 d7 _
- #comm_info{color: #6E5D4D;font-family:Georgia;text-align:left}# e9 Y' y4 J4 j9 G2 R3 o
- #comm_info div.line{
6 W, S+ L1 `# P: N - background-image:url(-);background-repeat: no-repeat;background-position: center;background-attachment:;margin-top:5px;line-height:96px;border-top:2px}
. j$ c; @, H: B9 L" }6 u3 f - #m_comm_info img{display:none}( @2 r. f1 I3 l o4 F4 C% V6 M7 w0 Q
- #comm_info a{text-decoration:none;color:#6E5D4D}/ i7 V. W M( m8 E5 m, Y ?
- #pvshow{font-family:Georgia;font-size:14pt;color: #6E5D4D}
5 ?1 P U/ g# j7 ]% u7 X7 w4 b; ^, n7 {# g
6 N1 F2 M' t: o, G- /*页码区域*/ 3 p* {) D: L6 ~: y }; Z! i
- #page {height:30px;font-size:12px;font-family:Georgia;text-align:center}/*主体*/
. u2 ]$ H7 H: Z9 g0 z2 j - #page span {padding:3px;color:#6E5D4D;font-size:14px;font-weight:bold;font-family:Georgia;}/*当前页码(不可点击)*/
% R" R: Q" q. Q( d5 I& F: H$ ?2 L - #page a.pc {font-size:14px;font-weight:bold}/*上一页和下一页*/ * A' X% f* y& u6 i7 @
- #page a.pc:visited{}/ I" J: _4 j M( |4 W, w6 Z. T
- #page a.pi {padding:3px;;font-size:12px}/*页码(可点击)*/ " N! D. k9 m% a3 V" [$ v. s
- #page a.pi:visited{}0 V, i4 J& E1 J, R+ i3 C9 i
6 l) I* |! ~1 ]/ C- /*模块*/ # D9 v# u! \6 G S3 z0 g& z
- % Y0 h5 L9 H+ l9 U9 `. `
- .mod {margin-bottom:0px;}
3 s& K" }8 l1 o/ `8 X& l" e7 R/ ~6 E - .modhandle{cursor:move}* ~/ `8 H1 ]1 a! ]$ e6 B
- .modth{height:33px;}& @5 p9 w' g+ z+ h9 ?/ z
- .modhead{padding:0px 4px 5 4px;}1 j8 L1 O# w8 l) j/ G$ o
- .modopt {padding:4px 4px 0 0}/*模块操作区(如写新文章)*/ + B' ~' r* @9 C$ a& x' @
- .modtit, a.modtit, a.modtit:visited{color:#FFFFFF;font-size:13px;font-weight:bold;text-decoration: none;}/*模块标题区(如文章列
复制代码 |
|