markdownKatex.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. @import "~katex/dist/katex.css";
  2. //https://github.com/syarn indresorhus/github-markdown-css
  3. //@import "~github-markdown-css/github-markdown.css";
  4. .renderedPanel {
  5. direction: rtl;
  6. p:first-child {
  7. display: inline-block;
  8. }
  9. &.ltr {
  10. direction: ltr;
  11. }
  12. &.choice {
  13. display: flex;
  14. flex-direction: row;
  15. }
  16. img {
  17. max-width: 100%;
  18. }
  19. .katex {
  20. direction: ltr;
  21. display: inline-block;
  22. .katex-html {
  23. .accent {
  24. background-color: unset !important;
  25. border-color: unset !important;
  26. }
  27. }
  28. }
  29. strong > strong > s {
  30. text-decoration: underline;
  31. text-underline-position: under;
  32. }
  33. .beit {
  34. display: inline-block;
  35. width: 100%;
  36. .mesra {
  37. width: 50%;
  38. float: right;
  39. p {
  40. position: relative;
  41. margin: 0;
  42. }
  43. }
  44. .mesra:first-child {
  45. margin-left: 20px;
  46. width: calc( 50% - 20px );
  47. }
  48. }
  49. .mesra {
  50. width: 50%;
  51. float: right;
  52. }
  53. td, th {
  54. text-align: center;
  55. padding: 10px 20px;
  56. border: 1px solid black;
  57. }
  58. th {
  59. border-bottom: 2px solid #000;
  60. }
  61. table {
  62. border-collapse: collapse;
  63. }
  64. @media only screen and (max-width: 800px) {
  65. .mesra {
  66. width: 100%;
  67. float: none;
  68. }
  69. }
  70. }