Advertisement
RyanJEarnshaw

Untitled

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