Skip to content

Commit

Permalink
Merge pull request #10 from pbanaszkiewicz/fix-table-styles
Browse files Browse the repository at this point in the history
Fix: styles for tables in SQL lessons
  • Loading branch information
Raniere Silva committed Feb 25, 2015
2 parents e8360ae + 7e4bc12 commit 843999c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions css/swc.css
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,33 @@ section.content {
font-size: 40pt;
}

table {
margin-bottom: 15px;
}

table th, table td {
padding: 5px 10px;
}

table > thead > .header {
background: transparent;
}

table > thead > tr > td, table > thead > tr > th,
table > tbody > tr > td, table > tbody > tr > th,
table > tfoot > tr > td, table > tfoot > tr > th {
border: 1px solid #DDD;
}

table > thead > tr > th,
table > thead > tr > td {
border-bottom-width: 2px;
}

table tbody > tr:nth-of-type(2n+1) {
background-color: #F9F9F9;
}

#header-text {
font-size:20pt;
margin:0;
Expand Down

0 comments on commit 843999c

Please sign in to comment.