1:root {
2 --bg: #efefef;
3 --bg-lighter: #fff;
4 --bg-darker: #e6e6e6;
5 --tt: #161616;
6 --tt-lighter: #565656;
7 --tt-lightest: #999;
8 --bdc: #f2f2f2;
9 --bdc-darker: #e3e3e3;
10 --bsh: 0 5px 10px #00000015;
11 --bsh-2: 0 10px 20px #00000005;
12 --gradient: linear-gradient(320deg,#000,#222,#686de0);
13 --accent: #686de0;
14 --accent-darker: #4834d4;
15 --ui-bg: #fff;
16 --ui-bg-darker: #f6f6f6;
17 --ui-bg-darkest: #f0f0f0;
18 --ui-bg-accent: #11222c;
19 --ui-tt-on-accent: #fff;
20 --ui-bdc: #e6e6e6;
21 --indent-negative: -30px;
22 --indent: 30px; /* основной отступ справа и слева */
23 --max-width: 1366px; /* максимальная ширина блока контента */
24}
25@media screen and (max-width: 1220px) {
26 :root {
27 --indent-negative: -20px;
28 --indent: 20px;
29 }
30}
31
32/* RESET, BASIC UI SETTINGS
33----------------------------------------------- */
34* {background: none; margin: 0; padding: 0; outline: none; border: 0; box-sizing: border-box;}
35ol, ul {list-style: none;}
36table {border-collapse: collapse; border-spacing: 0;}
37img, table, iframe, video, frame, embed, object {max-width: 100%;}
38body {font: 15px / 1.4 'Manrope', sans-serif; font-weight: 400; letter-spacing: 0.02em;
39 color: var(--tt); background-color: var(--bg); width: 100%; overflow-x: hidden; min-width: 360px}
40a {color: var(--tt); text-decoration: none;}
41a:hover, a:focus {color: var(--tt); text-decoration: none;}
42h1, h2, h3, h4, h5 {font-weight: 700; font-size: 24px;}
43::selection {background: #ff0000; color: #fff;}
44b, strong, .bolder {font-weight: 700;}
45
46button, select, textarea, input[type="text"], input[type="password"], input[type="button"], input[type="submit"]
47 {appearance: none;
-webkit-appearance: none; font-size: 16px; font-family: inherit;}
48button, .btn, input[type="button"], input[type="reset"], input[type="submit"], .form__btn,
49.qq-upload-button, .pm__links a, .usp__btn a {display: inline-flex; justify-content: center; align-items: center;
50 cursor: pointer; padding: 0 20px; height: 40px; white-space: nowrap;
51
font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
52 background-color: var(--accent); color:#fff; border-radius: 20px; box-shadow: none;}
53button:hover, .btn:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover,
54.form__btn:hover, .qq-upload-button:hover, .pm__links a:hover, .usp__btn a:hover
55{background-color: var(--accent-darker); color: #fff; border-color: var(--accent-darker);}
56button:active, input[type="button"]:active, input[type="submit"]:active {box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.1);}
57.color-btn, [class*=fr], [class*=plyr], [class*=owl-], [id*=mceu], [class*=tox-], .ui-dialog-titlebar-close {padding: 0; margin: 0;
58 line-height: normal; border: 0; box-shadow: none; background: none; border-radius: 0;}
59
60input[type="text"], input[type="password"] {height: 40px; line-height: 40px; border-radius: 3px; padding: 0 15px;}
61select {height: 40px; padding: 0 15px; display: block;
font-size: 15px;}
62select:not([multiple]) {background-image: url(../dleimages/chevron.svg); padding-right: 30px;
63 background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 12px auto;}
64select option {padding: 6px 10px;}
65select[multiple] option {padding: 3px 10px;}
66select[multiple] {padding: 9px 5px; border-radius: 3px;}
67textarea {padding: 15px; overflow: auto; vertical-align: top; resize: vertical;}
68input[type="text"], input[type="password"], select, textarea {width: 100%; background-color: #fff; color: #000;
69 box-shadow: inset 0 0 0 1px #e3e3e3, inset 1px 2px 5px rgba(0,0,0,0.1);}
70input[type="text"]:focus, input[type="password"]:focus, textarea:focus
71 {box-shadow: inset 0 0 0 1px var(--accent), inset 1px 2px 5px rgba(0,0,0,0.1);}
72input::placeholder, textarea::placeholder {color: #000; opacity: 0.4;
font-size: 14px;}
73input:focus::placeholder, textarea:focus::placeholder {color: transparent}
74
75
76/* SNIPPETS
77----------------------------------------------- */
78.img-wide, .img-responsive, .img-fit-cover {position: relative; overflow: hidden;}
79.img-responsive {padding-top: 60%;}
80.img-responsive > img, .img-fit-cover img {width: 100%; height: 100%; object-fit: scale-down;}
81.img-responsive > img {position: absolute; left: 0; top: 0;}
82.img-wide img, .img-wide > a, .expand-link {width: 100%; display: block;}
83.clr {clear: both;}
84.clearfix::after {content: ""; display: table; clear: both;}
85.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
86.line-clamp {display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical; overflow: hidden;}
87.vw100 {margin:0 calc((100% - 100vw)/2); padding:0 calc((100vw - 100%)/2);}
88.img-mask::before {content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 60%;
89 background: linear-gradient(to top, #000 0%, transparent 100%); opacity: 0.8;}
90.expand-link::before {content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0;}
91
92.d-flex, .fx-row {display: flex; flex-wrap: wrap; flex-direction: row;}
93.fd-column, .fx-col {flex-direction: column; flex-wrap: nowrap;}
94.jc-space-between, .fx-row {justify-content: space-between;}
95.jc-flex-start, .fx-start {justify-content: flex-start;}
96.jc-center, .fx-center {justify-content: center;}
97.jc-flex-end {justify-content: flex-end;}
98.ai-flex-start {align-items: flex-start;}
99.ai-center, .fx-middle {align-items: center;}
100.ai-flex-end {align-items: flex-end;}
101.order-first {order: -1;}
102.order-last {order: 10;}
103.flex-grow-1, .fx-1, .stretch-free-width {flex: 1 1 0; max-width: 100%; min-width: 50px;}
104.pi-center {display: inline-grid; place-items: center;}
105.icon-at-left [class*="fa-"] {margin-right: 0.8em;}
106.icon-at-right [class*="fa-"] {margin-left: 0.8em;}
107.hidden, #dofullsearch, .comment-item__main .quote + br, .d-none,
108#category option:empty, .ui-helper-hidden-accessible:empty, #related_news:empty,
109#result-registration:empty {display: none;}
110.anim, button, .btn, a, .popular img, .attent img, .top-item img, .nav__list-hidden
111{transition: color 0.3s, background-color 0.3s, opacity 0.3s, box-shadow 0.3s, transform 0.3s;}
112
113.d-grid, #dle-content {display: grid; grid-gap: 15px 15px; grid-auto-flow: row dense; grid-template-columns: repeat(auto-fill,minmax(275px,1fr));}
114.d-grid > *:not(.grid-item), #dle-content > *:not(.grid-item), #dle-content {grid-column: 1 / -1;}
115
116@font-face {font-family: 'Manrope'; src: url('../webfonts/manrope-400.woff2') format('woff2');
117 font-weight: 400; font-style: normal; font-display: swap;}
118@font-face {font-family: 'Manrope'; src: url('../webfonts/manrope-600.woff2') format('woff2');
119 font-weight: 600; font-style: normal; font-display: swap;}
120@font-face {font-family: 'Manrope'; src: url('../webfonts/manrope-700.woff2') format('woff2');
121 font-weight: 700; font-style: normal; font-display: swap;}
122
123@media screen and (min-width: 1220px) {
124 a.short__img:hover {opacity: 0.8;}
125 .popular:hover img, .attent:hover img, .top-item:hover img {transform: scale(1.1,1.1);}
126 .popular:hover .popular__title, .int:hover .int__title, .attent:hover .attent__title, .short__title a:hover,
127 .footer__text a:hover, .sect__sort a:hover, .speedbar a:hover {text-decoration: underline;}
128 .pagination__pages a:hover, .pagination__btn-loader a:hover, .page__tags a:hover
129 {background: var(--accent); color: #fff; border-color: var(--accent);}
130 .nav__list > li:hover > a, .nav__list-hidden a:hover, .side-nav > li:hover > a {color: var(--accent);}
131 .nav__list li:hover .nav__list-hidden, .side-nav li:hover .nav__list-hidden {visibility: visible; opacity: 1; transform: translateY(0);}
132}