Skip to content

Commit 74890ea

Browse files
author
devinwang
committed
修改页面
1 parent a570745 commit 74890ea

8 files changed

+34
-8
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ logs
66
*.swo
77
upload-testing
88
codes
9+
.DS_Store

web/css/colorcode.css

+17
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,20 @@ html[xmlns] .clearfix {display: block; height:0px; clear: both; visibility: hidd
4141
.corner4px {border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -khtml-border-radius:4px; }
4242
.corner8px {border-radius:8px; -moz-border-radius:8px; -webkit-border-radius:8px; -o-border-radius:8px; -khtml-border-radius:8px; }
4343
.corner10px {border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; -o-border-radius:10px; -khtml-border-radius:10px; }
44+
45+
/*--------------------Color Code Home Page Css-----------------------------------*/
46+
body{ text-align:center; color:#fff;}
47+
.top_nav {width:100%; height:30px; background-color:#000;}
48+
49+
.cc_top { width:810px; margin:0 auto; margin-top:80px;}
50+
.cc_logo { background:url(/img/Color_Code_01.png) top no-repeat; width:343px; height:53px; float:left;}
51+
.cc_sub_logo { background:url(/img/Color_Code_03.png) top no-repeat; width:229px; height:25px; margin-top:28px; margin-right:5px; float:right;}
52+
53+
.content_box { width:810px; margin:0 auto; margin-top:30px; }
54+
.code_box {width:740px; float:left; }
55+
.code_box .black_code_box { width:740px; max-width:740px; min-width:740px; height:290px; min-height:290px; float:left; border:10px solid #d9d9d9; border-radius:8px 0 0 8px; -moz-border-radius:8px 0 0 8px; -webkit-border-radius:8px 0 0 8px; -o-border-radius:8px 0 0 8px; -khtml-border-radius:8px 0 0 8px; background-color:#313131; color:#45ed00; font-size:14px; font-family:Andale Mono, Courier New, Helvetica, Arial; line-height:20px; }
56+
.code_box .color_code_box { width:740px; height:290px; max-width:740px; min-width:740px; min-height:290px; border:10px solid #d9d9d9; border-radius:8px 0 0 8px; -moz-border-radius:8px 0 0 8px; -webkit-border-radius:8px 0 0 8px; -o-border-radius:8px 0 0 8px; -khtml-border-radius:8px 0 0 8px; background-color:#313131; color:#45ed00; font-size:14px; font-family:Andale Mono, Courier New, Helvetica, Arial; line-height:20px; position:absolute; z-index:10; visibility:hidden; }
57+
.tool_box { float:left; width:50px; height:310px; padding-left:10px; background-color:#d9d9d9; border-radius:0 8px 8px 0; -moz-border-radius:0 8px 8px 0; -webkit-border-radius:0 8px 8px 0; -o-border-radius:0 8px 8px 0; -khtml-border-radius:0 8px 8px 0; }
58+
.tool_box .btn_text { display:block; float:right; width:40px; padding:3px 5px; background-color:#448ccb; font-size:16px; color:#fff; text-align:center; margin-top:10px; border-radius:4px 0 0 4px; box-shadow:2px 2px 3px #585858 inset; }
59+
.tool_box .btn_text:hover { box-shadow:0 0 0 #585858 inset; }
60+

web/html/index_cn.html

+16-8
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,22 @@
66
<script type="text/javascript" src="/js/colorcode.js"></script>
77
</head>
88
<body>
9-
color code
10-
<a href="javascript:;" onclick="test();">test</a>
11-
<textarea style="width:500px; height:300px;" id="blackcode">
12-
13-
</textarea>
14-
<div id="showcolorcode">
15-
9+
<div class="top_nav"></div>
10+
<div class="cc_top">
11+
<div class="cc_logo"></div>
12+
<div class="cc_sub_logo"></div>
1613
</div>
17-
14+
<div class="clearfix"></div>
15+
<div class="content_box">
16+
<div class="code_box">
17+
<textarea class="black_code_box" id="blackcode"></textarea>
18+
<div class="color_code_box" id="blackcode" ></div>
19+
</div>
20+
<div class="tool_box" id="showcolorcode">
21+
<a class="btn_text" href="javascript:;" onclick="test();">test</a>
22+
</div>
23+
</div>
24+
<div class="ad_sense"></div>
25+
<div class="foot"></div>
1826
</body>
1927
</html>

web/img/Color_Code.png

21.6 KB
Loading

web/img/Color_Code_01.png

5.4 KB
Loading

web/img/Color_Code_02.png

8.51 KB
Loading

web/img/Color_Code_03.png

1.88 KB
Loading

web/img/blank

Whitespace-only changes.

0 commit comments

Comments
 (0)