Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Как уменьшить расстояние между 2 элементами?

Featured Replies

Posted

Как уменьшить расстояние между названием категории и таблицы?

 

.maintitle {
        background: url({style_images_url}/j_mainleft.png);
        height: 28px;
        -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
        margin-left: 10px;
        margin-right: 10px;
}	
.maintitle {
        font-family: Tahoma;
        font-weight: bold;
        font-size: 11px;
        color: #e9e7e7;
        padding-top: 12px;
        padding-left: 20px;
}
post-10851-0-50131700-1388772031_thumb.p

Edited by johurt

В ipb_styles.css вашего стиля найдите:

.ipsBox, .ipsPad {
        padding: 9px;
}

Измените на:

.ipsBox, .ipsPad {
        padding: 0 9px;
}

Здесь мы убрали отступ от элемента сверху и снизу, слева и справа он остался.
Если отступ снизу покажется вам слишком маленьким, замените этот вариант кода на следующий:

.ipsBox, .ipsPad {
        padding: 0 9px 9px 9px;
}

В этом случае мы поочередно устанавливаем отступ от верхней, затем правой, нижней и левой границы. Изменяя третье значение, вы сами можете отрегулировать отступ снизу.

После этого я бы также убрал закругленные углы у заголовка снизу, для этого найдите:

.maintitle {
        background: url({style_images_url}/j_mainleft.png);
        height: 28px;
        -moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
        margin-left: 10px;
        margin-right: 10px;
}

И замените его на:

.maintitle {
        background: url({style_images_url}/j_mainleft.png);
        height: 28px;
        border-radius: 3px 3px 0 0;
        -moz-border-radius: 3px 3px 0 0;
        -webkit-border-top-right-radius: 3px;
        -webkit-border-top-left-radius: 3px;
        margin-left: 10px;
        margin-right: 10px;
}

Таким образом, мы будем округлять только верхние - левый и правый - углы.

Edited by CNoise

Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.