CSS代码: notebook app CSS code
01 * {
02 margin: 0;
03 padding: 0;
04 }
05 body {
06 font-family: Helvetica;
07 }
08 .toolBar {
09 -webkit-box-sizing: border-box;
10 border-bottom: 1px solid #aaa;
11 padding: 10px;
12 height: 45px;
13 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#D7D7D7));
14 position: relative;
15 }
16 .toolBar h1 {
17 position: absolute;
18 overflow: hidden;
19 left: 50%;
20 top: 10px;
21 line-height: 1em;
22 margin: 1px 0 0 -75px;
23 height: 40px;
24 font-size: 20px;
25 width: 150px;
26 font-weight: bold;
27 text-align: center;
28 text-overflow: ellipsis;
29 white-space: nowrap;
30 color: #333;
31 text-shadow:0 1px 0 rgba(255, 255, 255, 0.8);
32 }
33 .page ul li a {
34 color:#222;
35 display:block;
36 text-decoration: none;
37 border-bottom:1px solid #ddd;
38 padding: 10px 10px 10px 10px;
39 }
40
41 .bt {
42 -webkit-border-radius: 5px;
43 -webkit-border-image: none;
44 display: block;
45 background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#666), to(#000));
46 padding: 6px;
47 border: 1px solid #000;
48 float: left;
49 color: #fff;
50 -webkit-box-shadow: rgba(255,255,255, .4) 0 1px 0;
51 text-decoration: none;
52 position: absolute;
53 top: 8px;
54 right: 10px;
55 font-size: 13px;
56 text-shadow: #000 0 -1px 0;
57 display: inline;
58 }
59 form p {
60 margin:5px;
61 }
62 h2{
63 background:#333;
64 text-align:center;
65 padding:3px;
66 color:#eee;
67 font-size:14px;
68 }
69 #detaPage p {
70 padding:10px;
71 }