main.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059
  1. /* ==========================================================================
  2. HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
  3. ========================================================================== */
  4. html,
  5. button,
  6. input,
  7. select,
  8. textarea {
  9. color: #222;
  10. }
  11. body {
  12. font-size: 1em;
  13. line-height: 1.4;
  14. }
  15. hr {
  16. display: block;
  17. height: 1px;
  18. border: 0;
  19. border-top: 1px solid #ccc;
  20. margin: 1em 0;
  21. padding: 0;
  22. }
  23. img {
  24. vertical-align: middle;
  25. }
  26. fieldset {
  27. border: 0;
  28. margin: 0;
  29. padding: 0;
  30. }
  31. textarea {
  32. resize: vertical;
  33. }
  34. .chromeframe {
  35. margin: 0.2em 0;
  36. background: #ccc;
  37. color: #000;
  38. padding: 0.2em 0;
  39. }
  40. /* ===== Initializr Styles ==================================================
  41. Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
  42. ========================================================================== */
  43. body {
  44. font: 16px/26px "Lucida Sans",Helvetica, Helvetica Neue, Arial,sans-serif;
  45. }
  46. .wrapper {
  47. width: 90%;
  48. margin: 0 5%;
  49. }
  50. /* ===================
  51. ALL: Orange Theme
  52. =================== */
  53. .header-container {
  54. }
  55. .footer-container,
  56. .main aside {
  57. }
  58. .header-container
  59. {
  60. background: #1a6279 url(../img/topbg.jpg) repeat-x left bottom;
  61. }
  62. .main aside {
  63. }
  64. .title {
  65. color: white;
  66. }
  67. /* ==============
  68. MOBILE: Menu
  69. ============== */
  70. nav ul {
  71. margin: 0;
  72. padding: 0;
  73. }
  74. nav a {
  75. display: block;
  76. margin-bottom: 10px;
  77. padding: 15px 0;
  78. text-align: center;
  79. text-decoration: none;
  80. font-weight: bold;
  81. color: white;
  82. background: #e44d26;
  83. }
  84. nav a:hover,
  85. nav a:visited {
  86. color: white;
  87. }
  88. nav a:hover {
  89. text-decoration: underline;
  90. }
  91. /* ==============
  92. MOBILE: Main
  93. ============== */
  94. .main {
  95. padding: 2em 0 0;
  96. }
  97. .main article h1 {
  98. font-size: 2em;
  99. }
  100. .main aside {
  101. color: white;
  102. }
  103. .footer-container footer {
  104. color: white;
  105. padding: 20px 0;
  106. }
  107. /* ===============
  108. ALL: IE Fixes
  109. =============== */
  110. .ie7 .title {
  111. padding-top: 20px;
  112. }
  113. /* ==========================================================================
  114. Author's custom styles
  115. ========================================================================== */
  116. .none {
  117. display: none;
  118. }
  119. body,html {
  120. height: 100%;
  121. }
  122. img {
  123. max-width: 100%;
  124. }
  125. a {
  126. text-decoration: none;
  127. }
  128. html {
  129. background:#2d2d2d url(../img/bodybg.png);
  130. }
  131. body {
  132. color: #FFF;
  133. -moz-user-select: none;
  134. -webkit-user-select: none;
  135. -ms-user-select: none; /*IE10*/
  136. -khtml-user-select: none;
  137. user-select: none;
  138. }
  139. h1,h2,h3,h4 {
  140. font-weight: normal;
  141. }
  142. .header-container h1 {
  143. font-size: 20px;
  144. margin: 0;
  145. line-height: 40px;
  146. text-align: center;
  147. width: 100%;
  148. text-shadow: 1px 1px 0 #000;
  149. }
  150. .header-container {
  151. text-align: center;
  152. height: 45px;
  153. background-size:auto 100%;
  154. box-shadow: 5px 0 15px #000;
  155. }
  156. #start-icon {
  157. background: url(../img/icon-512.png) left top no-repeat;
  158. width: 180px;
  159. height: 180px;
  160. background-size:100% 100%;
  161. margin: 0 auto;
  162. position:relative;
  163. font-size: 1em;
  164. margin-bottom: 1em;
  165. }
  166. #start-level {
  167. position: absolute;
  168. left: -10px;
  169. bottom: -5px;
  170. font-size: 1.5em;
  171. text-shadow: 1px 1px 0px #8a0022;
  172. background: url(../img/level.png) center center no-repeat;
  173. background-size: 100% 100%;
  174. width: 70px;
  175. height: 70px;
  176. overflow: hidden;
  177. line-height: 70px;
  178. visibility: hidden;
  179. }
  180. #page-start{
  181. text-align: center;
  182. }
  183. .btn {
  184. border-radius: 15px;
  185. background-color: #1a6279;
  186. color: #FFF;
  187. padding: 10px;
  188. cursor: pointer;
  189. display: inline-block;
  190. border-bottom:5px solid #103d46;
  191. }
  192. .btn-big {
  193. text-transform: uppercase;
  194. font-size: 2.5em;
  195. padding: 10px 30px;
  196. }
  197. .btn-success {
  198. background-color: #6ba94e;
  199. border-bottom:5px solid #256f00;
  200. text-shadow: 1px 1px 2px #256f00;
  201. }
  202. .btn-info {
  203. background-color: #314991;
  204. border-bottom: 5px solid #121e53;
  205. text-shadow: 1px 1px 2px #121e53;
  206. }
  207. #start-btnPlay{
  208. padding:15px 30px;
  209. border-radius: 20px;
  210. font-weight: bold;
  211. letter-spacing: 1px;
  212. visibility: hidden;
  213. }
  214. .btn:hover,.btn:focus {
  215. background-color: #e9b42a;
  216. border-bottom-color: #dc8b0c;
  217. text-shadow: 1px 1px 2px #8a0022;
  218. }
  219. .btn:active {
  220. background-color: #dc8b0c;
  221. border-bottom: none;
  222. text-shadow: none;
  223. color: #8a0022;
  224. border-top: 5px solid #222;
  225. }
  226. #page-play .header-container {
  227. position: relative;
  228. }
  229. .btn-back {
  230. line-height: 2em;
  231. padding: 0;
  232. border-radius: 0;
  233. text-align: left;
  234. position: relative;
  235. display: inline-block;
  236. background-color: #4895b0;
  237. padding: 0 20px;
  238. border-radius: 0 5px 5px 0;
  239. font-size: 1.5em;
  240. }
  241. .btn-back:before {
  242. position:absolute;
  243. content: " ";
  244. border: transparent 1em solid;
  245. border-right-color: #4895b0;
  246. top: 0;
  247. left: -2em;
  248. height: 0;
  249. width: 0;
  250. }
  251. #play-level {
  252. background: url(../img/level.png) center center no-repeat;
  253. background-size: 100% 100%;
  254. width: 50px;
  255. height: 50px;
  256. line-height: 50px;
  257. font-size: 1em;
  258. position: absolute;
  259. margin-left: -25px;
  260. left: 50%;
  261. top: 0;
  262. }
  263. #questions {
  264. position: relative;
  265. width: 100%;
  266. height: 100%;
  267. }
  268. #play-next {
  269. display: none;
  270. }
  271. .question {
  272. position: absolute;
  273. width: 100%;
  274. height: 100;
  275. left: 0;
  276. top: 0;
  277. }
  278. .question-pic {
  279. width: 160px;
  280. height: 160px;
  281. position: relative;
  282. margin: 0 auto;
  283. border:5px solid #efefef;
  284. }
  285. .question-pic img {
  286. width: 100%;
  287. height: 100%;
  288. }
  289. .question-type {
  290. width: 180px;
  291. height: 32px;
  292. background: url(../img/catalogue.png) center center no-repeat;
  293. background-size:100% 100%;
  294. text-align: center;
  295. position: absolute;
  296. top:-33px;
  297. left: 50%;
  298. margin-left: -90px;
  299. }
  300. li,ul {
  301. list-style: none;
  302. margin:0;
  303. padding: 0;
  304. }
  305. .question-answer {
  306. text-align: center;
  307. position: relative;
  308. margin-top: 0.5em;
  309. left: 50%;
  310. }
  311. .answer-key {
  312. background: #111;
  313. font-size: 1.5em;
  314. width: 1.5em;
  315. height: 1.5em;
  316. line-height: 1.5em;
  317. float: left;
  318. display: inline-block;
  319. margin-right: 3px;
  320. border-radius: 5px;
  321. cursor: pointer;
  322. border-left: 1px solid #333;
  323. border-bottom: 1px solid #333;
  324. color: #FFF;
  325. }
  326. .answer-key.error {
  327. color: #F00!important;
  328. }
  329. .answer-key:last {
  330. margin-right: 0;
  331. }
  332. .answer-key:hover{
  333. color: #FFF;
  334. }
  335. .answer-key:active, {
  336. background: #000;
  337. color: #dc8b0c;
  338. }
  339. hr {
  340. border-top: 1px solid #000;
  341. border-bottom: 1px solid #333;
  342. margin: 0.5em 0;
  343. }
  344. .question-key {
  345. font-size: 1em;
  346. float: left;
  347. width: 11.5%;
  348. height: 2em;
  349. line-height: 2em;
  350. background: #efefef;
  351. border-radius: 5px;
  352. border-bottom: 2px solid #aaa;
  353. text-align: center;
  354. color: #111;
  355. display: inline-block;
  356. margin-right: 1%;
  357. margin-bottom: 5px;
  358. cursor: pointer;
  359. }
  360. .question-key:hover {
  361. background-color: #4895b0;
  362. color: #FFF;
  363. border-bottom-color: #064257;
  364. }
  365. .question-key:active {
  366. background-color: #dc8b0c;
  367. border-bottom: 0;
  368. border-top:2px solid #333;
  369. text-shadow: -1px -1px 0 #333;
  370. }
  371. body {
  372. position: relative;
  373. }
  374. .page {
  375. position: absolute;
  376. width: 100%;
  377. height: 100%;
  378. z-index: 1;
  379. overflow-y: scroll;
  380. }
  381. .current-page {
  382. z-index: 100;
  383. left: 0;
  384. top: 0;
  385. }
  386. #preload-ad {
  387. margin: 0 auto;
  388. text-align: center;
  389. }
  390. .ui-progress-bar {
  391. margin: 2em 0;
  392. }
  393. #play-success {
  394. position: fixed;
  395. width: 100%;
  396. height: 100%;
  397. left: 0;
  398. top: 0;
  399. overflow-y: scroll;
  400. text-align: center;
  401. background: rgba(0,0,0,0.7);
  402. display: none;
  403. }
  404. #play-success-title,#play-success-level,#play-success-answer,#play-success-action {
  405. visibility: hidden;
  406. }
  407. #play-success-title {
  408. font-size: 2em;
  409. font-weight: bold;
  410. padding-top: 0.5em;
  411. padding-bottom: 1em;
  412. }
  413. #play-success-level {
  414. width: 80px;
  415. height: 80px;
  416. margin: 0 auto;
  417. line-height: 80px;
  418. font-size: 1.5em;
  419. background:url(../img/level.png) no-repeat center center;
  420. background-size: 100% 100%;
  421. }
  422. #play-success-answer {
  423. padding: 0.5em 0 1em;
  424. font-size: 1.5em;
  425. }
  426. #play-success-share,#play-success-next {
  427. display: block;
  428. width: 140px;
  429. border-radius: 10px;
  430. margin: 0 auto;
  431. font-size: 1.2em;
  432. margin-bottom: 1em;
  433. }
  434. #play-success-action {
  435. margin-bottom: 20px;
  436. }
  437. .loading {
  438. background:url(../img/loader.gif) no-repeat center center;
  439. min-height: 100px;
  440. }
  441. .pannel {
  442. position: fixed;
  443. z-index: 100;
  444. height: 100%;
  445. width: 76%;
  446. padding: 0 5%;
  447. background: #d9d9d3 url(../img/pannelbg.png);
  448. color: #333;
  449. left: 100%;
  450. overflow-y: scroll;
  451. box-shadow: 0 -5px 15px #000;
  452. }
  453. #pannel-overlay {
  454. position: absolute;
  455. z-index: 100;
  456. height: 100%;
  457. width: 100%;
  458. overflow: hidden;
  459. }
  460. .pannel .btn{
  461. margin-top: 10px;
  462. line-height: 1.2em;
  463. width: 70%;
  464. padding-left: 44px;
  465. position: relative;
  466. }
  467. h4 {
  468. color: #000;
  469. margin-bottom: 0;
  470. }
  471. .credit {
  472. zoom: 1;
  473. color: #000;
  474. text-shadow: 1px 1px 0 #FFF;
  475. margin-bottom: 10px;
  476. min-height: 36px;
  477. display: block;
  478. }
  479. .credit img{
  480. border-radius: 18px;
  481. width: 36px;
  482. height: 36px;
  483. float: left;
  484. display: inline-block;
  485. vertical-align: top;
  486. }
  487. .credit span {
  488. height: 36px;
  489. line-height: 18px;
  490. font-size: 12px;
  491. width: 180px;
  492. padding-left: 10px;
  493. display: inline-block;
  494. }
  495. .header-container .btn-openHelpPannel , .header-container .btn-left{
  496. position: absolute;
  497. right: 10px;
  498. top: 5px;
  499. padding: 5px;
  500. line-height: 24px;
  501. height: 20px;
  502. border-bottom-width: 2px;
  503. border-radius: 5px;
  504. }
  505. .header-container .btn-hide
  506. {
  507. display:none;
  508. }
  509. .header-container .btn-left
  510. {
  511. left:10px;
  512. right:auto;
  513. height: 20px;
  514. line-height: 20px;
  515. font-size: 12px;
  516. }
  517. .icon {
  518. width: 24px;
  519. height: 24px;
  520. line-height: 24px;
  521. display: inline-block;
  522. background-image: url(../img/icons-24.png);
  523. vertical-align: top;
  524. }
  525. .icon-more {
  526. background-position: 0 -24px;
  527. }
  528. .icon-ipad {
  529. background-position: 0 -48px;
  530. }
  531. .icon-wechat {
  532. background-position: 0 0;
  533. }
  534. .icon-url {
  535. background-position: 0 -72px;
  536. }
  537. .pannel .btn .icon {
  538. position: absolute;
  539. left: 10px;
  540. top: 50%;
  541. margin-top: -12px;
  542. }
  543. #page-finish {
  544. }
  545. #page-finish aside{
  546. text-align: center;
  547. }
  548. #page-finish .btn {
  549. margin-bottom: 10px;
  550. width: 80%;
  551. }
  552. .ui-progress-bar {
  553. margin: 0 0 2em 0;
  554. }
  555. /* ==========================================================================
  556. Media Queries
  557. ========================================================================== */
  558. @media only screen and (min-width: 480px) {
  559. .question-key {
  560. width: 8.5%;
  561. margin-right: 0.25%;
  562. margin-left: 0.25%;
  563. height: 2.5em;
  564. line-height: 2.5em;
  565. margin-bottom: 4px;
  566. }
  567. }
  568. /* smartphone landscape */
  569. @media only screen and (min-device-width: 320px)
  570. and (max-device-width: 640px)
  571. and (orientation : landscape) {
  572. .wrapper {
  573. margin:0;
  574. width: 100%;
  575. }
  576. .main {
  577. padding: 10px 0 0;
  578. }
  579. .main article {
  580. float: left;
  581. width: 40%;
  582. }
  583. .header-container {
  584. height: 32px;
  585. line-height: 32px;
  586. }
  587. .header-container h1 {
  588. font-size: 18px;
  589. line-height: 30px;
  590. text-align: left;
  591. padding-left: 10px;
  592. }
  593. .header-container .btn-openHelpPannel {
  594. height: 32px;
  595. line-height: 32px;
  596. }
  597. .header-container .btn-openHelpPannel .icon{
  598. width: 32px;
  599. height: 32px;
  600. line-height: 32px;
  601. background-image:url(../img/icons-48.png);
  602. background-size: 32px auto;
  603. background-position: 0 -32px;
  604. }
  605. .header-container .btn-left
  606. {
  607. height: 20px;
  608. line-height: 20px;
  609. font-size: 12px;
  610. }
  611. #start-icon {
  612. margin-top: 10px;
  613. float: right;
  614. }
  615. #start-btnPlay {
  616. margin-top: 60px;
  617. }
  618. #play-level {
  619. margin-left: 0;
  620. left: 5px;
  621. z-index: 99;
  622. }
  623. .question-pic {
  624. width: 150px;
  625. height: 150px;
  626. border-width: 5px;
  627. margin-top: 25px;
  628. }
  629. .main article{
  630. position: relative;
  631. }
  632. .question-answer {
  633. position: absolute;
  634. left:165%;
  635. top:0;
  636. }
  637. .answer-key {
  638. font-size: 1.5em;
  639. width: 1.5em;
  640. height: 1.5em;
  641. line-height: 1.5em;
  642. float: left;
  643. margin-right: 3px;
  644. border-radius: 5px;
  645. }
  646. .question-type {
  647. width: 150px;
  648. height: 25px;
  649. line-height: 20px;
  650. font-size: 0.6em;
  651. margin-left: -75px;
  652. top:-23px;
  653. }
  654. .main aside {
  655. float: right;
  656. width: 58%;
  657. }
  658. .question-keyboard {
  659. margin-top: 70px;
  660. }
  661. .question-key {
  662. font-size: 1.4em;
  663. width: 1.5em;
  664. height: 1.5em;
  665. line-height: 1.5em;
  666. margin-right: 5px;
  667. }
  668. hr {
  669. display:none;
  670. }
  671. #preload-ad {
  672. width:40%;
  673. float: left;
  674. display: inline-block;
  675. padding-top: 1em;
  676. }
  677. #progress_bar_container {
  678. float: right;
  679. display: inline-block;
  680. width: 58%;
  681. }
  682. #play-success-share,#play-success-next {
  683. display: inline-block;
  684. margin: 0 10px 0 10px;
  685. vertical-align: text-top;
  686. }
  687. .pannel .btn{
  688. width: 30%;
  689. vertical-align: top;
  690. }
  691. }
  692. @media
  693. (-webkit-min-device-pixel-ratio: 2),
  694. (min-resolution: 192dpi) {
  695. /* Retina-specific stuff here */
  696. .icon {
  697. background-image: url(../img/icons-48.png);
  698. background-size: 100% auto;
  699. }
  700. }
  701. @media only screen and (min-width: 768px) {
  702. .question-key {
  703. font-size: 1.5em;
  704. width: 2em;
  705. height: 2em;
  706. line-height: 2em;
  707. border-radius: 10px;
  708. border-bottom: 3px solid #aaa;
  709. margin-right: 5px;
  710. margin-left: 0;
  711. margin-bottom: 5px;
  712. }
  713. .question-key:active {
  714. border-top-width: 3px;
  715. }
  716. #start-icon {
  717. width: 320px;
  718. height: 320px;
  719. margin-bottom: 3em;
  720. }
  721. #start-level {
  722. width: 120px;
  723. height: 120px;
  724. line-height: 120px;
  725. font-size: 2.5em;
  726. }
  727. #start-btnPlay {
  728. padding: 30px 90px;
  729. font-size: 3em;
  730. border-bottom-width: 10px;
  731. }
  732. .question-pic {
  733. width: 350px;
  734. height: 350px;
  735. }
  736. .header-container {
  737. height: 64px;
  738. }
  739. .header-container h1 {
  740. line-height: 64px;
  741. font-size: 1.5em;
  742. }
  743. #play-level {
  744. width: 70px;
  745. height: 70px;
  746. line-height: 70px;
  747. margin-left: -35px;
  748. font-size: 1.5em;
  749. }
  750. #play-success .main {
  751. padding-top: 10%;
  752. }
  753. #play-success-title {
  754. font-size: 2.5em;
  755. }
  756. #play-success-level {
  757. width: 100px;
  758. height: 100px;
  759. line-height: 100px;
  760. font-size: 2em;
  761. }
  762. #play-success-title {
  763. font-size: 3em;
  764. }
  765. #play-success-answer {
  766. margin-bottom: 1em;
  767. margin-top: 0.5;
  768. font-size: 2.5em;
  769. }
  770. #play-success-next,#play-success-share {
  771. width: 30%;
  772. padding-top: 20px;
  773. padding-bottom: 20px;
  774. margin-bottom: 1em;
  775. font-size: 2em;
  776. }
  777. .pannel {
  778. margin-left: 30%;
  779. }
  780. .pannel .btn{
  781. width: 40%;
  782. display: block;
  783. vertical-align: top;
  784. }
  785. .question-key {
  786. font-size: 2em;
  787. width: 2em;
  788. height: 2em;
  789. line-height: 2em;
  790. border-radius: 10px;
  791. border-bottom: 3px solid #aaa;
  792. margin-right: 5px;
  793. margin-left: 0;
  794. margin-bottom: 5px;
  795. }
  796. .question-key:active {
  797. border-top-width: 3px;
  798. }
  799. .answer-key {
  800. font-size: 2em;
  801. width: 2em;
  802. height: 2em;
  803. line-height: 2em;
  804. }
  805. .header-container .btn-openHelpPannel {
  806. padding: 15px;
  807. }
  808. .header-container .btn-left
  809. {
  810. left:10px;
  811. right:auto;
  812. line-height: 30px;
  813. height: 30px;
  814. padding: 10px;
  815. }
  816. }
  817. @media only screen and (min-width: 1024px) {
  818. /* ====================
  819. WIDE: CSS3 Effects
  820. ==================== */
  821. hr {
  822. display: none;
  823. }
  824. /* ============
  825. WIDE: Main
  826. ============ */
  827. .main article {
  828. float: left;
  829. width: 57%;
  830. }
  831. .main aside {
  832. float: right;
  833. width: 38%;
  834. }
  835. .question-pic {
  836. width: 350px;
  837. height: 350px;
  838. margin-bottom: 1em;
  839. }
  840. .answer-key {
  841. font-size: 1.5em;
  842. width: 2em;
  843. height: 2em;
  844. line-height: 2em;
  845. }
  846. .question-keyboard {
  847. position: relative;
  848. top: 20px;
  849. }
  850. .question-key {
  851. font-size: 2em;
  852. width: 2em;
  853. height: 2em;
  854. line-height: 2em;
  855. border-radius: 10px;
  856. border-bottom: 3px solid #aaa;
  857. margin-right: 5px;
  858. margin-left: 0;
  859. margin-bottom: 5px;
  860. }
  861. #start-btnPlay {
  862. margin-top: 80px;
  863. }
  864. #play-success-share,#play-success-next {
  865. display: inline-block;
  866. margin: 0 15px 0 15px;
  867. vertical-align: text-top;
  868. }
  869. .pannel {
  870. margin-left: 40%;
  871. }
  872. .pannel .btn{
  873. width: 220px;
  874. display: block;
  875. padding-left: 50px;
  876. }
  877. h4 {
  878. color: #000;
  879. margin-bottom: 10px;
  880. font-size: 18px;
  881. }
  882. .credit {
  883. margin-bottom: 15px;
  884. min-height: 72px;
  885. display: block;
  886. }
  887. .credit img{
  888. border-radius: 36px;
  889. width: 72px;
  890. height: 72px;
  891. float: left;
  892. display: inline-block;
  893. vertical-align: top;
  894. }
  895. .credit span {
  896. height: 72px;
  897. line-height: 36px;
  898. font-size: 18px;
  899. width: 300px;
  900. padding-left: 10px;
  901. display: inline-block;
  902. }
  903. .header-container .btn-openHelpPannel {
  904. padding: 10px;
  905. }
  906. .header-container .btn-left
  907. {
  908. line-height: 30px;
  909. height: 30px;
  910. padding:5px;
  911. }
  912. }
  913. @media only screen and (min-width: 1140px) {
  914. /* ===============
  915. Maximal Width
  916. =============== */
  917. .wrapper {
  918. width: 1026px; /* 1140px - 10% for margins */
  919. margin: 0 auto;
  920. }
  921. .answer-key:hover, {
  922. background: #000;
  923. color: #dc8b0c;
  924. }
  925. }
  926. /* ==========================================================================
  927. Helper classes
  928. ========================================================================== */
  929. .ir {
  930. background-color: transparent;
  931. border: 0;
  932. overflow: hidden;
  933. *text-indent: -9999px;
  934. }
  935. .ir:before {
  936. content: "";
  937. display: block;
  938. width: 0;
  939. height: 150%;
  940. }
  941. .hidden {
  942. display: none !important;
  943. visibility: hidden;
  944. }
  945. .visuallyhidden {
  946. border: 0;
  947. clip: rect(0 0 0 0);
  948. height: 1px;
  949. margin: -1px;
  950. overflow: hidden;
  951. padding: 0;
  952. position: absolute;
  953. width: 1px;
  954. }
  955. .visuallyhidden.focusable:active,
  956. .visuallyhidden.focusable:focus {
  957. clip: auto;
  958. height: auto;
  959. margin: 0;
  960. overflow: visible;
  961. position: static;
  962. width: auto;
  963. }
  964. .invisible {
  965. visibility: hidden;
  966. }
  967. .clearfix:before,
  968. .clearfix:after {
  969. content: " ";
  970. display: table;
  971. }
  972. .clearfix:after {
  973. clear: both;
  974. }
  975. .clearfix {
  976. *zoom: 1;
  977. }