/* Should be moved out to the MobileApp extension at some point */
body {
    background-color: #FAFAFA;
    padding: 8px 24px;
    color: #333;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 24px;
}

a {
    color: #347BFF;
    text-decoration: none;
}

h1 {
    font-family: serif;
    color: #064AAD;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 24px;
    font-weight: bold;
}

h2, h3, h4, h5, h6 {
    font-family: serif;
}

/* Should be moved out to the MobileApp extension at some point */
body {
    background-color: #FAFAFA;
    padding: 8px 24px;
    color: #333;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 24px;
}

a {
    color: #347BFF;
    text-decoration: none;
}

/* Headers */
h1 {
    font-family: serif;
    color: #064AAD;
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 24px;
    font-weight: bold;
}

h2, h3, h4, h5, h6 {
    font-family: serif;
}

/* Basic Thumbnails */
.thumb {
    /* Don't stick thumbnails to the text above and below it */
    margin: 8px 0px;
    /* Align everything inside a thumbnail to be centered */
    text-align: center;
}

.thumb .thumbinner {
    /* Make sure that thumb takes up full width */
    width: 100% !important;
}

.thumb .magnify {
    display: none; /* Our parser is STUPID */
}

.thumb .noresize {
    overflow-x: auto; /* Scrollbars for images that shouldn't be squished */
}

/* Makes sure that we don't have horizontal scrollbars for the entire page because
   an image is too wide to fit in to the current viewport */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* Basic tables */
table {
    width: 100% !important;
    overflow-x: auto;
    display: block;
    border: 1px solid #ccc;
}

Add minimal styling for tables and thumbnails
Add minimal styling for tables and thumbnails

This prevents the entire webview from scrolling horizontally
if there is a table or image that is too wide.

Change-Id: Iaf22ea3e49a72a07b1531ffb4a994d5f1e3afc65
