Skip to content

Commit

Permalink
Added basic support for html tables
Browse files Browse the repository at this point in the history
  • Loading branch information
roryg committed Jan 21, 2014
1 parent 97964fc commit d635aae
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
14 changes: 14 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ pre {
margin: 0 0 40px;
padding: 15px 20px; }

table {
margin-bottom: 40px;
width: 100%; }
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
background-color: #f7f7f3; }
table th {
padding: 0 10px 10px;
text-align: left; }
table td {
padding: 10px; }
table tr {
border-bottom: 1px dotted #AEADAD; }

::selection {
background: #FFF5B8;
color: #000;
Expand Down
Binary file not shown.
19 changes: 19 additions & 0 deletions assets/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,25 @@ pre {
padding: 15px 20px;
}

table {
margin-bottom:40px;
width: 100%;

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

th {
padding: 0 10px 10px;
text-align: left;
}

td { padding: 10px; }

tr { border-bottom: 1px dotted #AEADAD; }
}

::selection {
background: #FFF5B8;
color: #000;
Expand Down
3 changes: 2 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Ghostwriter Version 1.4.0
- Added a simple navigation menu
- Added font awesome for icons
- Added support for featured posts
- Added basic support for html tables
- Removed image icons
- Replaced the browse posts button with a Browse Posts text link in
the new navigation menu. This should make finding the posts list
Expand All @@ -13,7 +14,7 @@ Ghostwriter Version 1.4.0
- Set up assets to load with the new asset helper

fitvid.js
add support for tables
tweak responsiveness

------------------------------
Ghostwriter Version 1.3.0
Expand Down

0 comments on commit d635aae

Please sign in to comment.