You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

143 lines
2.8 KiB

  1. /*!
  2. * # Semantic UI 2.1.6 - Container
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Container
  13. *******************************/
  14. /* All Sizes */
  15. .ui.container {
  16. display: block;
  17. max-width: 100% !important;
  18. }
  19. /* Mobile */
  20. @media only screen and (max-width: 687px) {
  21. .ui.container {
  22. width: auto !important;
  23. margin-left: 1em !important;
  24. margin-right: 1em !important;
  25. }
  26. .ui.grid.container {
  27. width: auto !important;
  28. }
  29. .ui.relaxed.grid.container {
  30. width: auto !important;
  31. }
  32. .ui.very.relaxed.grid.container {
  33. width: auto !important;
  34. }
  35. }
  36. /* Tablet */
  37. @media only screen and (min-width: 688px) and (max-width: 687px) {
  38. .ui.container {
  39. width: 645px;
  40. margin-left: auto !important;
  41. margin-right: auto !important;
  42. }
  43. .ui.grid.container {
  44. width: calc( 645px + 2rem ) !important;
  45. }
  46. .ui.relaxed.grid.container {
  47. width: calc( 645px + 3rem ) !important;
  48. }
  49. .ui.very.relaxed.grid.container {
  50. width: calc( 645px + 5rem ) !important;
  51. }
  52. }
  53. /* Small Monitor */
  54. @media only screen and (min-width: 688px) and (max-width: 687px) {
  55. .ui.container {
  56. width: 632px;
  57. margin-left: auto !important;
  58. margin-right: auto !important;
  59. }
  60. .ui.grid.container {
  61. width: calc( 632px + 2rem ) !important;
  62. }
  63. .ui.relaxed.grid.container {
  64. width: calc( 632px + 3rem ) !important;
  65. }
  66. .ui.very.relaxed.grid.container {
  67. width: calc( 632px + 5rem ) !important;
  68. }
  69. }
  70. /* Large Monitor */
  71. @media only screen and (min-width: 688px) {
  72. .ui.container {
  73. width: 619px;
  74. margin-left: auto !important;
  75. margin-right: auto !important;
  76. }
  77. .ui.grid.container {
  78. width: calc( 619px + 2rem ) !important;
  79. }
  80. .ui.relaxed.grid.container {
  81. width: calc( 619px + 3rem ) !important;
  82. }
  83. .ui.very.relaxed.grid.container {
  84. width: calc( 619px + 5rem ) !important;
  85. }
  86. }
  87. /*******************************
  88. Types
  89. *******************************/
  90. /* Text Container */
  91. .ui.text.container {
  92. font-family: 'Arial', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  93. max-width: 700px !important;
  94. line-height: 1.5;
  95. }
  96. .ui.text.container {
  97. font-size: 1.15384615rem;
  98. }
  99. /* Fluid */
  100. .ui.fluid.container {
  101. width: 100%;
  102. }
  103. /*******************************
  104. Variations
  105. *******************************/
  106. .ui[class*="left aligned"].container {
  107. text-align: left;
  108. }
  109. .ui[class*="center aligned"].container {
  110. text-align: center;
  111. }
  112. .ui[class*="right aligned"].container {
  113. text-align: right;
  114. }
  115. .ui.justified.container {
  116. text-align: justify;
  117. -webkit-hyphens: auto;
  118. -moz-hyphens: auto;
  119. -ms-hyphens: auto;
  120. hyphens: auto;
  121. }
  122. /*******************************
  123. Site Overrides
  124. *******************************/