@import url('https://nest.pijul.com/static/fonts/ubuntu.css');
@import url('https://nest.pijul.com/static/fonts/ubuntumono.css');

* {
    box-sizing: border-box;
}

body, html {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    color: #333;
    padding: 0;
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    line-height: 18px;
    min-width: 830px;
    position: absolute;
    top: 0;
    width: 100%;
    min-width: 870px;
}

body {
    flex: 1;
}

table {
    font-size: 14px;
}

div.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(/static/bg.jpg) no-repeat center center fixed #000;
    background-size: cover;
}

h1 {
    line-height: 35px;
}

h1 input {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em;
}

h1, h2, h3 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
}

.help h1, .help h2, .help h3 {
    margin: 1.5em 0;
}

.help h3 {
    font-size: 1em;
}

.help p, .help pre, .help h3 {
    margin-left: 1.5em;
}


div.home {
    padding-bottom: 5em;
    display: flex;
    flex-direction: line;
    color: white;
}

div.home-intro {
    width:400px;
    font-size:20px;
    line-height:30px;
    color: #ddd;
}
.home-intro strong {
    color: #eee;
}

.home h1 {
    color: white;
    font-size: 1cm;
}
.home h2 {
    color: white;
    font-size: 1.2cm;
}
.home h3 {
    color: white;
    font-size: 0.8cm;
}

.header form {
    display: inline;
}

.comment .head form {
    display: inline;
}


div.header {
    width: 100%;
    background: black;
    padding: 1em 0.5em;
    color: white;
    min-width: 830px;
    position: relative;
}


div.header-helper {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    height: 20px;
    width: 100%;
}
div.header-left {
    flex-grow: 1;
}
div.header-right {
}
a.header-home {
    font-family: 'Ubuntu', sans-serif;
    vertical-align:center;
    font-weight:bold;
}

div.oauth-button, div.oauth-button:visited {
    font-size: 14px;
    border: solid 1px #ddd;
    background-color: #fff;
    border-radius: 3px;
    padding:5px 0;
    box-sizing: border-box;
    color: #5a78b8;
    margin: 0 5px;
    padding: 5px;
    align-items: flex-start;
    text-align:center;
    text-indent: 0px;
    display:inline-block;
}

#signup button{
    float:left;
    padding:12px;
    margin-left:90px;
}

#oauth
{
    display:block;
    color:white;
    position:relative;
    list-style:none;
    float: left;
    padding:0;
    margin-top: 10px;
}

div.oauth-button:hover
{
    background-color:#ddd;
}


#oauth ul
{
    list-style:none;
    display:none;
    position:absolute;
    top:100%;
    left:5px;
    background:#fff;
    padding:0;
    z-index: 1;
    margin:0;
    border-radius:3px;
    box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.2);
}

#oauth ul li
{
    float:none;
    width:150px
}

#oauth ul button
{
    text-decoration:none;
    display: block;
    width:140px;
    margin:5px;
}

#oauth div:hover > ul
{
    display:block
}









.header a {
    color: white;
}
.header a:hover {
    color: white;
}
.header a:visited {
    color: white;
}


div.danger-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #ff5126 no-repeat center center fixed;
    flex: 0 auto;
}

a {
    color: #5a78b8;
    text-decoration: none;
}

a:visited {
    color: #5a78b8;
    text-decoration: none;
}

a:hover {
    color: #5a78b8;
    text-decoration: underline;
}

.dangerdiv {
    margin-top: 50vh;
    transform: translateY(-100%);
    text-align: center;
    margin-left:auto;
    margin-right:auto;
}

hr {
    border-top: 1px solid #ddd;
    border-bottom: none;
}

.wrapper {
    max-width: 980px;
    margin-left:auto;
    margin-right:auto;
    padding: 0 2em;
    width: 100%;
}

.wrapper-header {
    max-width: 980px;
    min-width: 800px;
    margin-left:auto;
    margin-right:auto;
    padding: 0 2em;
    width: 100%;
}

div.wrapper {
    flex: 1 1 auto;
}

div.wrapper-fixed {
    max-width: 980px;
    min-width: 830px;
    margin-left:auto;
    margin-right:auto;
    padding: 0 2em;
    width: 100%;
    flex-grow: 0;
    position: relative;
}

