Skip to content

Pointercrate Align to Center by foopoa

Screenshot of Pointercrate Align to Center

Details

Authorfoopoa

LicenseNo License

Categorypointercrate.com

Created

Updated

Size1.1 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

aligns pointercrate to be centered on devices where it isnt for some reason

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Pointercrate Align
@version      0.1
@namespace    pointercratealign
@description  aligns pointercrate to be centered on devices where it isnt for some reason
@author       foopoa
@license      No License
==/UserStyle== */

@-moz-document domain("pointercrate.com") {
/*Aligning & Centering*/

/* this pretty much just aligns the website and video thumbnails to be in the center, not sure why the demonlist team didnt fix these, but if i had to guess then id say that this mustve been the space where the ads were put before those were removed */

.thumb {
    background-position: center;
}

@media (min-width: 1359px) {
  .m-center {
    max-width: 1072px;
    margin-left: calc(50% - 1072px / 2) !important;
    margin-right: calc(50% - 1072px / 2) !important;
  }

  .center {
    max-width: 1072px;
    padding-left: calc(50% - 1072px / 2);
    padding-right: calc(50% - 1072px / 2);
  }
}

@media (min-width: 1359px) {
  .information-banner {
    padding-left: calc(50% - 1072px / 2);
    padding-right: calc(50% - 1072px / 2);
  }
}
}

Reviews

No reviews yet.