Advertisement
RyanJEarnshaw

Untitled

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