form {
    margin:0;
}
input.header-input {
    width:150px;
}
.header button, input {
    background-color: #fff;
    margin: 0 3px;
}

button {
    font-size: 14px;
    border: solid 1px #ddd;
    background-color: #fff;
    border-radius: 3px;
    padding:5px;
    box-sizing: border-box;
    color: #5a78b8;
    margin: 5px;
}

button.nobutton, button.nobutton:hover {
    border: none;
    background-color: transparent;
    color: #fff;
}

a.button, a.button:visited {
    font-size: 14px;
    border: solid 1px #ddd;
    background-color: #fff;
    border-radius: 3px;
    padding:5px;
    box-sizing: border-box;
    color: #5a78b8;
    margin: 5px;
}


input {
    border: 1px solid #ddd;
    color: #333;
    padding: 3px;
    border-radius: 3px;
    box-sizing: border-box;
}


button:hover {
    background-color: #ddd;
}

button:active {
    background-color: #ccc;
}




.commentbody {
    margin:1em 0 1em 0;
    overflow-wrap: break-word;
}

.commentbody-patch {
    margin:3em 0 3em 0;
    overflow-wrap: break-word;
}

.commentbody .commentuser {
    float:left;
}

.commentbody-patch .commentuser {
    float:left;
}

.commentuser img {
    width: 30px;
    height: 30px;
}

.comment-patch {
    margin-left:80px;
    position:relative;
    color:#333;
    background:#fff;
}

.comment {
    margin-left:60px;
    border-radius:3px;
    position:relative;
    border: solid 1px #ddd;
    color:#333;
    background:#fff;
}

.comment .head {
    color: #444;
    width: 100%;
    display: block;
    background-color: #eee;
    border-top-left-radius:4px;
    border-top-right-radius:4px;
    border-bottom: solid 1px #ddd;
}

.comment img {
    max-width:100%;
}

.comment .head .contents {
    padding: 10px 15px;
}

.comment .head .contents button {
    margin: -5px 10px;
}

.comment .head .contents .author a {
    color: #555;
    text-decoration: none;
    font-weight:500;
}

.comment .head .contents .author a:hover {
    border-bottom: 1px #555 solid;
}

.comment code {
    padding: 3px;
}

.repository-readme pre {
    white-space: pre-wrap;
}

.comment pre code {
    background: none;
}

.comment pre {
    padding:1em;
}

textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    line-height: 20px;
}

.comment .body {
    border-radius:4px;
    padding: 15px;
}

div.button {
    margin-top: 10px;
    width:100%;
    text-align: right;
}

.issue h1 {
    color: #333;
}

.issue {
    color: #333;
    text-decoration: none;
}

.profile table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

div.profile {
    width: 600px;
        margin-left:auto;
    margin-right:auto;

}

.profile td {
    font-size: 14px;
    padding:5px 0;
}
td.profile-repositories-button {
    text-align: right;
}
.profileheader img {
    width: 100px;
    height: 100px;
    float: left;
}
.profileheader p {
    margin-left:2em;
}
div.profileheader {
    float: left;
    display: flex;
    align-items:center;
    width: 100%;
    margin: 1em 0;
    padding: 1em 0;
    border-bottom: 1px solid #ddd;
}


td.inputname {
    font-size: 14px;
    text-align: right;
    width: 180px;
    padding-right:10px;
}

td.top {
    vertical-align: top;
}


.profile input[type=text] {
    width: 100%;
}

td.key {
    overflow: auto;
    word-break: break-all;
}
span.key {
    font-family: 'Ubuntu Mono', monospace;
}
span.invalid-key {
    font-family: 'Ubuntu Mono', monospace;
    color: red;
    overflow: auto;
    word-break: break-all;
}
p.invalid-key {
    text-align:right;
}


textarea.sshkey {
    height: 62px;
    font-family: 'Ubuntu Mono', monospace;
    overflow: auto;
    word-break: break-all;
    padding: 2px;
}

div.keydelete {
    margin-top:10px;
}

button.yes, button.no {
    border-radius:3px;
    margin:20px;
}

button.yes {
    background:#ffd026;
    color: #000;
}
button.yes:hover {
    background:#ffd026;
}

button.no {
    background:#268aff;
    color: #fff;
}

