Main content width

To change the width of the center content, add the following to custom.scss:

.page {
  max-width: unset; //default is 1500px
}

Apply changes only to desktop/tablet/mobile layout

To apply CSS to a specific layout only, use one of the following:

@media all and ($mobile) {
  // All styles here only apply to mobile layout.
}
@media all and ($tablet) {
  // All styles here only apply to tablet layout.
}
@media all and ($desktop) {
  // All styles here only apply to desktop layout.
}
@media all and not ($mobile) {
  // All styles here only apply to non-mobile (tablet and desktop) layouts.
}
@media all and not ($desktop) {
  // All styles here only apply to non-desktop (mobile and tablet) layouts.
}

Centering images

In custom.scss:

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

Note that this will center all images.

If you only want to center images in the main page content (a.k.a. images embedded inside your notes):

article.popover-hint img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}