/* * * Diff to HTML (diff2html.css) * Author: rtfpessoa * Date: Friday 29 August 2014 * Last Update: Friday 6 September 2014 * */ body { text-align: center; } #d2h-wrapper { display: inline-block; text-align: left; width: 920px; } .d2h-file-wrapper { border: 1px solid #ddd; border-radius: 3px; margin-bottom: 1em; } .d2h-file-header { padding: 5px 10px; border-bottom: 1px solid #d8d8d8; background-color: #f7f7f7; } .d2h-file-stats { display: inline-block; font-family: monospace, monospace; font-size: 12px; } .d2h-lines-added { background-color: #ceffce; border: 1px solid #b4e2b4; color: #399839; border-radius: 5px 0 0 5px; padding: 5px; } .d2h-lines-deleted { background-color: #f7c8c8; border: 1px solid #e9aeae; color: #c33; border-radius: 0 5px 5px 0; padding: 5px; } .d2h-file-name { display: inline-block; font: 13px Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; height: 33px; line-height: 33px; } .d2h-file-diff { overflow: auto; } .d2h-file-diff > div { width: 100%; } .d2h-code-wrapper { overflow-x: auto; overflow-y: hidden; } .d2h-diff-table { border-collapse: collapse; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; height: 18px; line-height: 18px; } .d2h-code-line { overflow: scroll; white-space: pre; padding-left: 10px; padding-right: 10px; } .d2h-code-line del { display: inline-block; margin-top: -1px; text-decoration: none; background-color: #ffb6ba; font-weight: 700; } .d2h-code-line ins { display: inline-block; margin-top: -1px; text-decoration: none; background-color: #97f295; font-weight: 700; } .d2h-code-linenumber { width: 1%; min-width: 25px; padding-left: 10px; padding-right: 10px; color: rgba(0, 0, 0, 0.3); text-align: right; border: solid #eeeeee; border-width: 0 1px 0 0; cursor: pointer; } .d2h-delete { vertical-align: middle; background-color: #f7c8c8; border-color: #e9aeae; } .d2h-insert { vertical-align: middle; background-color: #ceffce; border-color: #b4e2b4; } .d2h-info { background-color: #f8fafd; vertical-align: middle; color: rgba(0, 0, 0, 0.3); border-color: #d5e4f2; }