summaryrefslogblamecommitdiffstats
path: root/custom.css.in
blob: 51569781030632a3153015fc00eb26f967d9b229 (plain) (tree)
1
2
3
4
5
6

                       

                                    

                    


























                                                       
 






















                                                                                                


                                     
/*** Default theme ***/

m4_include(/usr/share/cgit/cgit.css)

/*** Libravatar ***/

div#cgit span.libravatar img.onhover {
	display: none;
	border: 1px solid gray;
	padding: 0px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	width: 128px;
	height: 128px;
}

div#cgit span.libravatar img.inline {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	width: 13px;
	height: 13px;
	margin-right: 0.2em;
}

div#cgit span.libravatar:hover > img.onhover {
	display: block;
	position: absolute;
	margin-left: 1.5em;
	background-color: #eeeeee;
	box-shadow: 2px 2px 7px rgba(100,100,100,0.75);
}

/*** ReST ***/

div#summary h1 a.toc-backref, div#summary h2 a.toc-backref, div#summary h3 a.toc-backref,
div#summary h4 a.toc-backref, div#summary h5 a.toc-backref, div#summary h6 a.toc-backref {
	color: #000 !important;
}

div#summary div.sidebar { background-color: #f8f8f8 !important }
div#summary pre.code, div#summary code { background-color: #f8f8f8 !important }
div#summary pre.code .comment, div#summary code .comment { color: #888 !important }
div#summary pre.code .keyword, div#summary code .keyword { color: #080 !important }
div#summary pre.code .literal.string, div#summary code .literal.string {
	color: #d20 !important; background-color: #fff0f0 !important }
div#summary pre.code .name.builtin, div#summary code .name.builtin { color: #00d !important }
div#summary pre.code .deleted, div#summary code .deleted { background-color: #fdd !important }
div#summary pre.code .inserted, div#summary code .inserted { background-color: #dfd !important }

/*** Syntax highlighting ***/

.highlight .no, .highlight .nb, .highlight .bp { color: #00d !important }

/*** Dark theme ***/

@media (prefers-color-scheme: dark) {
m4_include(dark.css)
}