Update style
This commit is contained in:
parent
e0f7998a37
commit
ff83381d59
1 changed files with 29 additions and 3 deletions
32
style.css
32
style.css
|
@ -6,6 +6,10 @@ body {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
scrollbar-color: #444 #00000000;
|
||||
}
|
||||
|
||||
.layout {
|
||||
display: flex;
|
||||
}
|
||||
|
@ -17,6 +21,28 @@ body {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
/* Scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
}
|
||||
::-webkit-scrollbar:horizontal {
|
||||
height: 5px;
|
||||
}
|
||||
/* Track */
|
||||
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner {
|
||||
background: #00000000;
|
||||
}
|
||||
/* Handle */
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #444;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* Handle on hover */
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #555;
|
||||
}
|
||||
|
||||
/* Layouts */
|
||||
div.centered {
|
||||
text-align: center;
|
||||
|
@ -187,7 +213,7 @@ li.navbar-entry-current a {
|
|||
outline: 1px dotted #000;
|
||||
}
|
||||
|
||||
#navbar summary:after {
|
||||
#navbar summary:before {
|
||||
content: "+";
|
||||
color: #55ffb4;
|
||||
float: left;
|
||||
|
@ -195,7 +221,7 @@ li.navbar-entry-current a {
|
|||
width: 1em;
|
||||
}
|
||||
|
||||
#navbar details[open] > summary {
|
||||
#navbar details[open] > summary:before {
|
||||
content: "–";
|
||||
}
|
||||
|
||||
|
@ -268,7 +294,7 @@ div.code-block-content {
|
|||
max-height: 38em;
|
||||
margin-bottom: 0.2em;
|
||||
|
||||
overflow: scroll;
|
||||
overflow: auto;
|
||||
|
||||
background-color: #0f141a;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue