Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Mada&display=swap');
  2. ::ng-deep .movie-bg-header {
  3. font-family: 'Mada', sans-serif;
  4. background: url('../../assets/img/wall.jpg') center no-repeat;
  5. background-size:cover;
  6. width: 100%;
  7. height: 100%;
  8. display: inline-block;
  9. }
  10.  
  11.  
  12. ::ng-deep i {
  13. font-style: normal;
  14. }
  15.  
  16. .allmovies{
  17. background-color: #0e0e0e;
  18. font-size: 62.5%;
  19.  
  20. }
  21.  
  22. ::ng-deep .main {
  23. width: 1100px;
  24. background: whitesmoke;
  25. margin: auto;
  26. -webkit-transform: translateY(-5%);
  27. transform: translateY(-5%);
  28. border-top-left-radius: 5px;
  29. border-top-right-radius: 5px;
  30. padding: 1.5em 2em;
  31. z-index: -10px;
  32.  
  33. }
  34.  
  35. ::ng-deep .main ul {
  36. list-style: none;
  37. }
  38.  
  39. ::ng-deep .options {
  40. display: flex;
  41. text-align: center;
  42. text-transform: uppercase;
  43. }
  44.  
  45. ::ng-deep .options li {
  46. flex: 1;
  47. padding-bottom: 1em;
  48. border-bottom: solid 1px lightgray;
  49. font-weight: 600;
  50. font-size: 1.5em;
  51. color: #737373;
  52. cursor: pointer;
  53. }
  54. ::ng-deep .options li:hover {
  55. color: #dcbe00;
  56. border-bottom-color: #dcbe00;
  57. border-bottom-width: 2px;
  58. }
  59. ::ng-deep .options .active {
  60. color: #dcbe00;
  61. border-bottom: solid 2px #dcbe00;
  62. }
  63.  
  64. #movies {
  65. min-height: 75vh;
  66. display: flex;
  67. flex-wrap: wrap;
  68. align-items: flex-start;
  69. }
  70.  
  71. ::ng-deep #movies figure {
  72. background-color: white;
  73. width: 19em;
  74. margin: 1em;
  75. box-shadow: 0 5px 15px grey;
  76. overflow: hidden;
  77. position: relative;
  78. cursor: pointer;
  79. transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  80. }
  81.  
  82. ::ng-deep #movies figure:hover {
  83. -webkit-transform: scale(1.04);
  84. transform: scale(1.04);
  85. box-shadow: 0 -3px 20px gray;
  86. }
  87. ::ng-deep #movies figure img {
  88. height: 21em;
  89. }
  90. #movies figure figcaption {
  91. line-height: 2;
  92. padding: 0 .80em;
  93. height: 90px;
  94. }
  95. #movies figure figcaption h5 {
  96. text-transform: uppercase !important;
  97. font-weight: 600 !important;
  98. color: #737373 !important;
  99. }
  100. #movies figure figcaption p {
  101. text-transform: capitalize !important;
  102. font-size: 1.1em !important;
  103. font-weight: 600 !important;
  104. color: #dcbe00 !important;
  105. margin-bottom: 11px;
  106. }
  107. #movies figure figcaption .rating {
  108. display: flex;
  109. align-items: center;
  110. }
  111. #movies figure figcaption .rating .fa-heart {
  112. color: #fa5050;
  113. margin: .50em .50em .50em 0;
  114. }
  115. #movies figure figcaption .rating h4 {
  116. color: black;
  117. }
  118. #movies figure figcaption button {
  119. border: 0;
  120. font-size: 17px;
  121. cursor: pointer;
  122. color: #dcbe00;
  123. background-color: white;
  124. position: absolute;
  125. bottom: 0;
  126. right: 0;
  127. padding: 8px;
  128. }
  129.  
  130. #movies figure img {
  131. height: 21em;
  132. }
  133.  
  134. ::ng-deep img {
  135. width: 100%;
  136. border-style: none;
  137. }
  138.  
  139. #movies figure figcaption {
  140. line-height: 2;
  141. padding: 5px .80em;
  142. height: 90px;
  143. }
  144.  
  145. #movies figure figcaption h5 {
  146. text-transform: uppercase;
  147. font-weight: 600 !important;
  148. color: #737373 !important;
  149. font-size: 0.8rem !important;
  150. margin-bottom: 5px !important;
  151. }
  152.  
  153. #movies figure figcaption p {
  154. text-transform: capitalize ;
  155. font-size: 1.2rem;
  156. font-weight: 600;
  157. color: #dcbe00;
  158. }
  159.  
  160. #movies figure figcaption .rating {
  161. display: flex;
  162. align-items: baseline;
  163. }
  164.  
  165. #movies figure figcaption .rating .fa-heart {
  166. color: #fa5050;
  167. margin: .50em .50em .50em 0;
  168. font-size: larger;
  169. }
  170.  
  171. #moviemodal {
  172. position: absolute;
  173. top: 40px;
  174. left: 100px;
  175. right: 100px;
  176. bottom: auto;
  177. background: rgb(255, 255, 255);
  178. overflow: auto;
  179. border-radius: 3px;
  180. outline: none;
  181. }
  182.  
  183. ::ng-deep h4 {
  184. font-size: 1.1rem;
  185. }
  186.  
  187. ::ng-deep .test{
  188. margin-top:0px;
  189. }
  190.  
  191. ::ng-deep #forms {
  192. padding: 20px 10px;
  193. display: flex;
  194. align-items: center;
  195. }
  196.  
  197. #range-form {
  198. flex: 1;
  199. margin-right: 5px;
  200. }
  201. #range-form p {
  202. letter-spacing: 1px;
  203. font-size: 14px;
  204. font-weight: bold;
  205. color: #4d4d4d;
  206. }
  207. #range-form .group {
  208. display: flex;
  209. align-items: center;
  210. }
  211. #range-form .group #range {
  212. -webkit-appearance: none;
  213. cursor: pointer;
  214. width: 100%;
  215. display: flex;
  216. align-items: center;
  217. margin-right: 10px;
  218. }
  219. #range-form .group #range::before {
  220. content: '';
  221. width: 8px;
  222. height: 8px;
  223. border-radius: 50%;
  224. background: #dcbe00;
  225. position: absolute;
  226. z-index: -1;
  227. }
  228. #range-form .group #results {
  229. width: 28px;
  230. text-align: center;
  231. font-size: 13px;
  232. padding: 2px 4px;
  233. border-radius: 4px;
  234. background: white;
  235. box-shadow: 0 2px 5px 1px lightgray;
  236. }
  237.  
  238. ::-webkit-input-placeholder {
  239. color: lightgray;
  240. font-style: italic;
  241. letter-spacing: 1px;
  242. }
  243.  
  244. :-ms-input-placeholder {
  245. color: lightgray;
  246. font-style: italic;
  247. letter-spacing: 1px;
  248. }
  249.  
  250. ::-ms-input-placeholder {
  251. color: lightgray;
  252. font-style: italic;
  253. letter-spacing: 1px;
  254. }
  255.  
  256. ::placeholder {
  257. color: lightgray;
  258. font-style: italic;
  259. letter-spacing: 1px;
  260. }
  261.  
  262. #search-input {
  263. flex: 1;
  264. display: flex;
  265. align-items: center;
  266. position: relative;
  267. }
  268. #search-input #search {
  269. letter-spacing: 1px;
  270. width: 100%;
  271. background: none;
  272. border: none;
  273. border-bottom: solid 2px lightgray;
  274. padding: 5px 20px 5px 10px;
  275. color: gray;
  276. transition: border-bottom-color .3s;
  277. font-size: 1.5rem;
  278. }
  279. #search-input #search:focus {
  280. outline: none;
  281. border-bottom-color: #dcbe00;
  282. }
  283. #search-input .fa-search {
  284. color: lightgray;
  285. position: absolute;
  286. right: 0;
  287. padding-right: 8px;
  288. transform: rotate(95deg);
  289. -webkit-transform: rotate(95deg);
  290. -ms-transform: rotate(95deg);
  291. padding: 0;
  292. font-size: large;
  293. }
  294.  
  295. /*
  296. CUSTOM SLIDER
  297. */
  298. #forms #range-form .group #range {
  299. -webkit-appearance: none;
  300. outline: none;
  301. background: #dcbe00;
  302. height: 3px;
  303. border-radius: 5px;
  304. }
  305. #forms #range-form .group #range::-webkit-slider-thumb {
  306. -webkit-appearance: none;
  307. width: 14px;
  308. height: 14px;
  309. border-radius: 50%;
  310. background: #dcbe00;
  311. }
  312.  
  313. /* FIREFOX */
  314. #range::-moz-range-thumb {
  315. border: none;
  316. height: 14px;
  317. width: 14px;
  318. border-radius: 50%;
  319. background: #dcbe00;
  320. cursor: pointer;
  321. }
  322.  
  323. #range::-moz-range-track {
  324. width: 100%;
  325. height: 3px;
  326. cursor: pointer;
  327. background: #dcbe00;
  328. border-radius: 5px;
  329. }
  330.  
  331. [type=search] {
  332. -webkit-appearance: textfield;
  333. outline-offset: -2px;
  334. }
  335.  
  336. .fa {
  337. display: inline-block;
  338. font: normal normal normal 14px/1 FontAwesome;
  339. font-size: inherit;
  340. text-rendering: auto;
  341. -webkit-font-smoothing: antialiased;
  342. -moz-osx-font-smoothing: grayscale;
  343. }
  344.  
  345. .logo {
  346. text-align: center;
  347. width: 65%;
  348. height: 250px;
  349. margin: auto;
  350. margin-top: 13%;
  351. /* position: absolute; */
  352. top: 0;
  353. left: 0;
  354. right: 0;
  355. bottom: 0;
  356. user-select: none;
  357. }
  358.  
  359. ::ng-deep .logo b{
  360. font: 400 19vh "Mada";
  361. color: #ffe;
  362. text-shadow: 0 -40px 100px, 0 0 2px, 0 0 1em #ffc107, 0 0 0.5em #ffc107, 0 0 0.1em #ffc107, 0 10px 3px #000;
  363. }
  364. ::ng-deep .logo b span{
  365. animation: blink linear infinite 2s;
  366. }
  367. ::ng-deep .logo b span:nth-of-type(2){
  368. animation: blink linear infinite 3s;
  369. }
  370. @keyframes blink {
  371. 78% {
  372. color: inherit;
  373. text-shadow: inherit;
  374. }
  375. 79%{
  376. color: #333;
  377. }
  378. 80% {
  379.  
  380. text-shadow: none;
  381. }
  382. 81% {
  383. color: inherit;
  384. text-shadow: inherit;
  385. }
  386. 82% {
  387. color: #333;
  388. text-shadow: none;
  389. }
  390. 83% {
  391. color: inherit;
  392. text-shadow: inherit;
  393. }
  394. 92% {
  395. color: #333;
  396. text-shadow: none;
  397. }
  398. 92.5% {
  399. color: inherit;
  400. text-shadow: inherit;
  401. }
  402. }
  403.  
  404. ::ng-deep *, *:before, *:after {
  405. box-sizing: border-box;
  406. margin: 0;
  407. padding: 0;
  408. }
  409.  
  410. ::ng-deep .stackedcards.init {
  411. opacity: 0; /* définissez l'opacité sur 0 si vous souhaitez un effet de fondu enchaîné pour empiler des cartes au chargement de la page */
  412. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement