container.css 2.9 KB

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