wishthis/semantic/dist/components/container.css

239 lines
4.7 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
2022-09-30 13:48:25 +00:00
* # Fomantic-UI 2.9.0-beta.323+b4c18ce - Container
2022-01-13 13:00:31 +00:00
* http://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Container
*******************************/
/* All Sizes */
.ui.container {
display: block;
max-width: 100%;
}
/* Mobile */
2022-02-25 15:21:56 +00:00
@media only screen and (max-width: 767.98px) {
2022-01-13 13:00:31 +00:00
.ui.ui.ui.container:not(.fluid) {
width: auto;
margin-left: 1em;
margin-right: 1em;
}
.ui.ui.ui.grid.container {
width: auto;
}
.ui.ui.ui.relaxed.grid.container {
width: auto;
}
.ui.ui.ui.very.relaxed.grid.container {
width: auto;
}
}
/* Tablet */
2022-02-25 15:21:56 +00:00
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
2022-01-13 13:00:31 +00:00
.ui.ui.ui.container:not(.fluid) {
2022-08-05 09:25:53 +00:00
width: 713.66666667px;
2022-01-13 13:00:31 +00:00
margin-left: auto;
margin-right: auto;
}
.ui.ui.ui.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(713.6666666666666px + 2rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.relaxed.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(713.6666666666666px + 3rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.very.relaxed.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(713.6666666666666px + 5rem);
2022-01-13 13:00:31 +00:00
}
}
/* Small Monitor */
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
.ui.ui.ui.container:not(.fluid) {
2022-08-05 09:25:53 +00:00
width: 919px;
2022-01-13 13:00:31 +00:00
margin-left: auto;
margin-right: auto;
}
.ui.ui.ui.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(919px + 2rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.relaxed.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(919px + 3rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.very.relaxed.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(919px + 5rem);
2022-01-13 13:00:31 +00:00
}
}
/* Large Monitor */
@media only screen and (min-width: 1200px) {
.ui.ui.ui.container:not(.fluid) {
2022-08-05 09:25:53 +00:00
width: 1108.33333333px;
2022-01-13 13:00:31 +00:00
margin-left: auto;
margin-right: auto;
}
.ui.ui.ui.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(1108.3333333333333px + 2rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.relaxed.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(1108.3333333333333px + 3rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.very.relaxed.grid.container {
2022-08-05 09:25:53 +00:00
width: calc(1108.3333333333333px + 5rem);
2022-01-13 13:00:31 +00:00
}
}
/*******************************
Types
*******************************/
/* Text Container */
.ui.text.container {
2022-09-22 08:15:11 +00:00
font-family: 'Raleway', sans-serif;
2022-01-13 13:00:31 +00:00
max-width: 700px;
line-height: 1.5;
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
}
/* Wide Container */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
.ui.ui.ui.wide.container {
width: 856.4px;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
.ui.ui.ui.wide.container {
width: 1102.8px;
}
}
@media only screen and (min-width: 1200px) {
.ui.ui.ui.wide.container {
width: 1330px;
}
2022-01-13 13:00:31 +00:00
}
/* Fluid */
.ui.fluid.container {
width: 100%;
}
/*******************************
Variations
*******************************/
.ui[class*="left aligned"].container {
text-align: left;
}
.ui[class*="center aligned"].container {
text-align: center;
}
.ui[class*="right aligned"].container {
text-align: right;
}
.ui.justified.container {
text-align: justify;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
2022-08-05 09:25:53 +00:00
/*--------------
Scrolling
---------------*/
.ui.scrolling.container {
overflow: auto;
}
@media only screen and (max-width: 767.98px) {
.ui.scrolling.container.short {
max-height: 11.25em;
}
.ui.scrolling.container[class*="very short"] {
max-height: 7.5em;
}
.ui.scrolling.container {
max-height: 15em;
}
.ui.scrolling.container.long {
max-height: 30em;
}
.ui.scrolling.container[class*="very long"] {
max-height: 45em;
}
}
@media only screen and (min-width: 768px) {
.ui.scrolling.container.short {
max-height: 13.5em;
}
.ui.scrolling.container[class*="very short"] {
max-height: 9em;
}
.ui.scrolling.container {
max-height: 18em;
}
.ui.scrolling.container.long {
max-height: 36em;
}
.ui.scrolling.container[class*="very long"] {
max-height: 54em;
}
}
@media only screen and (min-width: 992px) {
.ui.scrolling.container.short {
max-height: 18em;
}
.ui.scrolling.container[class*="very short"] {
max-height: 12em;
}
.ui.scrolling.container {
max-height: 24em;
}
.ui.scrolling.container.long {
max-height: 48em;
}
.ui.scrolling.container[class*="very long"] {
max-height: 72em;
}
}
@media only screen and (min-width: 1920px) {
.ui.scrolling.container.short {
max-height: 22.5em;
}
.ui.scrolling.container[class*="very short"] {
max-height: 15em;
}
.ui.scrolling.container {
max-height: 30em;
}
.ui.scrolling.container.long {
max-height: 60em;
}
.ui.scrolling.container[class*="very long"] {
max-height: 90em;
}
}
2022-01-13 13:00:31 +00:00
/*******************************
Theme Overrides
*******************************/
/*******************************
Site Overrides
*******************************/