Advertisement
RyanJEarnshaw

Untitled

Oct 4th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 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-top: 16%; /*delete me for default*/
  118. margin-left: -20%; /*delete me for default*/
  119. width: auto;
  120. height: 75%; /*100*/
  121. }
  122.  
  123. .mc1.expandedwidth .captains,
  124. .mc2.expandedwidth .captains,
  125. .mc2.expandedwidth .captains,
  126. .mc3.expandedwidth .captains,
  127. .mc4.expandedwidth .captains,
  128. .mc5.expandedwidth .captains,
  129. .mc6.expandedwidth .captains,
  130. .mc1.expandedwidth .children,
  131. .mc2.expandedwidth .children,
  132. .mc2.expandedwidth .children,
  133. .mc3.expandedwidth .children,
  134. .mc4.expandedwidth .children,
  135. .mc5.expandedwidth .children,
  136. .mc6.expandedwidth .children {
  137. position: relative;
  138. transition: 2s 1s ease;
  139. opacity: 1;
  140. }
  141.  
  142.  
  143. .memberscontainer .header {
  144. font-family: 'Lobster Two', Sans-serif;
  145. font-size: 2vmax;
  146. width: 100%;
  147. margin-bottom: 2%;
  148. }
  149.  
  150. .captains, .children {
  151. position: absolute;
  152. opacity: 0;
  153. }
  154. .memberscontainer .member {
  155. margin: .3vmax;
  156. float: middle;
  157. display: inline-block;
  158. vertical-align: center;
  159. }
  160. .memberscontainer .captains {
  161. display: block;
  162. border-right: 1px solid rgba(0,0,0,0.2);
  163. display: inline-block;
  164. float: left;
  165. width: 19%;
  166. }
  167. .memberscontainer .children {
  168. display: inline-block;
  169. float: left;
  170. width: 80%;
  171. }
  172. .member .memberimage {
  173. width: 8vmax;
  174. height: 8vmax;
  175. border-radius: 50%;
  176. color: #fff;
  177. text-align: center;
  178. background-color: white;
  179. overflow: hidden;
  180. }
  181. .member .memberimage img {
  182. width: auto;
  183. height: inherit;
  184. color: #fff;
  185. text-align: center;
  186. }
  187. .member .membername h3 {
  188. font-size: 1.1vmax;
  189. }
  190. .member .membername {
  191. width: 100%;
  192. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement