Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 657b38a

Browse files
committed
CSS - Fixes and improvements
1 parent 530d92a commit 657b38a

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

css/style.css

+12-18
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ a:hover {
7171

7272
a.active {
7373
background-color: var(--HeadingColor);
74+
border-radius: 3px;
7475
}
7576

7677
.LinkIndexPage:first-child {
@@ -428,12 +429,12 @@ ul {
428429

429430
.logo {
430431
float: left;
431-
width:10.5em;
432-
min-width:10.5em;
433-
margin-top:-25px;
434-
margin-bottom: 20px;
432+
width:6.5em;
433+
min-width:6.5em;
434+
margin-top:-27px;
435+
margin-bottom: 0;
435436
padding-right: 0.5em;
436-
margin-left:-20px;
437+
margin-left:0;
437438
}
438439

439440
.logo a {
@@ -513,7 +514,7 @@ div.articleRight ul{
513514
display: none;
514515
position: fixed;
515516
bottom: 5px;
516-
right: 50%;
517+
right: calc(50% - 25px);
517518
z-index: 99;
518519
border: none;
519520
outline: none;
@@ -583,16 +584,6 @@ span.user {
583584
margin-right: 8px;
584585
}
585586

586-
.contentsPanel ul li {
587-
}
588-
589-
.contentsPanel ul {
590-
padding: 0 0 5px 5px;
591-
}
592-
593-
.contentsPanel ul li ul{
594-
}
595-
596587
.contentsPanel ul li ul li {
597588
padding: 0 0 0 25px;
598589
}
@@ -771,10 +762,13 @@ a.screenshot {
771762
pre > code.sourceCode { white-space: pre; position: relative; border:0px;}
772763
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
773764
pre > code.sourceCode > span:empty { height: 1.2em; }
774-
.sourceCode { overflow: visible; }
765+
.sourceCode { overflow: auto; }
775766
code.sourceCode > span { color: inherit; text-decoration: inherit; }
776767
div.sourceCode { margin: 1em 0; }
777-
pre.sourceCode { margin: 0;}
768+
pre.sourceCode { margin: 0; padding: 0.1em 0.1em 0.3em 0.5em;}
769+
pre > code.sourceCode a {
770+
display: none;
771+
}
778772
@media screen {
779773
div.sourceCode { overflow: auto; }
780774
}

0 commit comments

Comments
 (0)