app.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. h1{
  21. font-weight: 400;
  22. font-size: 1.323em;
  23. sup{
  24. background-color: #1a1a1a;
  25. border-radius: 5px;
  26. color: #fff;
  27. padding:0.1em 0.3em;
  28. font-size: 0.5em;
  29. }
  30. }
  31. h2{
  32. font-weight: 400;
  33. font-size: 1em;
  34. }
  35. }
  36. section[role="main-content"]{
  37. #content{
  38. position: absolute;
  39. left: 0; top:0;
  40. width: 100%; height: 100%;
  41. background-color: rgba(0, 0, 0, 0.6);
  42. >.wrapper{
  43. position: relative;
  44. margin:5% 20%;
  45. padding:1em;
  46. overflow-y: hidden;
  47. background-color: #fff;
  48. border-radius: 5px;
  49. height: 80%;
  50. box-sizing:border-box;
  51. }
  52. >.wrapper{
  53. display: flex;
  54. flex-direction: column;
  55. >header{
  56. padding:0.5em 0;
  57. h1{
  58. font-size: 1.323em;
  59. font-weight: normal;
  60. margin: 0
  61. }
  62. .close-btn{
  63. display: block;
  64. width:1em; height:1em;
  65. position: absolute;
  66. top:1em; right:1em;
  67. background-color: #1a1a1a;
  68. cursor: pointer;
  69. text-align: center;
  70. border-radius: 5px;
  71. font-weight: bold;
  72. line-height: 1;
  73. color: #fff;
  74. }
  75. }
  76. >section{
  77. overflow-y: auto;
  78. div.text{
  79. white-space: pre-wrap;
  80. font-weight: 300;
  81. line-height: 1.2;
  82. }
  83. img{
  84. max-width:100%;
  85. }
  86. }
  87. }
  88. }
  89. }
  90. .elevator{
  91. position: absolute;
  92. right:0;
  93. top:43%;
  94. ul{
  95. padding:1em;
  96. background-color: rgba(255, 255, 255, 0.6);
  97. li{
  98. padding:0.25em 0;
  99. text-align: right;
  100. min-width: 5em;
  101. cursor: pointer;
  102. &:hover, &.active{
  103. font-weight: bold;
  104. }
  105. }
  106. }
  107. }