aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css/modules/container.css
blob: c9df6ab3f585aca03341fb15dc09f4ab15a47765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* based on Fomantic UI container module, with just the parts extracted that we use. If you find any
   unused rules here after refactoring, please remove them. */

.ui.container {
  width: 1280px;
  max-width: calc(100% - calc(2 * var(--page-margin-x)));
  margin-left: auto;
  margin-right: auto;
}

.ui.fluid.container {
  width: 100%;
}

.ui.container.fluid.padded {
  padding: 0 var(--page-margin-x);
}

.ui[class*="center aligned"].container {
  text-align: center;
}