RyanJEarnshaw

Untitled

Oct 5th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  1. html {
  2. transition: 1s ease;
  3. }
  4. #content {
  5. transition: 1s ease;
  6. width: 90%;
  7. margin-bottom: 10%;
  8. }
  9.  
  10. hr {
  11. margin: 10px auto;
  12. width: 80%;
  13. float: middle;
  14. }
  15.  
  16. #content h3{
  17. font-family: 'Work Sans', sans-serif;
  18. font-weight: 200;
  19. }
  20. .mc1 .header h3 {font-size: 2.5vmax;}
  21. .mc2 .header h3 {font-size: 2.5vmax;}
  22. .mc3 .header h3 {font-size: 2.5vmax;}
  23. .mc4 .header h3 {font-size: 2vmax;}
  24. .mc4 .header h2 {margin-top: -1%; font-size: 1vmax; font-family: 'Work Sans', sans-serif; font-weight: 400;}
  25. .mc5 .header h3 {font-size: 2.5vmax;}
  26. .mc6 .header h3 {font-size: 2vmax;}
  27.  
  28. /*Building content*/
  29. .captain-header {
  30. margin-top: -20%;
  31. }
  32. .captain-header h4 {
  33. font-family: 'Work Sans', sans-serif;
  34. font-weight: 200;
  35. font-size: 2vmax;
  36. }
  37. .teamscontainer {
  38. position: relative;
  39. margin: auto;
  40. float: left;
  41. width: 100%;
  42. height: 50vmax;
  43. margin-top: 1%;
  44. }
  45. .teams {
  46. display: flex;
  47. position: relative;
  48. margin: auto;
  49. width: 100%;
  50. height: auto;
  51. justify-content: center;
  52. }
  53. .team {
  54. float: left;
  55. width: 15%;
  56. }
  57. .team .image {
  58. background-color: white;
  59. display: inline-block;
  60. position: relative;
  61. border: 4px solid purple;
  62. width: 10vw;
  63. height: 10vw;
  64. overflow: hidden;
  65. border-radius: 50%;
  66. }
  67. .memberscontainer {
  68. position: relative;
  69. transition: 1s ease;
  70. float: left;
  71. height: 0%;
  72. background-color: black;
  73. width: 100%;
  74. }
  75. .memberscontainer .mc2, .memberscontainer .mc3, .memberscontainer .mc4, .memberscontainer .mc5, .memberscontainer .mc6 {
  76. -webkit-transition: 1s;
  77. -moz-transition: 1s;
  78. -ms-transition: 1s;
  79. transition: 1s;
  80. margin-left: 0;
  81. z-index: 1;
  82. }
  83. .mc1 { height: 6vmax; background-color: #eadab5; filter:none !important;}
  84. .mc1.expandedheight { height: 30vmax; }
  85. .mc1.expandedwidth{ width: 600%; z-index: 10; margin-top: 45%; }
  86.  
  87.  
  88. .mc2 { height: 6vmax; background-color: #bcaecc; filter:none !important;}
  89. .mc2.expandedheight { height: 30vmax; }
  90. .mc2.expandedwidth{ width: 600%; margin-left:-100%; z-index: 10; margin-top: 45%;}
  91.  
  92.  
  93. .mc3 { height: 6vmax; background-color: #bad4e2; filter:none !important;}
  94. .mc3.expandedheight { height: 30vmax; }
  95. .mc3.expandedwidth{ width: 600%; margin-left:-200%; z-index: 10; margin-top: 45%;}
  96.  
  97.  
  98. .mc4 { height: 6vmax; background-color: #e8b78b; filter:none !important;}
  99. .mc4.expandedheight { height: 30vmax; }
  100. .mc4.expandedwidth{ width: 600%; margin-left:-300%; z-index: 10; margin-top: 45%;}
  101.  
  102.  
  103. .mc5 { height: 6vmax; background-color: #bdd6d2; filter:none !important;}
  104. .mc5.expandedheight { height: 30vmax; }
  105. .mc5.expandedwidth{ width: 600%; margin-left:-400%; z-index: 10; margin-top: 45%;}
  106.  
  107.  
  108. .mc6 { height: 6vmax; background-color: #ead0d9; filter:none !important;}
  109. .mc6.expandedheight { height: 30vmax; }
  110. .mc6.expandedwidth{ width: 600%; margin-left:-500%; z-index: 10; margin-top: 45%;}
  111.  
  112.  
  113. .team1 .image { border: 4px solid #eadab5; }
  114. .team2 .image { border: 4px solid #bcaecc; }
  115. .team3 .image { border: 4px solid #bad4e2; }
  116. .team4 .image { border: 4px solid #e8b78b; }
  117. .team5 .image { border: 4px solid #bdd6d2; }
  118. .team6 .image { border: 4px solid #ead0d9; }
  119.  
  120.  
  121. .team .image img {
  122. margin-left: -17%; /*delete me for default*/
  123. width: auto;
  124. height: 90%; /*100*/
  125. }
  126.  
  127. .team1 .image img { margin-left: 0%; margin-top: 0%; height: 90%; }
  128. .team2 .image img { margin-left: 0%; margin-top: 0%; height: 100%; }
  129. .team3 .image img { }
  130. .team4 .image img { margin-left: -4%; margin-top: 14%; height: 110%; }
  131. .team5 .image img { margin-left: -4%; margin-top: 14%; height: 70%; }
  132. .team6 .image img { margin-left: 0%; margin-top: 10%; height: 80%; }
  133.  
  134. .mc1.expandedwidth .captains,
  135. .mc2.expandedwidth .captains,
  136. .mc2.expandedwidth .captains,
  137. .mc3.expandedwidth .captains,
  138. .mc4.expandedwidth .captains,
  139. .mc5.expandedwidth .captains,
  140. .mc6.expandedwidth .captains,
  141. .mc1.expandedwidth .children,
  142. .mc2.expandedwidth .children,
  143. .mc2.expandedwidth .children,
  144. .mc3.expandedwidth .children,
  145. .mc4.expandedwidth .children,
  146. .mc5.expandedwidth .children,
  147. .mc6.expandedwidth .children {
  148. position: relative;
  149. transition: 2s 1s ease;
  150. opacity: 1;
  151. }
  152.  
  153.  
  154. .memberscontainer .header {
  155. font-family: 'Lobster Two', Sans-serif;
  156. font-size: 2vmax;
  157. width: 100%;
  158. margin-bottom: 2%;
  159. }
  160.  
  161. .captains, .children {
  162. position: absolute;
  163. opacity: 0;
  164. }
  165. .memberscontainer .member {
  166. margin: .3vmax;
  167. float: middle;
  168. display: inline-block;
  169. vertical-align: center;
  170. }
  171. .memberscontainer .captains {
  172. display: block;
  173. border-right: 1px solid rgba(0,0,0,0.2);
  174. display: inline-block;
  175. float: left;
  176. width: 19%;
  177. }
  178. .memberscontainer .children {
  179. display: inline-block;
  180. float: left;
  181. width: 80%;
  182. }
  183. .member .memberimage {
  184. width: 8vmax;
  185. height: 8vmax;
  186. border-radius: 50%;
  187. color: #fff;
  188. text-align: center;
  189. background-color: white;
  190. overflow: hidden;
  191. }
  192. .member .memberimage img {
  193. width: auto;
  194. height: inherit;
  195. color: #fff;
  196. text-align: center;
  197. }
  198. .member .membername h3 {
  199. font-size: 1.1vmax;
  200. }
  201. .member .membername {
  202. width: 100%;
  203. }
Advertisement
Add Comment
Please, Sign In to add comment