Permalink
Browse files

style: table & image

margin, text, background, white-space…
  • Loading branch information...
MOxFIVE committed Sep 20, 2015
1 parent d9307e8 commit 457bde1070f16e05ba0d15a2ec2571421895691f
Showing with 15 additions and 1 deletion.
  1. +15 −1 themes/Yilia/source/css/_partial/article.styl
@@ -22,6 +22,7 @@ body {
}
img{
max-width: 100%;
margin: .5em auto;
}
}
@-webkit-keyframes cd-bounce-1 {
@@ -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;
@@ -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.

Show comment
Hide comment
@MOxFIVE

MOxFIVE Sep 20, 2015

Owner

-n+3: less than 3

@MOxFIVE

MOxFIVE Sep 20, 2015

Owner

-n+3: less than 3

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

0 comments on commit 457bde1

Please sign in to comment.