app.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. @import './base/reset';
  2. @import './base/variables';
  3. @import './base/colors';
  4. @import './base/grid-flex';
  5. @import './base/layout';
  6. @import './base/fonts';
  7. @import './base/transitions';
  8. body{
  9. color: #1a1a1a;
  10. }
  11. #root{
  12. }
  13. .red{
  14. background-color: red;
  15. color:white;
  16. }
  17. header[role="banner"]{
  18. padding:1em;
  19. // pointer-events: none;
  20. cursor: pointer;
  21. h2{
  22. font-weight: 400;
  23. font-size: 1.323em;
  24. margin:0;
  25. }
  26. h1{
  27. font-weight: 400;
  28. font-size: 1.323em;
  29. margin:0.5em 0;
  30. sup{
  31. background-color: #1a1a1a;
  32. border-radius: 5px;
  33. color: #fff;
  34. padding:0.2em 0.5em 0.05em 0.5em;
  35. font-size: 0.4em;
  36. }
  37. }
  38. }
  39. section[role="main-content"]{
  40. #content{
  41. position: absolute;
  42. left: 0; top:0;
  43. width: 100%; height: 100%;
  44. background-color: rgba(0, 0, 0, 0.6);
  45. >.wrapper{
  46. position: relative;
  47. margin:5% 20%;
  48. padding:1em;
  49. overflow-y: hidden;
  50. background-color: #fff;
  51. border-radius: 5px;
  52. height: 80%;
  53. box-sizing:border-box;
  54. }
  55. >.wrapper{
  56. display: flex;
  57. flex-direction: column;
  58. >header{
  59. padding:0.5em 0;
  60. h1{
  61. font-size: 1.323em;
  62. font-weight: normal;
  63. margin: 0
  64. }
  65. .close-btn{
  66. display: block;
  67. width:1em; height:1em;
  68. position: absolute;
  69. top:1em; right:1em;
  70. background-color: #1a1a1a;
  71. cursor: pointer;
  72. text-align: center;
  73. border-radius: 5px;
  74. font-weight: bold;
  75. line-height: 1;
  76. color: #fff;
  77. }
  78. }
  79. >section{
  80. overflow-y: auto;
  81. div.text{
  82. white-space: pre-wrap;
  83. font-weight: 300;
  84. line-height: 1.2;
  85. }
  86. img{
  87. max-width:100%;
  88. }
  89. }
  90. }
  91. }
  92. .modale-title{
  93. position: absolute;
  94. padding:0.5em;
  95. margin: 0 0.5em 0.5em 0;
  96. background-color: rgba(255,255,255,0.6);
  97. border-radius: 3px;
  98. pointer-events: none;
  99. }
  100. }
  101. .elevator{
  102. position: absolute;
  103. right:0;
  104. top:43%;
  105. ul{
  106. padding:1em;
  107. background-color: rgba(255, 255, 255, 0.6);
  108. border-radius: 3px;
  109. li{
  110. padding:0.25em 0;
  111. text-align: right;
  112. min-width: 4em;
  113. cursor: pointer;
  114. &:hover, &.active{
  115. font-weight: bold;
  116. }
  117. }
  118. }
  119. }