wishthis/semantic/dist/components/container.css

146 lines
2.7 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
* # Fomantic-UI 2.8.8 - Container
* 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 */
@media only screen and (max-width: 767.98px) {
.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 */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
.ui.ui.ui.container:not(.fluid) {
2022-01-13 13:27:51 +00:00
width: 719px;
2022-01-13 13:00:31 +00:00
margin-left: auto;
margin-right: auto;
}
.ui.ui.ui.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(719px + 2rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.relaxed.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(719px + 3rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.very.relaxed.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(719px + 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-01-13 13:27:51 +00:00
width: 927px;
2022-01-13 13:00:31 +00:00
margin-left: auto;
margin-right: auto;
}
.ui.ui.ui.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(927px + 2rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.relaxed.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(927px + 3rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.very.relaxed.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(927px + 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-01-13 13:27:51 +00:00
width: 1119px;
2022-01-13 13:00:31 +00:00
margin-left: auto;
margin-right: auto;
}
.ui.ui.ui.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(1119px + 2rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.relaxed.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(1119px + 3rem);
2022-01-13 13:00:31 +00:00
}
.ui.ui.ui.very.relaxed.grid.container {
2022-01-13 13:27:51 +00:00
width: calc(1119px + 5rem);
2022-01-13 13:00:31 +00:00
}
}
/*******************************
Types
*******************************/
/* Text Container */
.ui.text.container {
2022-01-13 13:27:51 +00:00
font-family: 'Raleway', sans-serif;
2022-01-13 13:00:31 +00:00
max-width: 700px;
line-height: 1.5;
2022-01-13 13:27:51 +00:00
font-size: 1.16666667rem;
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;
}
/*******************************
Theme Overrides
*******************************/
/*******************************
Site Overrides
*******************************/