Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Превращает на Ычане верхний админбар во фрейм.
- * Note: внимательнее с конфликтом hatsune.ru/b/ и iichan.hk/b/
- */
- /*==================================================================================================
- Каркас
- ==================================================================================================*/
- /* админбар */
- body > .adminbar:first-child {
- bottom: 0;
- font-size: 0;
- left: 0;
- overflow: auto;
- position: fixed;
- top: 0;
- z-index: 2;
- }
- /* заголовки */
- body > .adminbar:first-child > a[href$="/d/"]::before, body > .adminbar:first-child > a[href$="/abe/"]::before, body > .adminbar:first-child > a[href$="/an/"]::before, body > .adminbar:first-child > a[href$="/a/"]::before, body > .adminbar:first-child > a[href$="('Burichan','list')"]::before, body > .adminbar:first-child > a[href$="blogspot.com"]::before {
- display:block;
- }
- /* ссылки */
- body > .adminbar:first-child > a {
- display: block;
- font-size: small;
- }
- /*==================================================================================================
- Анимация
- ==================================================================================================*/
- /* выезжание админбара */
- body > .adminbar:first-child:hover
- {
- -webkit-transform: translate(0, 0);
- transform: translate(0, 0);
- opacity: 1;
- }
- body > .adminbar:first-child {
- -webkit-transition-property: -webkit-transform, opacity;
- transition-property: transform, opacity;
- -webkit-transition-duration: .2s;
- transition-duration: .2s;
- -webkit-transition-timing-function: ease-in-out;
- transition-timing-function: ease-in-out;
- -webkit-transform: translate(-90%, 0);
- transform: translate(-90%, 0);
- opacity: 0;
- }
- /* Вся страница съезжает вправо */
- body > .adminbar:first-child:hover ~ *
- {
- -webkit-transform: translate(215px, 0);
- transform: translate(215px, 0);
- }
- body > .adminbar:first-child ~ *
- {
- -webkit-transition: -webkit-transform .2s ease-in-out;
- transition: transform .2s ease-in-out;
- }
- /*==================================================================================================
- Оформление
- ==================================================================================================*/
- /* админбар */
- body > .adminbar:first-child {
- border-right: 1px solid;
- background-color: inherit;
- box-shadow: 0 0 5px black;
- width: 215px;
- padding-bottom: 7px;
- }
- /* заголовки */
- body > .adminbar:first-child > a[href$="/d/"]::before, body > .adminbar:first-child > a[href$="/abe/"]::before, body > .adminbar:first-child > a[href$="/an/"]::before, body > .adminbar:first-child > a[href$="/a/"]::before, body > .adminbar:first-child > a[href$="('Burichan','list')"]::before, body > .adminbar:first-child > a[href$="blogspot.com"]::before {
- background: #EEAA88;
- color: #800000;
- font-family: sans-serif;
- font-size: 10pt;
- font-weight: 700;
- margin: 7px -3px 0 -3px;
- padding: 0px 3px;
- text-align: left;
- text-decoration: none;
- }
- /* ссылки */
- body > .adminbar:first-child > a {
- background: #F0E0D6;
- color: #800000;
- font-family: sans-serif;
- margin: 0 7px;
- padding: 0 3px 0 3px;
- text-align: right;
- text-decoration: none;
- }
- body > .adminbar:first-child > a:hover {
- background: #FFE;
- }
- /* Ссылки не на доски не имеют подписей, поэтому выровнены по левому краю. */
- body > .adminbar:first-child > a[href$="/vn/"] ~ a {
- text-align: left;
- }
- /* Подписи к ссылкам слева. */
- body > .adminbar:first-child > a[href$="/d/"]::after, body > .adminbar:first-child > a[href$="/gnx/"]::after, body > .adminbar:first-child > a[href$="/abe/"]::after, body > .adminbar:first-child > a[href$="/int/"]::after, body > .adminbar:first-child > a[href$="/ts/"]::after, body > .adminbar:first-child > a[href$="/au/"]::after, body > .adminbar:first-child > a[href$="/b/"]::after, body > .adminbar:first-child > a[href$="/vg/"]::after, body > .adminbar:first-child > a[href$="/hr/"]::after, body > .adminbar:first-child > a[href$="/gf/"]::after, body > .adminbar:first-child > a[href$="/an/"]::after, body > .adminbar:first-child > a[href$="/ne/"]::after, body > .adminbar:first-child > a[href$="/tran/"]::after, body > .adminbar:first-child > a[href$="/tv/"]::after, body > .adminbar:first-child > a[href$="/cu/"]::after, body > .adminbar:first-child > a[href$="/l/"]::after, body > .adminbar:first-child > a[href$="/mj/"]::after, body > .adminbar:first-child > a[href$="/bro/"]::after, body > .adminbar:first-child > a[href$="/m/"]::after, body > .adminbar:first-child > a[href$="/med/"]::after, body > .adminbar:first-child > a[href$="/mo/"]::after, body > .adminbar:first-child > a[href$="/mu/"]::after, body > .adminbar:first-child > a[href$="/bg/"]::after, body > .adminbar:first-child > a[href$="/sci/"]::after, body > .adminbar:first-child > a[href$="/w/"]::after, body > .adminbar:first-child > a[href$="/mi/"]::after, body > .adminbar:first-child > a[href$="/o/"]::after, body > .adminbar:first-child > a[href$="/x/"]::after, body > .adminbar:first-child > a[href$="/p/"]::after, body > .adminbar:first-child > a[href$="/r/"]::after, body > .adminbar:first-child > a[href$="/dev/"]::after, body > .adminbar:first-child > a[href$="/maid/"]::after, body > .adminbar:first-child > a[href$="/sp/"]::after, body > .adminbar:first-child > a[href$="/t/"]::after, body > .adminbar:first-child > a[href$="/tr/"]::after, body > .adminbar:first-child > a[href$="/tu/"]::after, body > .adminbar:first-child > a[href$="/ph/"]::after, body > .adminbar:first-child > a[href$="/fr/"]::after, body > .adminbar:first-child > a[href$="/s/"]::after, body > .adminbar:first-child > a[href$="/jp/"]::after, body > .adminbar:first-child > a[href$="/a/"]::after, body > .adminbar:first-child > a[href$="/aa/"]::after, body > .adminbar:first-child > a[href$="/azu/"]::after, body > .adminbar:first-child > a[href$="/vn/"]::after, body > .adminbar:first-child > a[href$="/c/"]::after, body > .adminbar:first-child > a[href$="/ls/"]::after, body > .adminbar:first-child > a[href$="/ma/"]::after, body > .adminbar:first-child > a[href$="/me/"]::after, body > .adminbar:first-child > a[href$="/rm/"]::after, body > .adminbar:first-child > a[href$="/tan/"]::after, body > .adminbar:first-child > a[href$="/sos/"]::after, body > .adminbar:first-child > a[href$="/to/"]::after, body > .adminbar:first-child > a[href$="/fi/"]::after, body > .adminbar:first-child > a[href$="/hau/"]::after {
- float: left;
- }
- /*==================================================================================================
- Подписи к заголовкам
- ==================================================================================================*/
- body > .adminbar:first-child > a[href$="/d/"]::before {content: "Обсуждения";}
- body > .adminbar:first-child > a[href$="/abe/"]::before {content: "На пробу";}
- body > .adminbar:first-child > a[href$="/an/"]::before {content: "Общее";}
- body > .adminbar:first-child > a[href$="/a/"]::before {content: "Аниме";}
- body > .adminbar:first-child > a[href$="('Burichan','list')"]::before {content: "Стили";}
- body > .adminbar:first-child > a[href$="blogspot.com"]::before {content: "Разное";}
- /*==================================================================================================
- Подписи к списку досок
- ==================================================================================================*/
- body > .adminbar:first-child > a[href$="/d/"]::after {content: "работа сайта";}
- body > .adminbar:first-child > a[href$="hatsune.ru/b/"]::after {content: "vocaloid" !important;}
- body > .adminbar:first-child > a[href$="/gnx/"]::after {content: "gainax";}
- body > .adminbar:first-child > a[href$="/abe/"]::after {content: "ёситоси абэ";}
- body > .adminbar:first-child > a[href$="/int/"]::after {content: "international";}
- body > .adminbar:first-child > a[href$="/ts/"]::after {content: "цундере";}
- body > .adminbar:first-child > a[href$="/au/"]::after {content: "автомобили";}
- body > .adminbar:first-child > a[href$="/b/"]::after {content: "бред";}
- body > .adminbar:first-child > a[href$="/vg/"]::after {content: "видеоигры";}
- body > .adminbar:first-child > a[href$="/hr/"]::after {content: "высокое разрешение";}
- body > .adminbar:first-child > a[href$="/gf/"]::after {content: "gif- и flash-анимация";}
- body > .adminbar:first-child > a[href$="/an/"]::after {content: "живопись";}
- body > .adminbar:first-child > a[href$="/ne/"]::after {content: "животные";}
- body > .adminbar:first-child > a[href$="/tran/"]::after {content: "иностранные языки";}
- body > .adminbar:first-child > a[href$="/tv/"]::after {content: "кино и тв";}
- body > .adminbar:first-child > a[href$="/cu/"]::after {content: "кулинария";}
- body > .adminbar:first-child > a[href$="/l/"]::after {content: "литература";}
- body > .adminbar:first-child > a[href$="/mj/"]::after {content: "маджонг";}
- body > .adminbar:first-child > a[href$="/bro/"]::after {content: "my little pony";}
- body > .adminbar:first-child > a[href$="/m/"]::after {content: "макросы/копипаста";}
- body > .adminbar:first-child > a[href$="/med/"]::after {content: "медицина";}
- body > .adminbar:first-child > a[href$="/mo/"]::after {content: "мотоциклы";}
- body > .adminbar:first-child > a[href$="/mu/"]::after {content: "музыка";}
- body > .adminbar:first-child > a[href$="/bg/"]::after {content: "настольные игры";}
- body > .adminbar:first-child > a[href$="/sci/"]::after {content: "наука";}
- body > .adminbar:first-child > a[href$="/w/"]::after {content: "обои";}
- body > .adminbar:first-child > a[href$="/mi/"]::after {content: "оружие";}
- body > .adminbar:first-child > a[href$="/o/"]::after {content: "оэкаки";}
- body > .adminbar:first-child > a[href$="/x/"]::after {content: "паранормальные явления";}
- body > .adminbar:first-child > a[href$="/p/"]::after {content: "политика";}
- body > .adminbar:first-child > a[href$="/r/"]::after {content: "просьбы";}
- body > .adminbar:first-child > a[href$="/dev/"]::after {content: "разработка";}
- body > .adminbar:first-child > a[href$="/maid/"]::after {content: "служанки";}
- body > .adminbar:first-child > a[href$="/sp/"]::after {content: "спорт";}
- body > .adminbar:first-child > a[href$="/t/"]::after {content: "торренты";}
- body > .adminbar:first-child > a[href$="/tr/"]::after {content: "транспорт";}
- body > .adminbar:first-child > a[href$="/tu/"]::after {content: "туризм";}
- body > .adminbar:first-child > a[href$="/ph/"]::after {content: "фото";}
- body > .adminbar:first-child > a[href$="/fr/"]::after {content: "фурри";}
- body > .adminbar:first-child > a[href$="/s/"]::after {content: "электроника и по";}
- body > .adminbar:first-child > a[href$="/jp/"]::after {content: "япония";}
- body > .adminbar:first-child > a[href$="/a/"]::after {content: "аниме";}
- body > .adminbar:first-child > a[href$="/aa/"]::after {content: "аниме арт";}
- body > .adminbar:first-child > a[href$="/azu/"]::after {content: "azumanga daioh";}
- body > .adminbar:first-child > a[href$="/vn/"]::after {content: "визуальные новеллы";}
- body > .adminbar:first-child > a[href$="/c/"]::after {content: "косплей";}
- body > .adminbar:first-child > a[href$="/ls/"]::after {content: "lucky☆star";}
- body > .adminbar:first-child > a[href$="/ma/"]::after {content: "манга";}
- body > .adminbar:first-child > a[href$="/me/"]::after {content: "меха";}
- body > .adminbar:first-child > a[href$="/rm/"]::after {content: "rozen maiden";}
- body > .adminbar:first-child > a[href$="/tan/"]::after {content: "сетевые персонажи";}
- body > .adminbar:first-child > a[href$="/sos/"]::after {content: "suzumiya haruhi no yūutsu";}
- body > .adminbar:first-child > a[href$="/to/"]::after {content: "touhou";}
- body > .adminbar:first-child > a[href$="/fi/"]::after {content: "фигурки";}
- body > .adminbar:first-child > a[href$="/hau/"]::after {content: "higurashi no naku koro ni";}
- /*==================================================================================================
- Скрытые доски
- ==================================================================================================*/
- body > .adminbar:first-child > a[href$="/bro/"] {display: none;}
- /*==================================================================================================
- Жирные доски
- ==================================================================================================*/
- body > .adminbar:first-child > a[href$="/b/"]:not([href$="hatsune.ru/b/"]),
- body > .adminbar:first-child > a[href$="/a/"] {
- font-weight: bold;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement