topic-page.css 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .ks-topic-bg-image {
  2. background-repeat: no-repeat;
  3. background-attachment: scroll;
  4. background-size: 320px auto;
  5. background-position: center; /*0 0*/
  6. height: 100%;
  7. width: 100%;
  8. position: absolute;
  9. }
  10. .layer_anim {
  11. position: absolute;
  12. transition: all .4s;
  13. -moz-transition: all .4s; /* Firefox 4 */
  14. -webkit-transition: all .4s; /* Safari and Chrome */
  15. -o-transition: all .4s; /* Opera */
  16. }
  17. /* **** layer center **** */
  18. .layer_center {
  19. left: 50%;
  20. margin-left: -80px;
  21. top: 50%;
  22. margin-top: -30px;
  23. }
  24. .layer_center_move_up_ {
  25. top: 70%;
  26. opacity: 0;
  27. }
  28. .layer_center_move_up {
  29. opacity: 1;
  30. }
  31. .layer_center_move_left_ {
  32. left: 70%;
  33. opacity: 0;
  34. }
  35. .layer_center_move_left {
  36. opacity: 1;
  37. }
  38. /* **** layer lefttop **** */
  39. .layer_lefttop {
  40. left: 10%;
  41. top: 10%;
  42. }
  43. .layer_lefttop_move_up_ {
  44. top: 30%;
  45. opacity: 0;
  46. }
  47. .layer_lefttop_move_up {
  48. opacity: 1;
  49. }
  50. .layer_lefttop_move_left_ {
  51. left: 30%;
  52. opacity: 0;
  53. }
  54. .layer_lefttop_move_left {
  55. opacity: 1;
  56. }
  57. .topic_button {
  58. position: absolute;
  59. z-index: 100;
  60. }
  61. .topic_button img {
  62. width: 100%;
  63. }