main.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. html,body{
  2. margin:0; padding:0;
  3. background-color: #1A1A1A;
  4. }
  5. $debug:false;
  6. $pw:227.41mm;
  7. $ph:207.26mm;
  8. $mt:1cm;
  9. $mb:1cm;
  10. $me:1cm;
  11. $mi:1cm;
  12. #header{
  13. position: fixed;
  14. display: none;
  15. }
  16. #main{
  17. height:$ph;
  18. width:2.001*$pw;
  19. margin:0 auto;
  20. #page-left{
  21. float:left;
  22. // padding:$mt $mi $mb $me;
  23. // background-image: url("../../images/pages/01_anan.jpeg");
  24. background-position: right;
  25. }
  26. #page-right{
  27. float: right;
  28. // padding:$mt $me $mb $mi;
  29. // background-image: url("../../images/pages/02_TH.jpeg");
  30. background-position: left;
  31. }
  32. .page{
  33. position: relative;
  34. @if $debug {
  35. background-color: green;
  36. }
  37. width:$pw;
  38. height:$ph;
  39. background-repeat: no-repeat;
  40. background-size: contain;
  41. .overlay{
  42. position: relative;
  43. width:100%; height:100%;
  44. background-position: center;
  45. background-repeat: no-repeat;
  46. background-size: contain;
  47. z-index: 1;
  48. @if $debug {
  49. border: 1px solid blue;
  50. }
  51. // img{max-width: 100%;}
  52. }
  53. .maps{
  54. position:absolute;
  55. top:0; left:0;
  56. width:100%; height:100%;
  57. z-index: 2;
  58. .map{
  59. position: absolute;
  60. background-color: rgba(50, 50, 50, 0.8);
  61. cursor: pointer;
  62. }
  63. }
  64. &.page-6 .overlay{
  65. background-image: url("../../images/vectos/04_chance-RB.svg")
  66. }
  67. }
  68. }