Fix all css w3c warnings + add custom scrollbars

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-12-08 16:20:19 +03:00
parent da0f23bc81
commit f3ccd00297
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C

View file

@ -254,12 +254,18 @@ blockquote, h4, h5, h6 {
font: 1.2em"JetBrains Mono", monospace font: 1.2em"JetBrains Mono", monospace
} }
.pagination {
padding: 10px 0;
}
.pagination a { .pagination a {
color: #b58900; color: #b58900;
margin: 10px 10px;
} }
.pagination span { .pagination span {
color:#839496; color:#0d3c47;
margin: 10px;
} }
article h1, article h2 { article h1, article h2 {
@ -292,7 +298,7 @@ article h6 {
article img { article img {
display: block; display: block;
width: 100%; width: 100%;
max-width: inherit max-width: inherit;
border-radius: 5px; border-radius: 5px;
} }
@ -337,7 +343,6 @@ img.center {
#toc { #toc {
background-color: #073642; background-color: #073642;
border-radius: 6px; border-radius: 6px;
border: 0 0 0 30px;
width: auto; width: auto;
padding: 10px 0px 10px 30px; padding: 10px 0px 10px 30px;
margin-bottom: 10px; margin-bottom: 10px;
@ -393,8 +398,30 @@ article h1 a.anchor {
color: #b58900 color: #b58900
} }
#footer, h1 a:hover { #footer {
border-color: #002a35 border-color: transparent;
}
/* width */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: transparent;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #83949688;
border-radius: 5px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #839496;
} }