Skip to content

Commit

Permalink
style: table & image
Browse files Browse the repository at this point in the history
margin, text, background, white-space…
  • Loading branch information
MOxFIVE committed Sep 20, 2015
1 parent d9307e8 commit 457bde1
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion themes/Yilia/source/css/_partial/article.styl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ body {
}
img{
max-width: 100%;
margin: .5em auto;
}
}
@-webkit-keyframes cd-bounce-1 {
Expand Down Expand Up @@ -268,12 +269,19 @@ body {
}
table{
width:100%;
max-width: 65em;
border: 1px solid #dedede;
margin: 15px 0;
margin: 15px auto;
border-collapse:collapse;
tr,td{
height:35px;
}
th {
font-weight: bold;
text-align: center;
background: #efefef;
white-space: nowrap;
}
thead{
tr {
background: #f8f8f8;
Expand All @@ -288,6 +296,12 @@ body {
border: 1px solid #dedede;
padding: 0 10px;
}
tr:nth-child(2n) {
background: #f8f8f8;
}
td:nth-child(-n+3){

This comment has been minimized.

Copy link
@MOxFIVE

MOxFIVE Sep 20, 2015

Author Owner

-n+3: less than 3

white-space: nowrap;
}
}
figure{
table {
Expand Down

0 comments on commit 457bde1

Please sign in to comment.