Advertisement
RyanJEarnshaw

Untitled

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