Advertisement
RyanJEarnshaw

Untitled

Oct 4th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Poiret+One');
  2.  
  3. #tasks {
  4. display: table;
  5. margin: 0 auto;
  6. margin-top: 5%;
  7. margin-bottom: 10%;
  8. }
  9. #task {
  10. display: inline-block;
  11. padding: 0;
  12. width: 30%;
  13. height: 35vmax;
  14. -webkit-box-shadow: 14px 19px 29px -2px rgba(0,0,0,0.15);
  15. -moz-box-shadow: 14px 19px 29px -2px rgba(0,0,0,0.15);
  16. box-shadow: 14px 19px 29px -2px rgba(0,0,0,0.15);
  17. margin-right: 2%;
  18. margin-bottom: 5%;
  19. min-height: 25%;
  20. float: middle;
  21. vertical-align: middle;
  22. transition: 1s;
  23. border: 2px dotted white;
  24. }
  25. #task:hover {
  26. -webkit-box-shadow: 13px 12px 33px -2px rgba(0,0,0,0.40);
  27. -moz-box-shadow: 13px 12px 33px -2px rgba(0,0,0,0.40);
  28. box-shadow: 13px 12px 33px -2px rgba(0,0,0,0.80);
  29. }
  30. #tasktitle {
  31. color: white;
  32. font-family: 'Lobster Two', sans-serif;
  33. }
  34.  
  35. #uline {
  36. background: #bdbdbd no-repeat scroll center;
  37. margin: auto;
  38. width:80%;
  39. height:2px;
  40. margin-top: 2%;
  41. margin-bottom: 4%;
  42. }
  43. #uline hr {
  44. display: none;
  45. }
  46.  
  47. #taskdescription {
  48. color: #8dbe41;
  49. width: 90%;
  50. float: middle;
  51. margin: 0 auto;
  52. font-size: 18px;
  53. font-family: 'Poiret One', sans-serif;
  54. }
  55. #taskbutton {
  56. font-family: 'Lobster Two';
  57. transition:0.2s ease;
  58. margin: 0 auto;
  59. margin-top: 3%;
  60. margin-bottom: 5%;
  61. }
  62. #taskbutton a {
  63. text-decoration: none;
  64. color: white;
  65. background-color: orange;
  66. padding: 0 20px;
  67. transition:0.2s ease;
  68. margin-top: 3%;
  69. margin-bottom: 5%;
  70. font-family: 'Lobster Two';
  71. transition:0.2s ease;
  72. }
  73.  
  74. #taskbutton a:hover {
  75. font-size: 30px;
  76. -webkit-box-shadow: 8px 8px 15px 1px rgba(0,0,0,0.20);
  77. -moz-box-shadow: 8px 8px 15px 1px rgba(0,0,0,0.20);
  78. box-shadow: 8px 8px 15px 1px rgba(0,0,0,0.20);
  79. padding: 0 48px;
  80. }
  81.  
  82. #taskimage img{
  83. width: 90%;
  84. background-color: white;
  85. padding: 8px;
  86. margin-top: 10px;
  87. }
  88.  
  89. #task1 {
  90. height: inherit;
  91. }
  92. #flip-container {
  93. perspective: 1000px;
  94. width: 100%;
  95. height: 100%;
  96. }
  97. #flip-container:hover #flipper, #flip-container.hover #flipper {
  98. transform: rotateY(180deg);
  99. }
  100. #flip-container, #front, #back {
  101. width: 100%;
  102. height: 100%;
  103. }
  104. #flipper {
  105. transition: 0.6s;
  106. transform-style: preserve-3d;
  107. width: 100%;
  108. height: 100%;
  109. position: relative;
  110. }
  111. #front, #back {
  112. backface-visibility: hidden;
  113. position: absolute;
  114. top: 0;
  115. left: 0;
  116. }
  117. #front {
  118. z-index: 2;
  119. transform: rotateY(0deg);
  120. }
  121. #back {
  122. transform: rotateY(180deg);
  123. }
  124.  
  125.  
  126. #front, #back {
  127. height: inherit;
  128. display: flex;
  129. justify-content: center;
  130. }
  131. #comingsoonimage {
  132. align-self: center;
  133. }
  134. #comingsoonimage img {
  135. display: inline-block;
  136. width: 90%;
  137. }
  138.  
  139. #comingsoontext {
  140. font-size: 40px;
  141. align-self: center;
  142. margin: auto;
  143. display: inline-block;
  144. width: 90%;
  145. height: 20%;
  146. }
  147. h4, h5 {
  148. height: 50%;
  149. }
  150. #back {
  151. box-shadow: inset 0px 0px 70px 10px rgba(0,0,0,0.60), inset 0px 0px 10px 1px rgba(0,0,0,0.60);
  152. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement