Skip to content

Commit d53f1c9

Browse files
committed
add style for table
1 parent 2058ed9 commit d53f1c9

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

style.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,54 @@ ul li ul a {
153153
width: 748px;
154154
margin: 40px auto;
155155
}
156+
}
157+
158+
159+
table {
160+
margin-bottom: 10px
161+
}
162+
163+
thead {
164+
font-size: 120%;
165+
font-weight: 1000;
166+
cursor: pointer;
167+
background: #c9dff0
168+
}
169+
170+
thead tr th {
171+
text-align: center;
172+
font-weight: bold;
173+
padding: 12px 30px;
174+
padding-left: 42px
175+
}
176+
177+
thead tr th span {
178+
padding-right: 20px;
179+
background-repeat: no-repeat;
180+
background-position: 100% 100%
181+
}
182+
183+
tbody tr td {
184+
padding: 15px 10px
185+
}
186+
187+
tbody tr td.lalign {
188+
text-align: left
189+
}
190+
191+
tbody tr:nth-child(even) {
192+
background: #fff
193+
}
194+
195+
tbody tr:nth-child(odd) {
196+
background: #eee
197+
}
198+
199+
td,th {
200+
border-left: 1px solid #cbcbcb;
201+
border-width: 0 0 0 1px;
202+
font-size: inherit;
203+
margin: 0;
204+
overflow: visible;
205+
padding: .5em 1em
156206
}

0 commit comments

Comments
 (0)