Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.54 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <title>Beijing Dance Academy</title>
  4. <link rel="stylesheet" type="text/css" href="bda.css">
  5. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"> </script>
  6. <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
  7. </head>
  8. <body class="body">
  9. <div class="nav">
  10. <div class="nav_wrapper">
  11. <ul>
  12. <li><a class="navother" href="Home.html">Home</a></li>
  13. <li><a class="navother" href="CR.html">Cultural Revolution</a></li>
  14. <li><a class="navhome" href="BDA.html">Beijing Dance Academy</a></li>
  15. <li><a class="navother" href="CNY.html">Chinese New Year</a></li>
  16. </ul>
  17. </div>
  18. </div>
  19. <label id="ls" for="lightswitch"><span class="rainbow">Rainbow Switch</span></label>
  20. <input type="checkbox" id="lightswitch" />
  21. <div class="content">
  22. <img src="bda.png" alt="BDA" class="bdaimg">
  23. <p>
  24. <h2>Beijing Dance Academy</h2>
  25. Beijing Dance Academy, or BDA, was the first professional dance school founded in China, in 1954. The academy was helped by Soviet Russia in building the academy and the techniques they used to learn dance. Although Russia helped with the Beijing Dance Academy, China's repressive Communist government forbidded Russian presence in the school. The Beijing Dance Academy soon opened back up to all people from around the world when, in 1976, China's Communist leader, Mao Zedong, died.
  26. <br>
  27. <br>
  28. Several times a year, Beijing Dance Academy holds auditions to be accepted into the school, for more disadvantaged areas officals come around small towns and schools and pick out children of age, the academy initially only accepted students from ages 11 to 18 but eventually the age range expanded. They then test the student's basic body abilities. More than 2,000 children audition to be accepted into the academy but only 1 in every 20 make the cut. Majority of the children in the academy are Chinese but the academy has an additional program that allows international students to apply.
  29. <br>
  30. <br>
  31. <h3>
  32. A Day in the Life of a Student
  33. </h3>
  34. A day of a Beijing Dance Academy student starts with basic warm-ups and stretches such as flexibility exercises and drills for turns and jumps. After breakfast, the students have a ballet technique class followed by character dance or pas de deux exercises. Then after lunch, the students study normal subjects such as mathematics or Chinese for 3 hours. In the afternoon, they have repertory classes or study or do homework. The Beijing Dance Academy is run for the whole week...
  35. </p>
  36. <p id="nu">
  37. INCLUDING SATURDAY AND SUNDAY!
  38. <img src="sadface.png" alt="SpongebobSadFace" class="bdaimg2">
  39. </p>
  40. </div>
  41. <script>
  42. $(function() {
  43.  
  44. $(function() {
  45. $('input#lightswitch').on('change', function() {
  46. $('#ls').html('RAINBOW!')
  47. });
  48. });
  49.  
  50. $(function() {
  51. $('input#lightswitch').on('change', function() {
  52. $('.body').toggleClass('animated');
  53. });
  54. });
  55.  
  56. });
  57. </script>
  58. </body>
  59.  
  60.  
  61.  
  62. body {
  63. margin: 0px;
  64. padding: 0px;
  65. overflow-y: scroll;
  66. font-family: Helvetica;
  67. font-size: 18px;
  68. background-color: #bdbdbd;
  69. }
  70.  
  71. .nav {
  72. background-color: #222;
  73. position: relative;
  74. width: 100%;
  75. }
  76.  
  77. .nav_wrapper {
  78. width: 960px;
  79. margin: 0 auto;
  80. text-align: left;
  81. }
  82.  
  83. .nav ul {
  84. list-style-type: none;
  85. padding: 0;
  86. margin: 0;
  87. position: relative;
  88. }
  89.  
  90. .nav ul li {
  91. display: inline-block;
  92. background-color: #222;
  93. transition: background-color 0.3s ease-in;
  94. position: relative;
  95. padding-top: 3px;
  96. padding-bottom: 3px;
  97. }
  98.  
  99. .nav ul li img {
  100. width: 12px;
  101. height: 10px;
  102. vertical-align: middle;
  103. padding-left: 10px;
  104. }
  105.  
  106. .nav ul li a,visited {
  107. display: block;
  108. padding: 15px;
  109. text-decoration: none;
  110. transition: color 0.2s ease-in;
  111. }
  112.  
  113. .nav ul li a:hover {
  114. text-decoration: none;
  115. color: #099;
  116. }
  117.  
  118. .navhome {
  119. color: #099;
  120. border-bottom: 3px solid #099;
  121. }
  122.  
  123. .navother {
  124. color: #ccc;
  125. }
  126.  
  127. .content {
  128. text-align: center;
  129. line-height: 130%;
  130. font-size: 20px;
  131. display: inline-block;
  132.  
  133. }
  134.  
  135. .bdaimg {
  136. width: 50%;
  137. display: block;
  138. margin-left: auto;
  139. margin-right: auto;
  140. margin-bottom: 40px;
  141. margin-top: 30px;
  142. transform: scale(1);
  143. transition-duration: 0.3s;
  144. border-radius: 15px;
  145. }
  146.  
  147. .bdaimg:hover {
  148. transform: scale(1.1);
  149. transition-duration: 0.3s;
  150. }
  151.  
  152. #nu {
  153. font-weight: bold;
  154. font-size: 25px;
  155. }
  156.  
  157. h3 {
  158. font-weight: bold;
  159. text-decoration: underline;
  160. }
  161.  
  162. h2 {
  163. font-weight: bold;
  164. text-decoration: underline;
  165. }
  166.  
  167. .bdaimg2 {
  168. display: block;
  169. margin-left: auto;
  170. margin-right: auto;
  171. margin-bottom: 40px;
  172. margin-top: 30px;
  173. transform: scale(1);
  174. transition-duration: 0.3s;
  175. border-radius: 15px;
  176. }
  177.  
  178. .bdaimg2:hover {
  179. transform: scale(1.1);
  180. transition-duration: 0.3s;
  181. }
  182.  
  183. /*Light Switch*/
  184. label {
  185. display: block;
  186. height: 25px;
  187. width: 100px;
  188. background: white;
  189. text-align: center;
  190. font: 14px/25px Helvetica, Arial, sans-serif;
  191. margin: 20px 0;
  192. position: absolute;
  193. color: black;
  194. transition: background 0.2s ease-out, color 0.2s ease-out;
  195. }
  196.  
  197. label:hover {
  198. background-color: #099;
  199. color: white;
  200. cursor: pointer;
  201. transition: background-color 0.1s ease-in, color 0.1s ease-in;
  202. }
  203.  
  204. input#lightswitch {
  205. position: fixed ;
  206. top: -9999px;
  207. left: -9999px;
  208. }
  209.  
  210. input#lightswitch + .content {
  211. color: black;
  212. transition: background-color 0.5s ease-out, color 0.5s ease-out;
  213. }
  214.  
  215. /*Switched Off
  216. input#lightswitch:checked + .content {
  217. background-color: #222;
  218. color: #D3D3D3;
  219. transition: background-color 0.5s ease-in, color 0.5s ease-in;
  220. }
  221. */
  222. @-webkit-keyframes pulse {
  223. 0% {background-color: #45CEEF;}
  224. 25% {background-color: #FFF5A5;}
  225. 50% {background-color: #FFD4DA;}
  226. 75% {background-color: #99D2E4;}
  227. 100% {background-color: #D8CAB4;}
  228. }
  229.  
  230. .body.animated {
  231. -webkit-animation: pulse 1s infinite alternate;
  232. }
  233.  
  234. .rainbow.active {
  235. background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
  236. background-image: gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
  237. color:transparent;
  238. -webkit-background-clip: text;
  239. background-clip: text;
  240. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement