Bladru
Advanced Member | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Код: @charset "utf-8"; @import url(../../styles/info.css); /* prevent horizontal scrollbar */ table { table-layout: fixed; width: 100%; } th { width: 35%; } /* fix bottom border */ th { border-bottom: inherit; } /* make background independent from body height */ body { -o-border-image: none; background: rgba(255,255,255,0.9) } /* Hide "Meta information" and "Navigation links" */ table:nth-of-type(n+3) { display: none !important; } /* Display them on mouse click and hold */ h2:active + table:nth-of-type(n+3), table:nth-of-type(n+3):hover { display: table !important; } h2 { margin-bottom: 0; margin-top: 5px; } h1, table { margin-bottom: 0; } /* Clip "data:" links */ li { overflow: hidden; text-overflow: ellipsis; } a[href^="data:"] { white-space: nowrap; } | Установка: Сохранить в папку Opera\profile\styles и прописать этот файл в InfoCSSFile. Или просто скопировать всё, что ниже @import в файл Opera\styles\info.css. При сохранении в иную папку, необходимо скорректировать путь к Opera\styles\info.css в строке "@import url". Со спрятанными секциями решение не идеальное. Чтобы они появились, нужно зажать кнопку мыши на заголовке (лучше правую), перевести указатель внутрь секции и отпустить кнопку. С CSS ничего лучше мне не удалось придумать. | Всего записей: 655 | Зарегистр. 09-10-2006 | Отправлено: 21:43 08-12-2016 | Исправлено: Bladru, 06:42 17-03-2020 |
|