table.file {
    border: 1px solid #ddd;
    border-radius: 3px;
    line-height: 1.8em;
    width: 100%;
    border-spacing: 0;
}

.file td {
    border-bottom: 1px solid #ddd;
}
.file tr:last-child td {
    border-bottom: none;
}

.file td:first-child {
    padding-left: 1em;
}
.file td:last-child {
    padding-right: 1em;
}

.file td {
    white-space: nowrap;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.file td.icon {
    width: 16px;
    padding-right: 10px;
}


.nopatchmessage {
    font-style: italic;
}

.change_addition::before {
    content: "+ ";
    color: #060;
}

.change_addition_deleted::before {
    content: "+ ";
    color: #060;
}

.change_deletion::before {
    content: "- ";
    color: #600;
}

div.line_number {
    float:left;
    padding:5px;
}

.hljs {
    font-family: 'Ubuntu Mono', monospace;
}

.change_addition {
    background: #eaffea;
    color: black;
    padding: 3px 0;
}

.change_addition_deleted {
    background: repeating-linear-gradient(
        45deg,
        #eaffea,
        #eaffea 10px,
        #fff 10px,
        #fff 20px
    );
    color: #ccc;
    padding: 3px 0;
}

.change_deletion {
    background: #ffecec;
    color: black;
    padding: 3px 0;
}

.change_context {
    color: black;
    padding: 3px 0;
}

pre.change_up_context {
    background: #f8f8f8;
}

pre.change_down_context {
    background: #f8f8f8;
}

div.change {
    margin: 1em 0 2em 0;
    padding: 1em 0;
}

.change_context::before {
    content: "  ";
}

.change_newfile {
    background: #eaeaff;
    color:black;
    padding: 5px;
    margin: 2em 0;
}

.change_filemove {
    background: #eaeaff;
    color:black;
    padding:5px;
    margin: 2em 0;
}

.change_filedel {
    background: #eaeaff;
    color:black;
    padding:5px;
    margin: 2em 0;
}

div.patch-file-names {
    margin-bottom: 1em;
}

.patches img {
    height:30px;
}
.patches td {
    padding: 0.5em;
    vertical-align: top;
}
.dependencies li {
    margin:0 0;
}

div.dependencies {
    margin-top: 1em;
}

nav.repository {
    width:100%;
    border-bottom: 1px solid #ddd;
    z-index: -1;
}

nav.repository ul {
    margin-bottom: 0;
    padding-left: 0;
}

nav.repository li {
    display: inline-block;
    padding: 10px 1em;
    margin-bottom:0;
    z-index: -1;
    color: #5a78b8;
}

nav.repository li.selected {
    border-top: 2px solid #5a78b8;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 2px solid #fff;
    margin-bottom: -3px;
    background: white;
    box-shadow: 2px 3px 2px 1px rgba(0, 0, 0, 0.1);
}
div.repository {
    position: relative;
    background: white;
    margin: 0;
    overflow-x: auto;
    padding: 10px;
}
div.description {
    position: relative;
    background: white;
    margin: 0;
    overflow-x: auto;
    padding: 20px 10px 10px 10px;
    font-size: 18px;
}

form.signup {
    display:inline;
}

form.clone {
    display:inline;
    float:right;
}

a.repo-admin {
    display:inline;
    float:right;
    font-size: 1.5em;
}

form.fork {
    display:inline;
}
form.select-branch {
    display:inline;
}

div.repository_header {
    margin: 2em 0 2em 0;
}


div.issues {
    margin-top: 1em;
    margin-bottom: 2em;
}
.issues h1 {
    display:inline;
}
.issues form {
    float:right;
    display:inline;
}

form.reset {
    text-align:center;
}
.reset table {
    margin: 2em auto 0 auto;
}

.patch-authors {
    font-style: italic;
}

.patch-authors img {
    width: 30px;
    height: 30px;
}

.patch-time {
}

.patch-hash {
    font-family: 'Ubuntu Mono', monospace;
    color: #888;
}


.patch-short-hash {
    display: inline;
    font-family: 'Ubuntu Mono', monospace;
    white-space: nowrap;
    overflow: auto;
    color: #aaa;
}


div.help {
    width: 100%;
    flex-direction: row;
    display: flex;
    margin-bottom: 10px;
}

div.help-menu-wrapper {
    width: 200px;
    background: white;
    box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

div.help-menu {
    padding: 50px 0 50px 10px;
    margin-top: 20px;
    flex-shrink: 1;
}

div.help-contents {
    padding: 50px;
}

.help-contents pre {
    white-space: pre-wrap;
    word-break: break-all;
}

.help-menu nav {
    width:100%;
}

.help-menu nav ul {
    margin-bottom: 0;
    padding-left: 0;
    border-left: 1px solid black;
}

.help-menu nav li {
    display: inline-block;
    padding: 10px 1em;
}


div.home-signup {
    color: #ddd;
    line-height: 0.8cm;
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 10em;
    padding: 1em 0;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius:5px;
    border: 2px solid #5a78b8;
    box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.2);
}

.home-signup h3 {
    color: #000;
    font-size:24px;
}


.home-signup button {
    margin-top: 10px;
}

div.home-text {
    background: white;
    flex: 1 1 auto;
    padding: 0 5em;
    position: relative;
}
.home-text h1 {
    clear:both;
}
.home-text p {
    font-size: 18px;
    line-height: 28px;
}
div.home-icons {
    padding: 1em 0;
    clear:both;
}

div.file {
    padding: 1em 1em;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
}

pre.code {
    flex-grow: 1;
}

pre.line-numbers {
    flex-shrink: 1;
    overflow: visible;
}
.line-numbers code {
    padding-right: 1em;
}

div.footer {
    font-size: 14px;
    text-align: center;
    color: #888;
    padding: 1.5em 3em;
    border-top: 1px #ddd solid;
    max-width: 980px;
    margin: 0 auto;
    flex: 0 auto;
}

div.footer-container {
    width: 100%;
    background: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 2em;
    position: relative;
}

div.tag {
    display: inline-block;
    border: solid 1px #ddd;
    border-radius: 5px;
    padding: 2px 5px;
    margin: 5px;
}

div.tag-Open {
    color: red;
}

div.tag-pullrequest {
    color: darkblue;
}

div.tag-Closed {
    color: green;
}

.footer div {
    margin: 0 1em;
    display: inline-block;
}

p.markdown-help {
    text-align: right;
    font-size: 0.8em;
}

div.readme {
    padding: 0;
    line-height: 1.5em;
    border: 1px solid #ddd;
    margin-top: 2em;
}

div.readme-header {
    background-color: #f8f8f8;
    padding: 0.5em 1em;
    border-bottom: 1px solid #ddd;
}

div.readme-body {
    padding: 2em 3em;
}


blockquote {
    border-left: 5px solid #eee;
    padding: 1px 0 1px 10px;
    margin: 10px 0;
}

table.add-patches {
    margin: 2em 0;
}

img.profile-picture {
    object-fit:cover;
    width:150px;
    height:150px;
    border-radius: 50%;
}

img.profile-picture-small {
    object-fit:cover;
    width:40px;
    height:40px;
    border-radius: 50%;
}

img.profile-picture-tiny {
    object-fit:cover;
    width:20px;
    height:20px;
    border-radius: 50%;
    vertical-align: middle;
}

a.touched-patch {
    color: #888;
    max-width: 400px;
}

td.touched-patch {
    color: #888;
    max-width: 400px;
}

div.latest-patch {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0.5em;
    margin: 1em 0;
    background-color: #f8f8f8;
    display: table;
    width: 100%;
}

div.latest-patch-author {
    width: 200px;
    float: left;
}

div.latest-patch-name {
    float:left;
}

.latest-patch .profile-picture-tiny {
    margin-right:0.5em;
}
.latest-patch .touched-patch {
    margin-left: 2em;
}

div.latest-patch-name {
    color: #888;
    max-width:350px;
    float:left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.author {
    color: #555;
    text-decoration: none;
    font-weight:500;
}

div.member-since {
    color: #888;
}

span.blinking {

}
span.blinking {
    font-weight: bold;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0; }
}

.patch-count {
    padding: 0 0.2em 0 0.6em;
    display: inline-block;
}

.patch-count i {
    color: #777;
}

div.path {
    margin-top: 10px;
}
div.raw {
    display: inline-block;
    float: right;
}

.patch-descr p {
    display: inline-block;
    margin: 0;
}
