templates/static/style-sjl.css @ 55ad249befd2

Fix code styles in READMEs, *again*
author Steve Losh <steve@stevelosh.com>
date Sat, 18 Jan 2020 14:13:06 -0500
parents 1c50123e0524
children (none)
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;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: black; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: #e50053; }

/* Menu */
.breadcrumb {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 4px;
    color: #666;
}
.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;
    padding-right: 10px;
}
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;
}

.readme-content {
    line-height: 20px;
}
.readme-content code {
    border: 1px solid #ffddfa;
    border-radius: 2px;
    background-color: #fff9fb;
    padding: 0px 3px;
}
.readme-content pre {
    border: 1px solid #ffddfa;
    border-left: 8px solid #ffddfa;
    border-radius: 2px;
    background-color: #fffcfe;
    margin-left: 24px;
    padding: 10px 10px;
}
.readme-content pre code {
    border: none;
    padding: 0;
    background: none;
}

.readme-content h1 a { color: black; }
.readme-content h1 a:hover { color: #e50053; }

.readme-content h1 { font-size: 28px; line-height: 1.4; }
.readme-content h2 { font-size: 23px; line-height: 1.4; }
.readme-content h3 { font-size: 19px; line-height: 1.4; }
.readme-content h4 { font-size: 16px; line-height: 1.4; }
.readme-content h5 { font-size: 14px; line-height: 1.4; }
.readme-content h6 { font-size: 14px; line-height: 1.4; }

/* 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
}