-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
144 lines (129 loc) · 6.26 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/* vim: set et sw=4 ts=4 sts=4 fdm=marker ff=unix fenc=utf8: */
/*
@font-face {
font-family: 'wqy-microhei';
src: url('./wqy-microhei.ttc');
}
*/
/* css reset {{{ */
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin: 0; padding: 0; } body, button, input, select, textarea { font: 12px/1.5 tahoma, arial, Helvetica, "wqy", "微软雅黑", "Hiragino Sans GB", \5b8b\4f53, sans-serif; } h1, h2, h3, h4, h5, h6 { font-size: 100%; } address, cite, dfn, em, var { font-style: normal; } code, kbd, pre, samp { font-family: monaco, 'courier new', 'bitstream vera sans mono', courier, monospace; } small { font-size: 12px; } ul, ol { list-style: none; } a { text-decoration: none; } a:hover { text-decoration: underline; } fieldset, img { border: 0; } img { vertical-align: middle; } button, input, select, textarea { font-size: 100%; } table { border-collapse: collapse; border-spacing: 0; }
/* }}} css reset */
body {background:#fff; min-width:360px; color:#666; padding:8em 2em 1em 1em; overflow-x:hidden;}
a {color:#c46;}
a:hover {text-decoration:none; color:#6c4;}
:focus {outline: 0 none;}
input[type=text]:focus, input[type=password]:focus, input.text:focus, select:focus, textarea:focus {
-webkit-box-shadow: 0 0 5px #c46;
}
textarea, input[type=text], input[type=password], input.text { padding: 2px; }
header {position:fixed; top:0;left:0;width:100%; z-index:100;
background: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.35, rgba(255,255,255, .9)),
color-stop(0.2, rgba(255,255,255, .5))
);
-webkit-box-shadow:0 2px 5px #ccc;
}
h1 {text-align:center; font-size:2em; line-height:2em; letter-spacing:3pt; vertical-align:middle;}
h1:after {content:''; color:#ccc; font-size:16px; letter-spacing:0;}
#J_nav {text-align:center; background:#333;}
#J_nav a {color:#ccc; font-size:2em; line-height:1em; margin:0 5px; padding:0 5px; vertical-align:middle;
text-shadow:0 1px 2px #000;
}
#J_nav a:hover {color:#6c4; font-size:1em; line-height:2em;}
#J_nav .active {color:#c46; font-size:2em;}
#global_msg {color:#f1f1f1; text-align:center;
text-shadow:0 1px 1px #666;
}
#global_msg.error {color:#c46;}
#global_msg.ok {color:#6c4;}
ul {margin-bottom:1em;}
.msg-list li {padding-left:60px; margin-top:1em; position:relative; /*font: "wqy-microhei";*/}
.msg-list li:after {content: '\0020'; display: block; height: 0; clear: both;}
.msg-list li .auth {text-align:center;margin-right:1em; font-size:10px; position:absolute; left:0; top:0;}
.msg-list li img {display:block; margin-bottom:.2em;
-webkit-border-radius:10px;
-webkit-box-shadow:0 0 7px rgba(0,0,0, .8), 0 0 2px #333;
}
.msg-list li .auth:after {content:''; display:block; height:42px; width:48px; position:absolute; top:-10px; left:0;
-webkit-border-radius:12px;
-webkit-border-top-left-radius:10px;
-webkit-border-top-right-radius:10px;
background: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.35, rgba(255,255,255, .4)),
color-stop(0.2, rgba(255,255,255, .15))
);
}
.msg-list .auth .former {display:block; margin-top:9px; color:#fff;
text-shadow:1px 0 #000, 0 0 3px #333;
-webkit-border-radius: 10px;
background:rgba(0,0,0, .2);
}
.auth .former:hover {color:#6c4; text-shadow:1px 1px #ddd;}
.auth .former:hover:before {color:#e8f6ff; text-shadow:1px -1px 1px #b6dbfe, -1px -1px 1px #b6dbfe; top:47px;}
.auth .former:hover {background:#e8f6ff;border:1px solid #b6dbfe;}
.auth .former:before {content:'▲'; color:rgba(0,0,0, .2); position:absolute; top:46px; left:34px; margin-left:-15px; text-shadow:none;}
.msg-list li .msg {word-break:break-all; padding:10px 10px 20px; overflow:hidden; min-height:4em; text-shadow:1px 1px #ddd; border:1px solid #b6dbfe;
-webkit-border-radius: 10px;
background: -webkit-gradient(
linear,
left top,
left bottom,
from(#e8f6ff),
to(#f0f9ff)
);
}
.msg-list li .msg:after {content:'◄'; color:#e8f6ff; position:absolute; top:10px; left:66px; margin-left:-15px; text-shadow:-1px 1px 1px #b6dbfe, -1px -1px 1px #b6dbfe;}
.msg-list .unread .msg {
border:1px solid #fca8a8;
background: -webkit-gradient(
linear,
left top,
left bottom,
from(#fee3e3),
to(#feeeee)
);
}
.msg-list .unread .msg:after {color:#fee3e3; text-shadow:-1px 1px 1px #fca8a8, -1px -1px 1px #fca8a8;}
.msg-list .unread .meta {border-top-color:#fdd3d3;color:#aaa;}
/*
.msg-list li .msg:after {content:''; display:block; height:50%; width:100%; position:absolute; top:0; right:1px;
-webkit-border-radius:12px;
-webkit-border-top-left-radius:10px;
-webkit-border-top-right-radius:10px;
}
*/
.msg-list li .msg:even { background:rgba(200, 100, 0, .8); }
.msg-list li .meta {color:#ccc; text-align:right;font-size:10px; margin:-16px 1em 0; border-top:1px solid #d7ecff;}
.msg-list li .reply-to {margin-right:.5em;}
.msg-list li .act {display:none;}
.msg-list li .act a {margin:0 .5em;}
.msg-list li:hover .reply-to,
.msg-list li:hover .time {display:none;}
.msg-list li:hover .act {display:inline;}
.pop-mask {width:100%; height:100%; background:rgba(255,255,255, .8); position:fixed; top:0; left:0;}
.pop-mask .close {position:fixed;top:10em;right:15%;width:12px;height:12px;line-height:10px;text-align:center;font-size:10px;border:2px solid #c46;background:#000;color:#fff;z-index:99;
-webkit-border-radius:10px;}
.status-update {background:rgba(0,0,0,.8); position:fixed; left:50%; top:9em; width:24em; margin-left: -12em; text-align:center; padding-bottom:1em;
-webkit-box-shadow:0 0 10px rgba(0,0,0,.5);
-webkit-border-radius:10px;
}
.status-update .fun {color:#eee; padding:5px 0; border-bottom:1px solid #444;}
.status-update textarea {width:90%;height:6em; margin:5px auto;
-webkit-border-radius:5px;
}
.status-update .act a {cursor:pointer;}
.login-setting button span,
.status-update .act span {font-size:14px; padding:0 1em;}
.hidden {display:none;}
.s-msg {font-size:2em; text-align:center; border-bottom:0 none; margin-bottom: 4em;}
.newbie {color:#c93;}
.error {color:#39c;}
.login-setting {margin:2em auto;}
.login-setting p {margin:.5em;}
.login-setting input {width:16em;height:2em; line-height:2em; vertical-align:middle;}