maintenance-page.css

Same filename in this branch
  1. 8.9.x core/themes/seven/css/theme/maintenance-page.css
  2. 8.9.x core/themes/claro/css/theme/maintenance-page.css
Same filename in other branches
  1. 7.x themes/bartik/css/maintenance-page.css
  2. 9 core/themes/olivero/css/components/maintenance-page.css
  3. 9 core/themes/seven/css/theme/maintenance-page.css
  4. 9 core/themes/claro/css/theme/maintenance-page.css
  5. 9 core/themes/bartik/css/maintenance-page.css
  6. 10 core/themes/olivero/css/components/maintenance-page.css
  7. 10 core/themes/claro/css/theme/maintenance-page.css
  8. 11.x core/themes/olivero/css/components/maintenance-page.css
  9. 11.x core/themes/claro/css/theme/maintenance-page.css
body.maintenance-page {
  color: #000;
  background-color: #fff;
}
.maintenance-page #page-wrapper {
  min-width: 0;
  min-height: 0;
  margin-top: 40px;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #ddd;
  background: #fff;
}
.maintenance-page #page {
  margin: 10px;
}
.maintenance-page #main-wrapper {
  min-height: inherit;
}
.maintenance-page #header {
  width: auto;
}
.maintenance-page #main {
  margin: 0;
}
.maintenance-page .content .section {
  padding: 0 0 0 10px; /* LTR */
}
[dir="rtl"] .maintenance-page .content .section {
  padding-right: 10px;
  padding-left: 0;
}
.maintenance-page #header {
  background-color: #fff;
  background-image: none;
}
.maintenance-page .site-branding-text {
  margin-bottom: 50px;
  margin-left: 0; /* LTR */
  padding-top: 20px;
  font-size: 90%;
}
[dir="rtl"] .maintenance-page .site-branding-text {
  margin-right: 0;
}
.maintenance-page .site-branding-text,
.maintenance-page .site-branding-text a,
.maintenance-page .site-branding-text a:hover,
.maintenance-page .site-branding-text a:focus {
  color: #777;
}
.maintenance-page .page-title {
  margin-top: 0;
  line-height: 1em;
}

@media all and (min-width: 800px) {
  .maintenance-page #page-wrapper {
    width: 800px;
  }
  .maintenance-page #header div.section,
  .maintenance-page #main {
    width: 700px;
  }
}

@media all and (min-width: 600px) { /* @TODO find the proper breakpoint */
  .maintenance-page #page {
    margin: 20px 40px 40px;
  }
}

File

core/themes/bartik/css/maintenance-page.css

View source
  1. body.maintenance-page {
  2. color: #000;
  3. background-color: #fff;
  4. }
  5. .maintenance-page #page-wrapper {
  6. min-width: 0;
  7. min-height: 0;
  8. margin-top: 40px;
  9. margin-right: auto;
  10. margin-left: auto;
  11. border: 1px solid #ddd;
  12. background: #fff;
  13. }
  14. .maintenance-page #page {
  15. margin: 10px;
  16. }
  17. .maintenance-page #main-wrapper {
  18. min-height: inherit;
  19. }
  20. .maintenance-page #header {
  21. width: auto;
  22. }
  23. .maintenance-page #main {
  24. margin: 0;
  25. }
  26. .maintenance-page .content .section {
  27. padding: 0 0 0 10px; /* LTR */
  28. }
  29. [dir="rtl"] .maintenance-page .content .section {
  30. padding-right: 10px;
  31. padding-left: 0;
  32. }
  33. .maintenance-page #header {
  34. background-color: #fff;
  35. background-image: none;
  36. }
  37. .maintenance-page .site-branding-text {
  38. margin-bottom: 50px;
  39. margin-left: 0; /* LTR */
  40. padding-top: 20px;
  41. font-size: 90%;
  42. }
  43. [dir="rtl"] .maintenance-page .site-branding-text {
  44. margin-right: 0;
  45. }
  46. .maintenance-page .site-branding-text,
  47. .maintenance-page .site-branding-text a,
  48. .maintenance-page .site-branding-text a:hover,
  49. .maintenance-page .site-branding-text a:focus {
  50. color: #777;
  51. }
  52. .maintenance-page .page-title {
  53. margin-top: 0;
  54. line-height: 1em;
  55. }
  56. @media all and (min-width: 800px) {
  57. .maintenance-page #page-wrapper {
  58. width: 800px;
  59. }
  60. .maintenance-page #header div.section,
  61. .maintenance-page #main {
  62. width: 700px;
  63. }
  64. }
  65. @media all and (min-width: 600px) { /* @TODO find the proper breakpoint */
  66. .maintenance-page #page {
  67. margin: 20px 40px 40px;
  68. }
  69. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.