Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

small display fix for tables in learning articles #167

Merged
merged 3 commits into from
Mar 25, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
40 changes: 39 additions & 1 deletion source/base/static/base/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,47 @@ article .article-block {
overflow: hidden;
}

h1, h2, h3, h5, h6, ul, ol, .caption, label {
h1, h2, h3, h5, h6, ul, ol, .caption, label, table {
font-family: 'Open Sans', Helvetica, sans-serif;
font-weight: 400;
text-align: left;
color: #2e2e2d;
}

table {
font-size: 15px;
max-width: 100%;
border-collapse: collapse;
border-spacing: 0;
background-color: transparent;
width: 100%;
margin-bottom: 18px;
}

table th,
table td {
padding: 8px;
line-height: 18px;
text-align: left;
vertical-align: top;
border-top: 1px solid #dddddd;
}

table thead th {
font-weight: bold;
vertical-align: bottom;
}

table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
border-top: 0;
}

tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
background-color: #f9f9f9;
}

h1, h2 {
font-weight: 300;
text-transform: uppercase;
Expand Down Expand Up @@ -1109,6 +1143,10 @@ a.promo p {
line-height: 1.8em;
}

article table {
font-size: 12px;
}

p.tagline {
font-size: 1em;
margin-bottom: 0;
Expand Down