Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 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: 100vh;
  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: .70em !important;
  103. font-weight: 600 !important;
  104. color: #dcbe00 !important;
  105. }
  106. #movies figure figcaption .rating {
  107. display: flex;
  108. align-items: center;
  109. }
  110. #movies figure figcaption .rating .fa-heart {
  111. color: #fa5050;
  112. margin: .50em .50em .50em 0;
  113. }
  114. #movies figure figcaption .rating h4 {
  115. color: black;
  116. }
  117. #movies figure figcaption button {
  118. border: 0;
  119. font-size: 17px;
  120. cursor: pointer;
  121. color: #dcbe00;
  122. background-color: white;
  123. position: absolute;
  124. bottom: 0;
  125. right: 0;
  126. padding: 8px;
  127. }
  128.  
  129. #movies figure img {
  130. height: 21em;
  131. }
  132.  
  133. ::ng-deep img {
  134. width: 100%;
  135. border-style: none;
  136. }
  137.  
  138. #movies figure figcaption {
  139. line-height: 2;
  140. padding: 5px .80em;
  141. height: 90px;
  142. }
  143.  
  144. #movies figure figcaption h5 {
  145. text-transform: uppercase;
  146. font-weight: 600 !important;
  147. color: #737373 !important;
  148. font-size: 1.5rem !important;
  149. }
  150.  
  151. #movies figure figcaption p {
  152. text-transform: capitalize ;
  153. font-size: 1.2rem;
  154. font-weight: 600;
  155. color: #dcbe00;
  156. }
  157.  
  158. #movies figure figcaption .rating {
  159. display: flex;
  160. align-items: baseline;
  161. }
  162.  
  163. #movies figure figcaption .rating .fa-heart {
  164. color: #fa5050;
  165. margin: .50em .50em .50em 0;
  166. font-size: larger;
  167. }
  168.  
  169. #moviemodal {
  170. position: absolute;
  171. top: 40px;
  172. left: 100px;
  173. right: 100px;
  174. bottom: auto;
  175. background: rgb(255, 255, 255);
  176. overflow: auto;
  177. border-radius: 3px;
  178. outline: none;
  179. }
  180.  
  181. ::ng-deep h4 {
  182. font-size: 1.6rem;
  183. }
  184.  
  185. ::ng-deep .test{
  186. margin-top:0px;
  187. }
  188.  
  189. ::ng-deep #forms {
  190. padding: 20px 10px;
  191. display: flex;
  192. align-items: center;
  193. }
  194.  
  195. #range-form {
  196. flex: 1;
  197. margin-right: 5px;
  198. }
  199. #range-form p {
  200. letter-spacing: 1px;
  201. font-size: 14px;
  202. font-weight: bold;
  203. color: #4d4d4d;
  204. }
  205. #range-form .group {
  206. display: flex;
  207. align-items: center;
  208. }
  209. #range-form .group #range {
  210. -webkit-appearance: none;
  211. cursor: pointer;
  212. width: 100%;
  213. display: flex;
  214. align-items: center;
  215. margin-right: 10px;
  216. }
  217. #range-form .group #range::before {
  218. content: '';
  219. width: 8px;
  220. height: 8px;
  221. border-radius: 50%;
  222. background: #dcbe00;
  223. position: absolute;
  224. z-index: -1;
  225. }
  226. #range-form .group #results {
  227. width: 28px;
  228. text-align: center;
  229. font-size: 13px;
  230. padding: 2px 4px;
  231. border-radius: 4px;
  232. background: white;
  233. box-shadow: 0 2px 5px 1px lightgray;
  234. }
  235.  
  236. ::-webkit-input-placeholder {
  237. color: lightgray;
  238. font-style: italic;
  239. letter-spacing: 1px;
  240. }
  241.  
  242. :-ms-input-placeholder {
  243. color: lightgray;
  244. font-style: italic;
  245. letter-spacing: 1px;
  246. }
  247.  
  248. ::-ms-input-placeholder {
  249. color: lightgray;
  250. font-style: italic;
  251. letter-spacing: 1px;
  252. }
  253.  
  254. ::placeholder {
  255. color: lightgray;
  256. font-style: italic;
  257. letter-spacing: 1px;
  258. }
  259.  
  260. #search-input {
  261. flex: 1;
  262. display: flex;
  263. align-items: center;
  264. position: relative;
  265. }
  266. #search-input #search {
  267. letter-spacing: 1px;
  268. width: 100%;
  269. background: none;
  270. border: none;
  271. border-bottom: solid 2px lightgray;
  272. padding: 5px 20px 5px 10px;
  273. color: gray;
  274. transition: border-bottom-color .3s;
  275. font-size: 1.5rem;
  276. }
  277. #search-input #search:focus {
  278. outline: none;
  279. border-bottom-color: #dcbe00;
  280. }
  281. #search-input .fa-search {
  282. color: lightgray;
  283. position: absolute;
  284. right: 0;
  285. padding-right: 8px;
  286. transform: rotate(95deg);
  287. -webkit-transform: rotate(95deg);
  288. -ms-transform: rotate(95deg);
  289. padding: 0;
  290. font-size: large;
  291. }
  292.  
  293. /*
  294. CUSTOM SLIDER
  295. */
  296. #forms #range-form .group #range {
  297. -webkit-appearance: none;
  298. outline: none;
  299. background: #dcbe00;
  300. height: 3px;
  301. border-radius: 5px;
  302. }
  303. #forms #range-form .group #range::-webkit-slider-thumb {
  304. -webkit-appearance: none;
  305. width: 14px;
  306. height: 14px;
  307. border-radius: 50%;
  308. background: #dcbe00;
  309. }
  310.  
  311. /* FIREFOX */
  312. #range::-moz-range-thumb {
  313. border: none;
  314. height: 14px;
  315. width: 14px;
  316. border-radius: 50%;
  317. background: #dcbe00;
  318. cursor: pointer;
  319. }
  320.  
  321. #range::-moz-range-track {
  322. width: 100%;
  323. height: 3px;
  324. cursor: pointer;
  325. background: #dcbe00;
  326. border-radius: 5px;
  327. }
  328.  
  329. [type=search] {
  330. -webkit-appearance: textfield;
  331. outline-offset: -2px;
  332. }
  333.  
  334. .fa {
  335. display: inline-block;
  336. font: normal normal normal 14px/1 FontAwesome;
  337. font-size: inherit;
  338. text-rendering: auto;
  339. -webkit-font-smoothing: antialiased;
  340. -moz-osx-font-smoothing: grayscale;
  341. }
  342.  
  343. .logo {
  344. text-align: center;
  345. width: 65%;
  346. height: 250px;
  347. margin: auto;
  348. margin-top: 13%;
  349. /* position: absolute; */
  350. top: 0;
  351. left: 0;
  352. right: 0;
  353. bottom: 0;
  354. user-select: none;
  355. }
  356.  
  357. ::ng-deep .logo b{
  358. font: 400 19vh "Mada";
  359. color: #ffe;
  360. 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;
  361. }
  362. ::ng-deep .logo b span{
  363. animation: blink linear infinite 2s;
  364. }
  365. ::ng-deep .logo b span:nth-of-type(2){
  366. animation: blink linear infinite 3s;
  367. }
  368. @keyframes blink {
  369. 78% {
  370. color: inherit;
  371. text-shadow: inherit;
  372. }
  373. 79%{
  374. color: #333;
  375. }
  376. 80% {
  377.  
  378. text-shadow: none;
  379. }
  380. 81% {
  381. color: inherit;
  382. text-shadow: inherit;
  383. }
  384. 82% {
  385. color: #333;
  386. text-shadow: none;
  387. }
  388. 83% {
  389. color: inherit;
  390. text-shadow: inherit;
  391. }
  392. 92% {
  393. color: #333;
  394. text-shadow: none;
  395. }
  396. 92.5% {
  397. color: inherit;
  398. text-shadow: inherit;
  399. }
  400. }
  401.  
  402. ::ng-deep *, *:before, *:after {
  403. box-sizing: border-box;
  404. margin: 0;
  405. padding: 0;
  406. }
  407.  
  408. ::ng-deep .stackedcards.init {
  409. 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 */
  410. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement