Skip to content
Permalink
Browse files
index.html: inline CSS
Reviewed-by: rwestberg
  • Loading branch information
edvbld committed Apr 16, 2021
1 parent 47665ae commit 6e0772e9b35822f9e0862714e845c23478b36143
Showing with 161 additions and 183 deletions.
  1. +161 −1 index.html
  2. +0 −182 style.css
@@ -5,7 +5,167 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A diff viewer.">
<title>webrev</title>
<link rel="stylesheet" href="style.css" />
<style>
html, body {
height: 100%;
}

body {
background-color: #eeeeee;
}

span.line-old-header {
color: red;
font-size: large;
font-weight: bold;
}

span.line-new-header {
color: green;
font-size: large;
font-weight: bold;
}

span.line-added {
color: blue;
font-weight: bold;
}

span.line-modified {
color: blue;
}

span.line-removed {
color: brown;
}

span.udiff-line-added {
color: blue;
}

span.udiff-line-modified-added {
color: blue;
}

span.udiff-line-removed {
color: brown;
}

span.udiff-line-modified-removed {
color: brown;
}

span.file-modified {
font-weight: bold;
}

span.file-renamed {
font-style: italic;
}

span.file-added {
color: green;
font-weight: bold;
}

span.file-removed {
color: red;
font-weight: bold;
}

hr {
border: none 0;
border-top: 1px solid #aaa;
height: 1px;
}

table.navigation {
width: 100%;
border-top: 5px ridge buttonface;
border-bottom: 5px ridge buttonface;
align: center;
}

td.button {
padding-left: 5px;
padding-right: 5px;
background-color: #eee;
text-align: center;
border: 1px #444 outset;
cursor: pointer;
}

td.button a {
font-weight: bold;
color: black
}

td.button:hover {
background: #ffcc99;
}

div.summary {
font-size: .8em;
border-bottom: 1px solid #aaa;
padding-left: 1em;
padding-right: 1em;
}

h2.summary {
margin-bottom: 0.3em;
}

table.summary {
white-space: nowrap;
}

table.summary th {
vertical-align: top;
text-align: right;
}

span.stat {
font-size: .7em;
}

p.version {
font-size: small;
}

.frames-container {
display: flex;
flex-flow: column;
max-height: 100vh;
}

.frames-content {
display: flex;
flex-flow: row;
flex: 1;
overflow: hidden;
}

.frames-controls {
height: 70px;
width: 100%;
flex: none;
}

.frames-navigation {
height: 30px;
line-height: 30px;
width: 100%;
flex: none;
}

.frames-pane {
min-width: 1%;
width: 50%;
resize: horizontal;
overflow-x: scroll;
overflow-y: scroll;
}
</style>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="webrev.js" type="text/javascript"></script>
</head>
182 style.css

This file was deleted.

0 comments on commit 6e0772e

Please sign in to comment.