Lucas Stadler лет назад: 8
Родитель
Сommit
1a38d70850
1 измененных файлов с 9 добавлено и 7 удалено
  1. 9 7
      quit.go

+ 9 - 7
quit.go

484
	</head>
484
	</head>
485
485
486
	<body>
486
	<body>
487
		<div id="container">
488
487
		<section id="repo" class="repo-info">
489
		<section id="repo" class="repo-info">
488
			<a id="commits" class="repo-stat" href="#"><span class="icon">⏲</span><span class="count">{{ .Repo.CommitCount }}</span> commits</a>
490
			<a id="commits" class="repo-stat" href="#"><span class="icon">⏲</span><span class="count">{{ .Repo.CommitCount }}</span> commits</a>
489
			<a id="branches" class="repo-stat" href="#"><span class="icon">⛗</span><span class="count">{{ len .Repo.Branches }}</span> branches</a>
491
			<a id="branches" class="repo-stat" href="#"><span class="icon">⛗</span><span class="count">{{ len .Repo.Branches }}</span> branches</a>
531
			</div>
533
			</div>
532
		</section>
534
		</section>
533
		{{ end }}
535
		{{ end }}
536
537
		</div>
534
	</body>
538
	</body>
535
</html>
539
</html>
536
`))
540
`))
544
  font-family: Arial, sans-serif;
548
  font-family: Arial, sans-serif;
545
}
549
}
546
550
551
#container {
552
	width: 70vw;
553
	margin: 0 auto;
554
}
555
547
#repo {
556
#repo {
548
	display: flex;
557
	display: flex;
549
	justify-content: center;
558
	justify-content: center;
550
	width: 70vw;
551
	border: 1px solid #ddd;
559
	border: 1px solid #ddd;
552
	border-radius: 3px;
560
	border-radius: 3px;
553
	padding: 0.75em;
561
	padding: 0.75em;
583
591
584
#language-bar {
592
#language-bar {
585
  display: flex;
593
  display: flex;
586
  width: 70vw;
587
  height: 0.5em;
594
  height: 0.5em;
588
  margin: -1em 0 1em;
595
  margin: -1em 0 1em;
589
}
596
}
593
  justify-content: space-between;
600
  justify-content: space-between;
594
  align-items: baseline;
601
  align-items: baseline;
595
  padding: 0.6em 0.5em;
602
  padding: 0.6em 0.5em;
596
  width: 70vw;
597
  background-color: hsla(300, 70%, 80%, 0.2);
603
  background-color: hsla(300, 70%, 80%, 0.2);
598
  border: 1px solid rgba(200, 0, 255, 0.15);
604
  border: 1px solid rgba(200, 0, 255, 0.15);
599
  border-radius: 3px;
605
  border-radius: 3px;
644
  content: "/";
650
  content: "/";
645
}
651
}
646
652
647
#file {
648
  width: 70vw;
649
}
650
651
#file .file-name {
653
#file .file-name {
652
  font-size: 90%;
654
  font-size: 90%;
653
  padding: 0.5em;
655
  padding: 0.5em;