Skip to content

Teletype No Gaps by Foggy-Cat

Details

AuthorFoggy-Cat

LicenseNo License

Categoryteletype.in

Created

Updated

Code size1.6 kB

Code checksum45533f6b

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Removes gaps between images on Teletype pages, ensuring a seamless reading experience for manhwa and manga

Notes

Features

  • Removes all gaps and spaces between images on Teletype (teletype.in) pages.
  • Centers images on the page for a clean and consistent look.
  • Works seamlessly with manhwa/manga chapters hosted on Teletype.

Requirements

  • Requires the Stylus browser extension (available for Chrome, Firefox, and other browsers).
  • No additional setup needed beyond installing the style.

Instructions

  1. Install the Stylus extension from your browser's extension store.
  2. Install this style via UserStyles.world or manually copy the CSS into Stylus.
  3. Open any Teletype page (e.g., a manhwa chapter) and enjoy gap-free reading.

Notes

  • This style is specifically designed for Teletype pages and may not work on other websites.
  • If you notice any issues (e.g., text rendering problems), please report them in the comments.

Changelog

  • 1.0: Initial release with gap removal and image centering.

Source code

/* ==UserStyle==
@name       Teletype No Gaps
@version    20250426.12.14
@namespace  ?
==/UserStyle== */

@-moz-document domain("teletype.in") {
/* Убираем отступы между изображениями в Teletype */
figure {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important; /* Ограничиваем ширину, чтобы сохранить пропорции */
    text-align: center !important; /* Центрируем содержимое внутри figure */
}

img {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    max-width: 100% !important; /* Картинка не будет превышать ширину контейнера */
    height: auto !important;
    margin-left: auto !important; /* Центрируем картинку */
    margin-right: auto !important; /* Центрируем картинку */
}

/* Убираем дополнительные отступы между последовательными figure */
figure + figure {
    margin-top: 0 !important;
}

/* Убираем возможные пробелы из-за строчных элементов и высоты строки */
article, body {
    line-height: 0 !important;
    vertical-align: top !important;
}

/* Восстанавливаем нормальную высоту строки для текста, если он есть */
p, h1, h2, h3, h4, h5, h6 {
    line-height: normal !important;
}
article > * {
    margin: 0 !important;
    padding: 0 !important;
}
}

Reviews

No reviews yet.