A new Riff-radio.org site with a static approach.

nikola_rst.css 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. div.admonition, div.attention, div.caution, div.danger, div.error,
  2. div.hint, div.important, div.note, div.tip, div.warning, div.sidebar,
  3. div.system-message {
  4. /* stolen from Boostrap 4 (.card) */
  5. margin-bottom: 2rem;
  6. position: relative;
  7. display: -webkit-box;
  8. display: -ms-flexbox;
  9. display: flex;
  10. -webkit-box-orient: vertical;
  11. -webkit-box-direction: normal;
  12. -ms-flex-direction: column;
  13. flex-direction: column;
  14. min-width: 0;
  15. word-wrap: break-word;
  16. background-color: #fff;
  17. color: #212529;
  18. background-clip: border-box;
  19. border: 1px solid rgba(0,0,0,.125);
  20. border-radius: .25rem;
  21. padding: 0;
  22. }
  23. div.attention, div.caution, div.danger, div.error, div.warning {
  24. /* stolen from Boostrap 3 (.border-danger) */
  25. border-color: #dc3545!important;
  26. }
  27. div.admonition p, div.hint p,
  28. div.important p, div.note p,
  29. div.tip p, div.sidebar p,
  30. div.attention p, div.caution p,
  31. div.danger p, div.error p,
  32. div.warning p, div.system-message p {
  33. padding-left: 1rem;
  34. padding-right: 1rem;
  35. }
  36. div.admonition p.admonition-title, div.hint p.admonition-title,
  37. div.important p.admonition-title, div.note p.admonition-title,
  38. div.tip p.admonition-title, div.sidebar p.sidebar-title,
  39. div.attention p.admonition-title, div.caution p.admonition-title,
  40. div.danger p.admonition-title, div.error p.admonition-title,
  41. div.warning p.admonition-title, div.system-message p.system-message-title {
  42. /* stolen from Boostrap 4 (.card .card-header) */
  43. font-weight: 400;
  44. font-size: 1.25rem;
  45. padding: .75rem 1.25rem;
  46. margin-bottom: 1rem;
  47. background-color: rgba(0,0,0,.03);
  48. border-bottom: 1px solid rgba(0,0,0,.125);
  49. }
  50. div.attention p.admonition-title, div.caution p.admonition-title,
  51. div.danger p.admonition-title, div.error p.admonition-title,
  52. div.warning p.admonition-title, div.system-message p.system-message-title {
  53. /* stolen from Boostrap 4 (.card .card-header .bg-danger) */
  54. background-color: #dc3545;
  55. color: white;
  56. }
  57. div.sidebar {
  58. margin-right: 0;
  59. }
  60. /* Improved margin overrides */
  61. div.topic,
  62. pre.literal-block,
  63. pre.doctest-block,
  64. pre.math,
  65. pre.code,
  66. div.code {
  67. margin-left: 1rem;
  68. margin-right: 1rem;
  69. }
  70. div.code {
  71. margin-bottom: 1rem;
  72. }