styles.scss 6.6 KB

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