:root{--maxWidth:1400px;}

.e2-service-color-facebook {
	visibility: hidden;
	margin-left: -29px;
}

.admin-links a.admin-menu-comments-count {
	color: #fff;
}

.e2-text p, .e2-text ul, .e2-text ol, .e2-text li, .e2-text blockquote, .e2-text-audio, .e2-text-calliope-formatted {
    max-width: 950px;
}

.e2-pages-prev-next {
	grid-template-columns: max-content max-content;
	border: none;
	padding: 0;
}

.remark {
	opacity: 0.75; 
	font-size: 75%;
	line-height: 19px;
	hyphens: auto;
	/* патч странного в Опере: переносы квардратами */
	-webkit-hyphenate-character: "-";
}

code {
	padding: 0.5em;
}

@media screen and (min-width: 1320px) and (max-width:3000px) {
	.remark {
		float: right;
		clear: right;
		width: 15%;
		position: relative; 
		left: 95px;
	}
}

tt {
	padding: .2em .4em;
	margin: 0;
	font-size: 85%;
	background-color: rgba(27,31,35,.05);
	border-radius: 3px;
}

@media (prefers-color-scheme: dark) {
	tt {
		background-color: rgba(110,118,129,0.4);
	}
}

h1.e2-smart-title {
	margin-bottom: 23px;
}

.e2-text-caption {
	font-size: 14px;
}

.e2-note-tags, .e2-note-comments-link {
	font-size: 15px;
}

.e2-text-caption {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#e2-blog-title {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 45px;
}

.e2-smart-title a, .e2-note h1, #e2-blog-description {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 30px;
	line-height: 1.2;
}

.e2-note-favourite h1, .e2-note-favourite h1 a {
	font-size: 40px;
}

.e2-text, #e2-blog-description {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 20px;
	line-height: 1.6;
}

.e2-text-table img {
	max-width: 100%;
	height: auto;
}

.e2-smart-title {
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

/* убираем щель, если ячейка всего одна */
.e2-text td:only-child {
	padding-right: 0;
}

.e2-text-code {
	max-width: 900px;
	background-color: #282c34;
	color: #fff;
}

.title h1 {
	font-size: 2.625em;
	line-height: 1;
	margin-bottom: .2em;
}

.header-description {
	max-width: 100%;
}

.title {
	max-width: 100%;
}

.e2-text-code {
	padding: 0;
	font-size: 14px !important;
}

.e2-comment-meta-area {
	width: calc(84% - 48px);
	font-weight: bold;
	float: left;
}

.e2-comment-userpic-area img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.e2-comment-content blockquote p {
	font-style: italic;
}

.e2-comment-userpic-area {
    background: var(--disabledColor);
    float: left;
    width: 40px;
    height: 40px;
    margin-top: 4px;
    border-radius: 50%;
    margin-right: 8px;
}

/*

Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax

base:    #282c34
mono-1:  #abb2bf
mono-2:  #818896
mono-3:  #5c6370
hue-1:   #56b6c2
hue-2:   #61aeee
hue-3:   #c678dd
hue-4:   #98c379
hue-5:   #e06c75
hue-5-2: #be5046
hue-6:   #d19a66
hue-6-2: #e6c07b

*/

.e2-text-code pre, .hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  color: #abb2bf;
  background: #282c34;
}

.hljs-comment,
.hljs-quote {
  color: #5c6370;
  font-style: italic;
}

.hljs-doctag,
.hljs-keyword,
.hljs-formula {
  color: #c678dd;
}

.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
  color: #e06c75;
}

.hljs-literal {
  color: #56b6c2;
}

.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
  color: #98c379;
}

.hljs-built_in,
.hljs-class .hljs-title {
  color: #e6c07b;
}

.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
  color: #d19a66;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
  color: #61aeee;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-link {
  text-decoration: underline;
}

