_layout.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @use '@growi/core/scss/bootstrap/init' as bs;
  2. @use './variables' as var;
  3. .dynamic-layout-root {
  4. @extend .flex-expand-vert;
  5. }
  6. .grw-bg-image-wrapper {
  7. position: fixed;
  8. width: 100%;
  9. height: 100%;
  10. img {
  11. object-fit: cover;
  12. object-position: bottom;
  13. }
  14. }
  15. .grw-modal-head {
  16. border-bottom: 1px solid transparent;
  17. }
  18. .grw-scrollable-modal-body {
  19. max-height: calc(100vh - 330px);
  20. overflow-y: scroll;
  21. }
  22. .page-wrapper {
  23. display: flex;
  24. flex-direction: column;
  25. }
  26. // padding settings for GrowiNavbarBottom
  27. .page-wrapper {
  28. padding-bottom: var.$grw-navbar-bottom-height;
  29. @include bs.media-breakpoint-up(md) {
  30. padding-bottom: unset;
  31. }
  32. }
  33. .main {
  34. margin-top: 1rem;
  35. @include bs.media-breakpoint-up(lg) {
  36. margin-top: 2rem;
  37. }
  38. }
  39. // printable style
  40. @media print {
  41. body {
  42. padding: 30px;
  43. }
  44. a:after {
  45. display: none !important;
  46. }
  47. .main {
  48. header {
  49. border-bottom: solid 1px bs.$secondary;
  50. h1 {
  51. font-size: 2em;
  52. color: black;
  53. }
  54. }
  55. .row {
  56. display: block !important;
  57. }
  58. .meta {
  59. margin-top: 32px;
  60. color: bs.$secondary;
  61. border-top: solid 1px bs.$gray-300;
  62. }
  63. }
  64. }