This commit is contained in:
Unknwon 2014-12-10 07:00:11 -05:00
parent 9ee80e3e54
commit 01ba771783
2 changed files with 48 additions and 46 deletions

View file

@ -340,6 +340,30 @@ img.avatar-100 {
padding: 5px 15px; padding: 5px 15px;
color: #777; color: #777;
} }
.markdown table {
width: 100%;
overflow: auto;
word-break: normal;
margin: 15px 0;
border-collapse: collapse;
border-spacing: 0;
display: block;
}
.markdown table th {
font-weight: 700;
}
.markdown table th,
.markdown table td {
border: 1px solid #DDD;
padding: 6px 13px !important;
}
.markdown table tr {
background-color: #FFF;
border-top: 1px solid #CCC;
}
.markdown table tr:nth-child(2n) {
background-color: #F8F8F8;
}
.markdown a { .markdown a {
color: #428BCA; color: #428BCA;
} }
@ -376,29 +400,6 @@ img.avatar-100 {
.markdown h4 { .markdown h4 {
font-size: 18px; font-size: 18px;
} }
.markdown table {
border-collapse: collapse;
border-spacing: 0;
display: block;
overflow: auto;
width: 100%;
margin: 0 0 9px;
}
.markdown table th {
font-weight: 700;
}
.markdown table th,
.markdown table td {
border: 1px solid #DDD;
padding: 6px 13px;
}
.markdown table tr {
background-color: #FFF;
border-top: 1px solid #CCC;
}
.markdown table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown dl dt { .markdown dl dt {
font-style: italic; font-style: italic;
margin-top: 9px; margin-top: 9px;

View file

@ -59,6 +59,30 @@
color: #777; color: #777;
} }
} }
table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
margin: 15px 0;
border-collapse: collapse;
border-spacing: 0;
display: block;
th {
font-weight: 700;
}
th, td {
border: 1px solid #DDD;
padding: 6px 13px !important;
}
tr {
background-color: #FFF;
border-top: 1px solid #CCC;
&:nth-child(2n) {
background-color: #F8F8F8;
}
}
}
} }
.markdown a { .markdown a {
color: #428BCA; color: #428BCA;
@ -96,29 +120,6 @@
.markdown h4 { .markdown h4 {
font-size: 18px font-size: 18px
} }
.markdown table {
border-collapse: collapse;
border-spacing: 0;
display: block;
overflow: auto;
width: 100%;
margin: 0 0 9px;
}
.markdown table th {
font-weight: 700
}
.markdown table th,
.markdown table td {
border: 1px solid #DDD;
padding: 6px 13px;
}
.markdown table tr {
background-color: #FFF;
border-top: 1px solid #CCC;
}
.markdown table tr:nth-child(2n) {
background-color: #F8F8F8
}
.markdown dl dt { .markdown dl dt {
font-style: italic; font-style: italic;
margin-top: 9px; margin-top: 9px;