Commit 21765ff4 authored by Phil Hughes's avatar Phil Hughes

blog post typography

parent 1c37bd44
Pipeline #2128214 passed with stage
......@@ -15,7 +15,7 @@ $(function() {
$hireUs = $('#hire-us'),
$tabs = $('#tabs'),
$imageLink = $('.image-link'),
$blogTables = $('.blog-entry table');
$tables = $('table');
$("input").not("[type=submit]").jqBootstrapValidation();
......@@ -61,8 +61,8 @@ $(function() {
});
}
if ($blogTables.length) {
$blogTables.each(function () {
if ($tables.length) {
$tables.each(function () {
var $table = $(this);
$(this).wrap('<div class="table-responsive"></div>');
......
......@@ -33,6 +33,7 @@ pre {
margin-right: auto;
margin-left: auto;
max-width: 760px;
font-size: 16px;
word-wrap: break-word;
.author {
......@@ -41,7 +42,6 @@ pre {
a {
font-weight: 600;
font-size: 16px;
line-height: normal;
}
}
......@@ -55,11 +55,6 @@ pre {
padding-bottom: 10px;
}
a {
font-size: 18px;
line-height: 2.9rem;
}
.panel-heading {
a {
font-size: inherit;
......@@ -67,7 +62,6 @@ pre {
}
li {
font-size: 18px;
color: $blog-text-color;
line-height: 2.9rem;
padding-bottom: 4px;
......@@ -119,10 +113,9 @@ pre {
}
p {
font-size: 18px;
color: $blog-text-color;
line-height: 2.9rem;
margin: 0 0 24px;
line-height: 1.5;
margin: 0 0 20px;
}
.table-responsive {
......
......@@ -180,7 +180,7 @@ table {
border: 1px solid $table-border-color;
// Tighten up spacing
> .table {
> table {
margin-bottom: 0;
// Ensure the content doesn't wrap
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment