styles.scss 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. // Main SASS file
  2. // Import all partial files
  3. @import 'base/reset';
  4. @import 'base/fonts';
  5. @import 'base/mixins';
  6. @import 'base/variables';
  7. @import 'base/typography';
  8. @import 'layout/header';
  9. @import 'layout/footer';
  10. @import 'components/buttons';
  11. @import 'components/tables';
  12. @import 'components/author';
  13. @import 'components/faq';
  14. @import 'components/toc';
  15. body{
  16. padding-top:70px;
  17. background-color: var(--body-bg-color);
  18. color: var(--text-color);
  19. font-style: normal;
  20. font-weight: 400;
  21. line-height: 24px; /* 150% */
  22. &.menu-open {
  23. overflow: hidden;
  24. }
  25. }
  26. // Container
  27. .container {
  28. max-width: var(--container-width);
  29. width: 100%;
  30. height: 100%;
  31. margin: 0 auto;
  32. padding-left: 16px !important;
  33. padding-right:16px !important;
  34. }
  35. //banner
  36. .banner{
  37. background:#000;
  38. display:flex;
  39. align-items: center;
  40. justify-content: center;
  41. &__img-wrp{
  42. max-width:1920px;
  43. max-height:540px;
  44. overflow: hidden;
  45. margin:0 auto;
  46. }
  47. &__img{
  48. display:block;
  49. width:100%;
  50. height:100%;
  51. object-fit: cover;
  52. }
  53. }
  54. .section-wrapper{
  55. padding:32px 0;
  56. display:flex;
  57. flex-direction: column;
  58. gap:32px;
  59. width:100%;
  60. @include mobile{
  61. gap:24px;
  62. padding:24px 0;
  63. }
  64. }
  65. .section{
  66. padding:32px;
  67. border-radius: 16px;
  68. border: 1px solid var(--content-border-color);
  69. background: var(--content-bg-color);
  70. @include mobile{
  71. padding:24px;
  72. }
  73. }
  74. // Links
  75. a {
  76. color: var(--link-color);
  77. text-decoration: none;
  78. transition: color 0.3s ease;
  79. &:hover {
  80. opacity: 0.8;
  81. }
  82. }
  83. // Tables
  84. table {
  85. background: var(--table-bg-color);
  86. color: var(--text-color);
  87. }
  88. th,
  89. thead,
  90. table thead tr {
  91. background-color: var(--table-header-color);
  92. color: var(--text-color);
  93. }
  94. caption {
  95. background: var(--table-header-color);
  96. color: var(--text-color);
  97. }
  98. .game-item{
  99. border-radius: var(--border-radius-main);
  100. overflow:hidden;
  101. position:relative;
  102. //padding:0 12px 0 12px;
  103. padding-top:52%;
  104. box-shadow: 0px 2px 44px 0px rgba(188, 188, 188, 0.15);
  105. background:#fff;
  106. @include mobile{
  107. padding-top:60%;
  108. border-radius:12px;
  109. box-shadow: 0px 1.4px 30.803px 0px rgba(188, 188, 188, 0.15);
  110. }
  111. &__inner{
  112. position:absolute;
  113. top:0;
  114. left:0;
  115. width:100%;
  116. overflow:hidden;
  117. height:calc(100% - 45px); // 45px - height title
  118. @include mobile{
  119. height:calc(100% - 40px);
  120. }
  121. &:hover{
  122. .game-item__hover{
  123. opacity:1;
  124. visibility: visible;
  125. }
  126. }
  127. }
  128. &__title{
  129. color: rgba(2, 0, 5, 0.80);
  130. text-align: center;
  131. font-size: 16px;
  132. font-style: normal;
  133. font-weight: 400;
  134. line-height: 1.1em;
  135. width:100%;
  136. height:45px;
  137. display:flex;
  138. align-items: center;
  139. justify-content: center;
  140. background:#fff;
  141. position:relative;
  142. padding:0 12px;
  143. @include tablet{
  144. font-size:14px;
  145. }
  146. @include mobile{
  147. font-size:12px;
  148. height:40px;
  149. }
  150. }
  151. &__link{
  152. display:inline-flex;
  153. align-items: center;
  154. gap:8px;
  155. text-decoration: none !important;
  156. color: rgba(2, 0, 5, 0.80) !important;
  157. @include mobile{
  158. gap:4px;
  159. }
  160. &:before{
  161. content:'';
  162. display:block;
  163. width:100%;
  164. height:100%;
  165. position:absolute;
  166. top:0;
  167. left:0;
  168. }
  169. &:hover{
  170. color:var(--color-theme-red) !important;
  171. .icon{
  172. fill:url('#icon-gradient-red');
  173. }
  174. }
  175. .icon{
  176. width:20px;
  177. height:20px;
  178. flex-shrink: 0;
  179. fill:#0076CC;
  180. @include mobile{
  181. width:12px;
  182. height:12px;
  183. }
  184. }
  185. }
  186. &__link-text{
  187. display:inline-flex;
  188. align-items: center;
  189. }
  190. &__link-icon{
  191. width:20px;
  192. height:20px;
  193. display:flex;
  194. align-items: center;
  195. justify-content: center;
  196. fill:#0076CC;
  197. }
  198. &__picture{
  199. position:absolute;
  200. top:0;
  201. left:0;
  202. bottom:0;
  203. right:0;
  204. }
  205. &__image{
  206. display:block;
  207. width:100%;
  208. height:100%;
  209. object-fit: cover;
  210. transition: 0.3s ease-out;
  211. }
  212. &__tags{
  213. position:absolute;
  214. top:0;
  215. left:12px;
  216. display:flex;
  217. }
  218. &__tagsItm{
  219. margin-right:8px;
  220. border-radius: 0px 0px 8px 8px;
  221. background: linear-gradient(90deg, #2D2BA7 0%, #BA73D1 100%);
  222. text-transform: uppercase;
  223. overflow:hidden;
  224. @include mobile{
  225. border-radius: 0px 0px 5px 5px;
  226. }
  227. &--hot{
  228. background: #F5294D;
  229. }
  230. }
  231. &__tagsLink{
  232. display:block;
  233. color:#fff;
  234. padding:8px 16px;
  235. color:#fff;
  236. font-size: 12px;
  237. font-weight: 900;
  238. line-height: 1em;
  239. @include mobile{
  240. padding:3px 11px;
  241. font-size:9px;
  242. }
  243. }
  244. &__info{
  245. position:absolute;
  246. top:8px;
  247. right:8px;
  248. display:flex;
  249. align-items: center;
  250. justify-content: end;
  251. }
  252. &__provide{
  253. width:32px;
  254. height:32px;
  255. border-radius:50%;
  256. background:#000;
  257. display:flex;
  258. justify-content: center;
  259. align-items: center;
  260. //padding:8px;
  261. padding:2px;
  262. margin-right:8px;
  263. @include mobile{
  264. width:24px;
  265. height:24px;
  266. margin-right:5px;
  267. }
  268. .icon{
  269. fill:#fff;
  270. }
  271. }
  272. &__rating{
  273. width: 36px;
  274. height: 36px;
  275. position:relative;
  276. @include mobile{
  277. width: 28px;
  278. height: 28px;
  279. }
  280. }
  281. &__ratingVal{
  282. font-size: 12px;
  283. @include mobile{
  284. font-size:10px;
  285. }
  286. }
  287. &__rtp{
  288. padding:4px 8px;
  289. background: linear-gradient(var(--gradient-theme-red));
  290. border-radius:8px;
  291. font-size: 12px;
  292. font-style: normal;
  293. font-weight: 600;
  294. color:#fff;
  295. line-height:1em;
  296. height:24px;
  297. display:flex;
  298. align-items: center;
  299. position:absolute;
  300. bottom:8px;
  301. right:8px;
  302. }
  303. &__countPlay{
  304. color:#fff;
  305. font-size:12px;
  306. padding:4px 8px;
  307. font-size: 12px;
  308. line-height:1em;
  309. font-weight: 600;
  310. border-radius:8px;
  311. background:rgba(2, 0, 5, 0.80);
  312. position:relative;
  313. display:flex;
  314. height:24px;
  315. align-items: center;
  316. justify-content: space-between;
  317. position:absolute;
  318. bottom:8px;
  319. left:8px;
  320. .icon{
  321. fill:#fff;
  322. }
  323. }
  324. &__countTxt{
  325. padding-left:5px;
  326. }
  327. &__btn{
  328. margin-top:16px;
  329. width:100%;
  330. max-width:120px;
  331. @include mobile{
  332. margin-top:8px;
  333. font-size:12px;
  334. padding:8px 20px;
  335. max-width:100px;
  336. }
  337. }
  338. &__hover{
  339. position:absolute;
  340. top:0;
  341. left:0;
  342. bottom:0;
  343. right:0;
  344. background:rgba(2, 0, 5, 0.80);
  345. display:flex;
  346. align-items: center;
  347. justify-content: center;
  348. flex-direction: column;
  349. padding:20px;
  350. opacity:0;
  351. z-index: 1;
  352. transition: 0.5s ease-out;
  353. visibility: hidden;
  354. cursor:pointer;
  355. }
  356. }