templates/static/style-sjl.css @ 4b3cb867d109

Style updates
author Steve Losh <steve@stevelosh.com>
date Fri, 17 Jan 2020 12:13:11 -0500
parents f402fd0f036b
children bf4162b781be
html {
    overflow-y: scroll;
}
body {
  margin: 0;
  padding: 0;
  background: white;
  color: black;
  font-family: sans-serif;
  font-size: 14px;
}
.main {
    width: 840px;
    margin: 24px auto 200px;
}
a {
    color: #e50053;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Headers */
h1 {
    font-size: 18px;
}
h2 {
    font-size: 14px;
    margin-bottom: 6px;
}
h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

/* Menu */
.menu ul {
    list-style-type: none;
    margin: 0 0 24px;
    padding: 0px;
}
.menu ul li {
    display: inline-block;
    margin-right: 20px;
}

/* Search form */
form.search {
    text-align:right;
    display: block;
    width: 200px;
    float: right;
}
form.search input {
    padding: 0;
}

/* Tables */
table.smalltable {
    margin: 12px 0px;
    line-height: 28px;
    border-collapse: collapse;
}
table.bigtable {
    width: 100%;
    margin: 12px 0px;
    line-height: 21px;
    border-collapse: collapse;
}

.branchhead {
    color: #333;
    font-weight: bold;
    border: 1px solid #ccc;
    background: #f8f8f8;
    padding: 1px 3px;
    border-radius: 4px;
}

.tag {
    color: #333;
    border: 1px solid #ccc;
    background: #f8f8f8;
    padding: 1px 3px;
    border-radius: 4px;
}

th {
    text-align: left;
}

/* Log */
td.repo-name {
    width: 150px;
}
td.age {
    width: 140px;
}
table.shortlog td.author {
    width: 110px;
}
td.commit-description {
    font-family: monospace;
}
td.commit-description a {
    color: black;
}
td.commit-description a:hover {
    color: #e50053;
}
td.commit-hash {
    width: 120px;
    font-family: monospace;
}
td.branch-name {
    min-width: 100px;
}
td.branch-hash {
    width: 110px;
    font-family: monospace;
}
td.tag-hash {
    font-family: monospace;
}
td.tag-name {
    min-width: 100px;
}

div.navigate a {
    display: inline-block;
}

.scroll-loading-info {
    font-style: italic;
    background-color: #fafafa;
    font-size: 14px;
}

/* Browse */
table.browse {
    line-height: 24px;
}
.commit-hash {
    font-family: monospace;
}
.path {
    font-family: monospace;
}
tr.fileline {
    font-family: monospace;
    border-bottom: 1px solid #eee;
}
tr.fileline a {
    color: black;
}
tr.fileline a:hover {
    color: #e50053;
}
.size {
    /* padding-left: 24px; */
    text-align: right;
}

/* README */
.readme pre {
    white-space: nowrap;
}

/* Commit */
pre.commit-full-description {
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 10px 5px;
    background: #fafafa;
}
div.commit-nav {
    margin: 12px 0px 24px;
}
table.commit-contents {
    width: 100%;
    line-height: 18px;
}
table.commit-contents tr th.files {
    padding-top: 12px;
    vertical-align: top;
}
table.commit-contents tr td.files {
    padding: 12px 0;
}
table.commit-contents tr th {
    width: 100px;
    text-align: right;
    padding-right: 10px;
}
table.commit-contents tr td {
    width: auto;
}
table.commit-contents td.files a {
    font-family: monospace;
    display: block;
}
table.commit-contents td.diffstat-file {
    font-family: monospace;
}

.sourcelines {
    overflow-x: auto;
    margin: 12px 0px 24px;
    border: 1px solid #ccc;
    padding: 10px 0px;
    border-radius: 3px;
    counter-reset: lineno;
    position: relative;
    font-size: 14px;
    line-height: 18px;
}

.sourcelines > span {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  padding: 1px 0px 1px 4.5em;
  counter-increment: lineno;
}

.sourcelines > span:before {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-block;
  margin-left: -6em;
  width: 4em;
  font-size: 12px;
  line-height: 18px;
  color: #999;
  text-align: right;
  content: counters(lineno, ".");
  float: left;
  font-weight: normal !important;
}

.sourcelines > span:target, tr:target td {
  background-color: #bfdfff;
}

.sourcelines > a {
    display: inline-block;
    position: absolute;
    left: 0px;
    width: 4em;
    height: 1em;
}

span.minusline {
    color: #9b0000;
    background-color: #fff5f5;
}
span.plusline {
    color: green;
    background-color: #efe;
}
span.atline {
    font-weight: bold;
    background: #ccc;
}

.page-commit .sourcelines span:nth-of-type(1) {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

/* Graph */
div#wrapper {
	position: relative;
	/* border-top: 1px solid black; */
	/* border-bottom: 1px solid black; */
	margin: 24px 0;
	padding: 0;
}

canvas {
	position: absolute;
	z-index: 5;
	top: -0.7em;
	margin: 0;
}

ul#graphnodes {
	list-style: none inside none;
	padding: 0;
	margin: 0;
}

ul#graphnodes li {
	height: 39px;
	overflow: visible;
}
ul#graphnodes li .desc {
    font-family: monospace;
}
ul#graphnodes li .fg {
	position: absolute;
	z-index: 10;
}
ul#graphnodes li .info {
	font-size: 70%;
        font-style: italic
}