Skip to content

Better marxists.org ✨ by oxfist

Screenshot of Better marxists.org ✨

Details

Authoroxfist

LicenseNo License

Categorymarxists

Created

Updated

Code size1.0 kB

Code checksum4b1e85a1

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Based on user e-dt's userstyle, this one also centers the body to make it more readable.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Better marxists.org
@version      20230426.01.24
@namespace    userstyles.world/user/oxfist
@description  decreases line length, centers body, and increases font size on marxists.org
@author       oxfist
@license      Not copyrightable as it does not constitute a substantive work
==/UserStyle== */
@-moz-document domain("marxists.org") {
  h1,
  h2,
  h3,
  h4 {
    color: black !important;
    font-family: Vollkorn, serif !important;
  }

  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2.25rem !important;
  }

  h3 {
    font-size: 2rem !important;
  }

  h4 {
    font-size: 1.75rem !important;
  }

  p,
  ol,
  li {
    font-size: 1.5rem !important;
    max-width: 996px !important;
    margin: 1em auto !important;
    line-height: 1.5em !important;
  }

  p.pagenote {
    max-width: unset !important;
  }

  p > br {
    display: none !important;
  }

  font {
    font-size: 1rem !important;
  }

  hr {
    margin-inline: auto !important;
  }
}

Reviews

No reviews yet.