user-content.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. .user-content .user-image {
  2. min-width: var(--user-image-width);
  3. width: var(--user-image-width);
  4. height: var(--user-image-width);
  5. max-height: var(--user-image-width);
  6. background-size: cover;
  7. }
  8. /* .user-social-item {
  9. margin-right: .85rem;
  10. } */
  11. .user-social-item .platform-icon {
  12. --icon-width: 28px;
  13. height: var(--icon-width);
  14. width: var(--icon-width);
  15. background-size: cover;
  16. }
  17. /*
  18. EXTRA CUSTOM CONTENT STYLES
  19. Assumes markup converted from markdown input.
  20. */
  21. #extra-user-content ul,
  22. #extra-user-content ol {
  23. margin: 0;
  24. padding: 0;
  25. }
  26. #extra-user-content ol {
  27. list-style: decimal;
  28. margin-left: 1.5rem;
  29. }
  30. #extra-user-content ul {
  31. list-style: unset;
  32. margin-left: 1.5rem;
  33. }
  34. #extra-user-content h1,
  35. #extra-user-content h2,
  36. #extra-user-content h3,
  37. #extra-user-content h4,
  38. #extra-user-content h5,
  39. #extra-user-content h6 {
  40. margin: 0;
  41. padding: 0;
  42. margin: 1.5rem 0 .5rem;
  43. font-weight: 600;
  44. line-height: 1.2;
  45. }
  46. #extra-user-content h1 {
  47. font-size: 2.1rem;
  48. }
  49. #extra-user-content h2 {
  50. font-size: 1.8rem;
  51. }
  52. #extra-user-content h3 {
  53. font-size: 1.5rem;
  54. }
  55. #extra-user-content h4 {
  56. font-size: 1.2rem;
  57. }
  58. #extra-user-content h5 {
  59. font-size: 1.25rem;
  60. }
  61. #extra-user-content h6 {
  62. font-weight: 400;
  63. font-size: 1rem;
  64. }
  65. #extra-user-content p {
  66. margin-top: 0;
  67. margin-bottom: 1rem;
  68. }
  69. #extra-user-content a {
  70. color: #0099ff;
  71. }
  72. #extra-user-content li {
  73. line-height: 1.5rem;
  74. }
  75. #extra-user-content li ul,
  76. #extra-user-content li ul {
  77. margin-left: 1.5rem;
  78. }
  79. #extra-user-content blockquote {
  80. border-left: .25rem solid #bbc;
  81. padding: 0 1rem;
  82. }
  83. #extra-user-content blockquote p {
  84. margin: 1rem 0;
  85. }
  86. #extra-user-content pre,
  87. #extra-user-content code {
  88. font-family: monospace;
  89. font-size: .85rem;
  90. background-color: #eee;
  91. color: #900;
  92. }
  93. #extra-user-content pre {
  94. margin: 1rem 0;
  95. padding: 1rem;
  96. max-width: 80%;
  97. white-space: pre-wrap;
  98. }
  99. #extra-user-content aside {
  100. display: block;
  101. float: right;
  102. width: 35%;
  103. }
  104. #extra-user-content hr {
  105. width: 100%;
  106. border-top: 1px solid #666;
  107. margin-bottom: 1rem;
  108. }
  109. #extra-user-content table {
  110. border-collapse: collapse;
  111. margin: 1em 1rem;
  112. border: 1px solid #CCC;
  113. }
  114. #extra-user-content table thead {
  115. background-color: #eee;
  116. }
  117. #extra-user-content table thead td {
  118. color: #666;
  119. }
  120. #extra-user-content table td {
  121. padding: 0.5rem 1rem;
  122. border: 1px solid #CCC;
  123. }