Merge branch 'base' into develop

This commit is contained in:
Daniil Krymov
2023-01-02 22:34:47 +01:00
62 changed files with 864 additions and 459 deletions

View File

@ -27,13 +27,13 @@
font-weight: 700;
}
.logo a img {
display: inline;
vertical-align: middle;
pointer-events: none;
transform: translate(0, -10%);
border-radius: 6px;
margin-inline-end: 8px;
.logo a img, .logo a svg {
display: inline;
vertical-align: middle;
pointer-events: none;
transform: translate(0, -10%);
border-radius: 6px;
margin-inline-end: 8px;
}
#theme-toggle svg {

View File

@ -72,6 +72,8 @@
.post-content a,
.toc a:hover {
box-shadow: 0 1px 0;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
.post-content a code {
@ -153,11 +155,11 @@
border-radius: var(--radius);
}
.post-content .highlight:not(table),
.post-content pre {
.post-content .highlight:not(table) {
margin: 10px auto;
background: var(--hljs-bg) !important;
border-radius: var(--radius);
direction: ltr;
}
.post-content li > .highlight {
@ -189,10 +191,6 @@
margin-bottom: 0;
}
.post-content .highlighttable td .highlight pre code::-webkit-scrollbar {
display: none;
}
.post-content code {
margin: auto 4px;
padding: 4px 6px;
@ -207,8 +205,8 @@
margin: auto 0;
padding: 10px;
color: rgb(213, 213, 214);
background: 0 0;
border-radius: 0;
background: var(--hljs-bg) !important;
border-radius: var(--radius);
overflow-x: auto;
word-break: break-all;
}
@ -223,8 +221,7 @@
margin: 30px 0;
height: 2px;
background: var(--tertiary);
border-top: 0;
border-bottom: 0;
border: 0;
}
.post-content iframe {
@ -345,17 +342,6 @@
margin-inline-end: 12px;
}
.share-buttons a svg {
height: 30px;
width: 30px;
fill: currentColor;
transition: transform 0.1s;
}
.share-buttons svg:active {
transform: scale(0.96);
}
h1:hover .anchor,
h2:hover .anchor,
h3:hover .anchor,
@ -369,28 +355,6 @@ h6:hover .anchor {
user-select: none;
}
.post-content :not(table) ::-webkit-scrollbar-thumb {
border: 2px solid var(--hljs-bg);
background: rgb(113, 113, 117);
}
.post-content :not(table) ::-webkit-scrollbar-thumb:hover {
background: rgb(163, 163, 165);
}
.gist table::-webkit-scrollbar-thumb {
border: 2px solid rgb(255, 255, 255);
background: rgb(173, 173, 173);
}
.gist table::-webkit-scrollbar-thumb:hover {
background: rgb(112, 112, 112);
}
.post-content table::-webkit-scrollbar-thumb {
border-width: 2px;
}
.paginav {
margin: 10px 0;
display: flex;
@ -428,3 +392,12 @@ h6:hover .anchor {
[dir="rtl"] .paginav .next {
text-align: left;
}
h1>a>svg {
display: inline;
}
img.in-text {
display: inline;
margin: auto;
}

View File

@ -26,7 +26,6 @@
.profile img {
display: inline-table;
border-radius: 50%;
pointer-events: none;
}
.buttons {