_misc.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. html {
  2. // push footer to bottom
  3. position: relative;
  4. min-height: 100%;
  5. }
  6. body {
  7. // Margin bottom by footer height
  8. margin-bottom: 60px;
  9. }
  10. .emoji {
  11. vertical-align: middle;
  12. width: 20px;
  13. height: 20px;
  14. }
  15. .flaskbb-footer {
  16. position: absolute;
  17. bottom: 0;
  18. // Set the fixed height of the footer here
  19. height: 60px;
  20. width: 100%;
  21. // use the same width as container
  22. //padding-top: 1em;
  23. }
  24. .flaskbb-layout {
  25. padding-top: 20px;
  26. }
  27. .flaskbb-header {
  28. color: #fff;
  29. text-align: left;
  30. text-shadow: 0 1px 0 rgba(0,0,0,.1);
  31. background-color: $header-background-primary;
  32. background-image: -webkit-linear-gradient(top, $header-background-secondary 0%, $header-background-primary 100%);
  33. background-image: linear-gradient(to bottom, $header-background-secondary 0%, $header-background-primary 100%);
  34. background-repeat: repeat-x;
  35. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$header-background-secondary', endColorstr='$header-background-primary', GradientType=0);
  36. border: 1px solid $border-color;
  37. border-bottom: 0;
  38. position: relative;
  39. height: 12em;
  40. padding: 2.5em 2em;
  41. margin-top: 0.5em;
  42. .flaskbb-meta {
  43. .flaskbb-title {
  44. color: $header-title-color;
  45. font-size: 3em;
  46. font-weight: bold;
  47. }
  48. .flaskbb-subtitle {
  49. color: $header-subtitle-color;
  50. }
  51. }
  52. }
  53. .flaskbb-navbar {
  54. border-bottom: 1px solid $border-color;
  55. border-left: 1px solid $border-color;
  56. border-right: 1px solid $border-color;
  57. margin-bottom: 1rem;
  58. }
  59. .flaskbb-breadcrumb {
  60. border: 1px solid $border-color;
  61. border-radius: 0;
  62. padding: 0.5em 1em;
  63. }
  64. p.flaskbb-stats {
  65. margin: 0;
  66. padding: 0;
  67. }
  68. .controls-row {
  69. padding: 0.5em 0;
  70. margin: 0;
  71. .pagination {
  72. padding: 0;
  73. margin: 0;
  74. }
  75. }
  76. .controls-col {
  77. margin: 0;
  78. padding: 0;
  79. }
  80. .settings-col {
  81. padding: 0;
  82. }
  83. .inline-form {
  84. display: inline;
  85. }
  86. .form {
  87. padding-bottom: 1.5em;
  88. }
  89. .cheatsheet {
  90. h2 {
  91. text-align: center;
  92. font-size: 1.6em;
  93. border-radius: 2px;
  94. background-clip: padding-box;
  95. padding: 10px 0;
  96. }
  97. .emojis {
  98. text-align: center;
  99. }
  100. .typography {
  101. column-count: 3;
  102. column-gap: 4px;
  103. text-align: center;
  104. }
  105. .code-example {
  106. width: 100%;
  107. position: relative;
  108. margin-bottom: 1em;
  109. column-count: 2;
  110. column-gap: -4px;
  111. .markup {
  112. padding: 0;
  113. }
  114. }
  115. }