main.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. @page{
  2. size:auto;
  3. margin:0;
  4. }
  5. .page{
  6. box-sizing: border-box;
  7. width:210mm;
  8. // height:294mm;
  9. padding:10mm;
  10. page-break-after: always;
  11. h1{
  12. text-align: center;
  13. font-size: 1em;
  14. font-weight: 400;
  15. letter-spacing: 2px;
  16. }
  17. //.pagination{
  18. //position: absolute;
  19. //box-sizing: border-box;
  20. //width:30mm;
  21. //height:12mm;
  22. //page-break-after: always;
  23. // }
  24. //.pg{
  25. // text-align: center;
  26. //font-size: 1em;
  27. //font-family: "Computer Modern Serif"
  28. //font-style: bold;
  29. //font-weight: 400;
  30. //letter-spacing: 2px;
  31. //}
  32. .info_left{
  33. display:inline-block;
  34. vertical-align: top;
  35. width: 30%;
  36. height: 180px;
  37. margin-right: 30px;
  38. h2{
  39. margin-top:0;
  40. font-family: "Computer Modern Serif", serif;
  41. font-style: italic;
  42. text-align: left;
  43. font-size: 1em;
  44. font-weight: 400;
  45. letter-spacing: 2px;
  46. }
  47. h3{
  48. margin-top:0;
  49. font-family: "Computer Modern Serif", serif;
  50. text-align: left;
  51. font-size: 1em;
  52. font-weight: 400;
  53. letter-spacing: 2px;
  54. }
  55. }
  56. .info_right{
  57. display:inline-block;
  58. vertical-align: top;
  59. width:calc(66% - 30px);
  60. height: 180px;
  61. top: 0;
  62. //padding-top: 2em
  63. }
  64. &>p{
  65. // outline: 2px solid red;
  66. box-sizing: border-box;
  67. width: 100%;
  68. word-wrap: break-word;
  69. word-break: break-all;
  70. font-family: "Computer Modern Serif", serif;
  71. padding:0 160px;
  72. }
  73. span{
  74. font-family: "Computer Modern Serif", serif;
  75. font-size: 1em;
  76. font-weight: 400;
  77. }
  78. p{
  79. font-family: "Computer Modern Serif", serif;
  80. font-size: 1em;
  81. font-weight: 400;
  82. }
  83. }
  84. span.citation{
  85. font-family: "Computer Modern Serif", serif;
  86. font-size: 1em;
  87. font-weight: 400;
  88. }
  89. em{
  90. font-size: 0.8em;
  91. }
  92. pre, code{
  93. box-sizing: border-box;
  94. width: 100%;
  95. word-wrap: normal;
  96. word-break: break-all;
  97. }
  98. .info{
  99. width: calc(100% - 60px);
  100. padding-left:30px;
  101. padding-right:30px;
  102. font-family: Verdana, sans-serif;
  103. overflow: hidden;
  104. vertical-align: top;
  105. }
  106. ol{
  107. font-family: "Computer Modern Serif", serif;
  108. font-size: 1em;
  109. font-weight: 400;
  110. padding: 0 160;
  111. }
  112. // code{
  113. // padding: 10mm;
  114. // }