Update github style

This commit is contained in:
Tom Willemse 2013-04-30 19:17:16 +02:00
parent 4a5b5a31a6
commit 5f173b0d5e
4 changed files with 169 additions and 167 deletions

View file

@ -1 +1 @@
*.css

View file

@ -2,6 +2,3 @@ SUBDIR=styles
objects=github.css help.css git-scm.css
include ../../dotfiles.mk
$(objects): %.css: %.less
lessc -x $^ > $@

View file

@ -0,0 +1,168 @@
@-moz-document url("https://github.com/"), url("https://github.com/dashboard") {
#dashboard .filter-bar {
background:#111111 !important;
border-bottom-color:#404040 !important;
}
#dashboard .filter-bar li a.filter_selected {
color:#404040 !important;
}
#dashboard .repos {
border-color:#404040 !important;
background-color:#111111 !important;
}
#dashboard .repos .bottom-bar {
background-color:#111111 !important;
}
#dashboard .repos .top-bar {
background:#111111 !important;
border-bottom-color:#404040 !important;
}
#dashboard .repos h2 {
color:inherit !important;
}
#dashboard ul.repo_list li.private {
background:#404040 !important;
}
#dashboard ul.repo_list li a {
border-width:0 !important;
}
#footer {
text-shadow:none !important;
}
.button, .minibutton {
background: #111111 !important;
color: #bfbfbf !important;
text-shadow: none !important;
border-color: #404040 !important;
}
.button.primary, .minibutton.primary {
background: #111111 !important;
color: #bfbfbf !important;
border-color: #404040 !important;
text-shadow: none;
}
.header {
background:#404040 !important;
color:#bfbfbf !important;
border-bottom-color:#111111 !important;
text-shadow:none !important;
}
.header .divider-vertical {
background:#111111 !important;
border-right-color:#404040 !important;
}
.header .top-nav a,.header .topsearch a#advanced_search,.header #user-links a {
color:#bfbfbf !important;
}
.markdown-body code,.markdown-body tt {
background-color:#404040 !important;
border-color:#111111 !important;
color:#bfbfbf !important;
font-family:"Inconsolata" !important;
}
.minibutton.dark-grey {
backgrond:#404040 !important;
}
.news .alert {
border-top-color:#404040 !important;
}
.news .alert .branch-link,
.news .alert .pull-info {
background:#404040 !important;
color:#bfbfbf !important;
}
.news .alert .gravatar {
background:none !important;
}
.news .alert .simple .title {
color:#bfbfbf !important;
}
.news .commits li img {
background:none !important;
}
.news blockquote {
color:#bfbfbf !important;
}
.pagehead .container>ul.tabs {
background:#111111 !important;
border:none !important;
}
.pagehead .container>ul.tabs li a {
text-shadow:none !important;
border:none !important;
}
.pagehead .container>ul.tabs li a:hover,.pagehead .container>ul.tabs li a.selected {
background:#404040 !important;
}
.pagehead-actions a.feed {
background:#404040 !important;
border:#111111 !important;
color:#bfa47d !important;
}
.pagination {
background:#404040 !important;
border-color:#111111 !important;
}
.pagination a {
text-shadow:none !important;
border-bottom-color:#404040 !important;
}
.pagination a:hover {
background:#111111 !important;
}
a {
color:#bfa47d !important;
}
a:visited {
color:#b27dbf !important;
}
a.header-logo-blacktocat,a.header-logo-blacktocat:visited {
color:#404040 !important;
}
body {
background-color:#111111 !important;
color:#bfbfbf !important;
}
input[type="text"] {
background-color: #404040 !important;
color: #bfbfbf !important
}
p.tip,
strong.protip {
color: #ededed !important;
}
}

View file

@ -1,163 +0,0 @@
@import "base";
@-moz-document url("https://github.com/"), url("https://github.com/dashboard") {
#dashboard {
.filter-bar {
background: @dblack !important;
border-bottom-color: @dwhite !important;
li a.filter_selected {
color: @dwhite !important;
}
}
.repos {
border-color: @dwhite !important;
background-color: @dblack !important;
.bottom-bar {
background-color: @dblack !important;
}
.top-bar {
background: @dblack !important;
border-bottom-color: @dwhite !important;
}
h2 {
color: inherit !important;
}
}
ul.repo_list li {
&.private {
background: @dwhite !important;
}
a {
border-width: 0 !important;
}
}
}
#footer {
text-shadow: none !important;
}
.button .minibutton {
background: @dblack !important;
}
.header {
background: @dwhite !important;
color: @lblack !important;
border-bottom-color: @dblack !important;
text-shadow: none !important;
.divider-vertical {
background: @dblack !important;
border-right-color: @dwhite !important;
}
.top-nav a,
.topsearch a#advanced_search,
#user-links a {
color: @lblack !important;
}
}
.markdown-body {
code, tt {
background-color: @dwhite !important;
border-color: @dblack !important;
color: @lblack !important;
font-family: @monospace-font !important;
}
}
.minibutton.dark-grey {
backgrond: @dwhite !important;
}
.news {
.alert {
border-top-color: @dwhite !important;
.branch-info,
.pull-info {
background: @dblack !important;
color: @lblack !important;
}
.gravatar {
background: none !important;
}
.simple .title {
color: @lblack !important;
}
}
.commits li img {
background: none !important;
}
blockquote {
color: @lblack !important;
}
}
.pagehead .container > ul.tabs {
background: @dblack !important;
border: none !important;
li a {
text-shadow: none !important;
border: none !important;
&:hover,
&.selected {
background: @dwhite !important;
}
}
}
.pagehead-actions a.feed {
background: @dwhite !important;
border: @dblack !important;
color: @lorange !important;
}
.pagination {
background: @dwhite !important;
border-color: @dblack !important;
a {
text-shadow: none !important;
border-bottom-color: @dwhite !important;
&:hover {
background: @dblack !important;
}
}
}
a {
color: @lorange !important;
&:visited {
color: @lmagenta !important;
}
&.header-logo-blacktocat {
&, &:visited {
color: @dwhite !important;
}
}
}
body {
background-color: @background !important;
color: @foreground !important;
}
}