app.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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: 1em;
  23. }
  24. }
  25. section[role="main-content"]{
  26. #content{
  27. position: absolute;
  28. left: 0; top:0;
  29. width: 100%; height: 100%;
  30. background-color: rgba(0, 0, 0, 0.6);
  31. >.wrapper{
  32. position: relative;
  33. margin:5% 10%;
  34. padding:1em;
  35. overflow-y: hidden;
  36. background-color: #fff;
  37. border-radius: 5px;
  38. height: 80%;
  39. box-sizing:border-box;
  40. }
  41. >.wrapper{
  42. display: flex;
  43. flex-direction: column;
  44. >header{
  45. padding:0.5em 0;
  46. h1{
  47. font-size: 1.323em;
  48. font-weight: normal;
  49. margin: 0
  50. }
  51. .close-btn{
  52. display: block;
  53. width:1em; height:1em;
  54. position: absolute;
  55. top:1em; right:1em;
  56. background-color: #1a1a1a;
  57. cursor: pointer;
  58. text-align: center;
  59. border-radius: 5px;
  60. font-weight: bold;
  61. line-height: 1;
  62. color: #fff;
  63. }
  64. }
  65. >section{
  66. overflow-y: auto;
  67. div.text{
  68. white-space: pre-wrap;
  69. font-weight: 300;
  70. line-height: 1.2;
  71. }
  72. img{
  73. max-width:100%;
  74. }
  75. }
  76. }
  77. }
  78. }