* { font-family: monospace; line-height: 1.25; } *, ::after, ::before { box-sizing: border-box; } body { margin: 0 auto; max-width: 960px; } nav a { color: #777; text-decoration: none; } a { color: black; text-decoration: none; } a:hover { text-decoration: underline; } header { margin: 10px; } header h1 { color: #000; font-size: 2em; font-weight: bold; margin-bottom: 0px; } header p { color: #777; margin-top: 0px; } nav { margin-top: 2em; padding: 0px 1em; vertical-align: bottom; } nav a { padding: 2px 0.75em; font-size: 110%; } nav a.active { color: #000; background-color: #ccc; } main { padding: 2em; } pre { background: #e9ecef; padding: .25rem; display: block; font-size: 87.5%; color: #212529; margin: 0; overflow: auto; } table { width: 100%; } thead { font-weight: bold; } footer { margin-top: 0; text-align: center; font-size: 1em; color: #ccc; } .breadcrumb { background-color: #ccc; padding: 2px 1em; } /*** * * events (e.g. commit) * ***/ .event { text-overflow: ellipsis; overflow: hidden; padding: .5rem; margin: .5rem 0; background: #f8f9fa; } .event :last-child { margin-bottom: 0; } .event pre { padding-left: 0; padding-right: 0; background: 0 0; display: block; font-size: 87.5%; color: #212529; } .event .commit pre { text-overflow: ellipsis; overflow: none; } /*** * * code viewer (blob page) * ***/ .code { display: grid; grid-template-columns: auto auto auto 1fr; grid-template-rows: auto; background: #e9ecef; } .code .lines { grid-column-start: 1; grid-row-start: 1; text-align: right; padding-left: .5rem; padding-right: .5rem; padding-bottom: 1rem; background: #eee; border-right: 1px solid #444; z-index: 0; } .code .lines a.selected::before, .code .lines a:target::before { display: block; content: ""; width: calc(960px - 4em - 5px); z-index: -1; position: absolute; background: #b3d7ff; margin-left: -6px; } .code .highlight { grid-column-start: 2; grid-row-start: 1; padding-left: 1rem; padding-bottom: 1rem; background: 0 0; z-index: 0; } .insertion { color: #080; } .deletion { color: #800; } /*** * * overview page * ***/ td.sublevel-repo { padding-left: 1.5em; } td.reposection { color: #888; font-style: italic; } /*** * * times * ***/ span.age-mins { font-weight: bold; color: #080; } span.age-hours { color: #080; } span.age-days { color: #040; } span.age-weeks { color: #444; } span.age-months { color: #888; } span.age-years { color: #bbb; } /*** * * grid-system * ***/ .container { width: 100%; margin-left: -2%; margin-right: -2%; } .row { position: relative; width: 100%; } .row [class^="col"] { float: left; margin: 0 2%; min-height: 0.125rem; } .row::after { content: ""; display: table; clear: both; } .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { width: 96%; } @media only screen and (min-width: 45em) { /* 720px */ .col-1 { width: 4.33%; } .col-2 { width: 12.66%; } .col-3 { width: 21%; } .col-4 { width: 29.33%; } .col-5 { width: 37.66%; } .col-6 { width: 46%; } .col-7 { width: 54.33%; } .col-8 { width: 62.66%; } .col-9 { width: 71%; } .col-10 { width: 79.33%; } .col-11 { width: 87.66%; } .col-12 { width: 96%; } } /*** * * helper * ***/ .responsive { width: 100%; overflow: auto; } .right { float: right; }