base.css
2.85 KB
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
input:focus,
textarea:focus{
outline: none;
}
.posts a:link, .posts a:visited{
color: #7594B3;
}
.posts a:hover{
color: #f78927;
}
.posts a{
text-decoration: none;
}
.postdetail{
padding: 20px 0;
margin-bottom: 50px;
border-bottom: 3px solid #ccc;
min-height:400px;
}
.postdetail li{
margin: 0.5em auto;
line-height: 26px;
}
.postdetail p{
line-height: 30px;
margin: 0.5em auto;
}
.postdetail img,
.mp4 video,
.mp4 object{
max-width: 100%;
height: auto;
}
.postdetail > table,
.posts > table{
width: 100%;
border-collapse: collapse;
empty-cells: show;
border: 1px solid #ddd;
}
.postdetail > table th,
.posts > table th{
font-size: 13px;
height: 30px;
line-height: 30px;
font-weight: bold;
text-align: center;
background: #EEEEEE;
position: relative;
}
.postdetail > table td,
.posts > table td{
text-align: center;
font-size: 12px;
color: #666;
line-height: 30px;
padding-left: 10px;
border: 1px solid #ddd;
}
.posts{
width: 96%;
max-width: 960px;
margin: 50px auto;
}
.posts > table th input{
position: absolute;
left: 2%;
top: 17%;
width: 100px;
}
.posts h3.title{
position: relative;
}
.posts h3.title small{
position: absolute;
right: 0;
bottom: 0;
font-weight: normal;
font-size: 14px;
}
.posts textarea{
resize:none;
}
.posts .field{
margin-bottom: 20px;
font-size: 14px;
}
.posts .field span{
margin-right: 10px;
}
.posts .field input{
width: 300px;
line-height: 21px;
padding: 2px 5px;
}
.posts .field select{
width: 100px;
}
.postdetail form .field{
margin: auto auto 20px auto;
}
.postdetail form .field label{
width: 70px;
display: inline-block;
vertical-align: middle;
overflow: hidden;
font-size: 14px;
padding: 0 20px 0 0;
}
.postdetail form .field input,
.postdetail form .field textarea{
width: 320px;
line-height: 20px;
border: 1px solid #2aad6f;
font-size: 12px;
padding: .5em .8em;
border-radius: 2px;
vertical-align: middle;
background: #ffffff;
}
.postdetail form .field input.captcha{
width: 160px;
}
.postdetail form .field input.submit{
width: 120px;
padding: 0 30px;
border: none;
color: #fff;
background-color: #2aad6f;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
line-height: 34px;
font-size: 14px;
cursor: pointer;
}
.postdetail form .field textarea{
height: 120px;
resize: none;
}
.pagination {
margin: 10px auto;
overflow: hidden;
padding: 10px 0;
}
.pagination li{
display: inline-block;
margin: auto 2px;
}
.pagination li.disabled a{
background-color: #cccccc;
}
.pagination li.active a{
border: 1px solid #398439;
color: #ffffff;
background-color: #00AA91;
}
.pagination a {
border: 1px solid #cccccc;
color: #666666;
height: 26px;
line-height: 26px;
display: inline-block;
padding: 0 10px;
}
.pagination li.disabled a:hover,
.pagination li.disabled a:active{
color: #666666;
}
.pagination a:hover,
.pagination a:active {
color: #990000;
}