azzt test

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » azzt test » Тестовый форум » Тестовое сообщение


Тестовое сообщение

Сообщений 1 страница 6 из 6

1

Благодарим за выбор нашего сервиса!

0

2

тест сообщение обычное

0

3

тест нового сообщения

0

4

[html]
<script>
const Family = {
    Redwald: { id: 'Redwald' },
    Korro: { id: 'Korro' },
    Menahen: { id: 'Menahen' },
    Nievall: { id: 'Nievall' },
    Oldwin: { id: 'Oldwin' },
    Eltaine: { id: 'Eltaine' },
    Marawin: { id: 'Marawin' },
    Evermire: { id: 'Evermire' },
    Argail: { id: 'Argail' },
    Tarren: { id: 'Tarren' },
    Sellia: { id: 'Sellia' },
    Geddir: { id: 'Geddir' },
    Oleger: { id: 'Oleger' },
    Bjorndalen: { id: 'Bjorndalen' },
    Emer: { id: 'Emer' },
    Kairhill: { id: 'Kairhill' },
};

const Country = {
    Valden: {
        id: 'ValdenCountry',
        name: 'Вальден',
        principals: {
            ValdenPrincipal: { id: 'ValdenPrincipal', name: 'Княжество Вальден' },
            Holden: { id: 'Holden', name: 'Княжество Холден' },
            Aedin: { id: 'Aedin', name: 'Княжество Эйдин' },
            Lindisfiall: { id: 'Lindisfiall', name: 'Княжество Линдисфьялль' },
            Danmore: { id: 'Danmore', name: 'Княжество Данмор' },
            Gilfor: { id: 'Gilfor', name: 'Княжество Гилфор' },
            Kineil: { id: 'Kineil', name: 'Княжество Кинейл' },
            Dunadd: { id: 'Dunadd', name: 'Княжество Дунадд' },
            Marcia: { id: 'Marcia', name: 'Княжество Марсия' }
        }
    },
    FiveRivers: {
        id: 'FiveRivers',
        name: 'Пятиречье',
        principals: {
            Aranvin: { id: 'Aranvin', name: 'Анарвин' },
            WhiteHarbor: { id: 'WhiteHarbor', name: 'Белая гавань' }
        },
    },
    Kaelim: { id: 'Kaelim', name: 'Кейлим' },
    Aravel: { id: 'Aravel', name: 'Аравель' },
    Rionna: {
        id: 'Rionna',
        name: 'Рионна',
        principals: {
            Ilos: { id: 'Ilos', name: 'Илос' },
            Ilaria: { id: 'Ilaria', name: 'Илария' },
            Tira: { id: 'Tira', name: 'Тира' }
        }
    },
    Voyager: { id: 'Voyager', name: 'Странники' },
    OtherCountry: { id: 'OtherCountry', name: 'Другое' }
};
const Activity = {
    Gods: {
        id: 'Gods',
        name: 'Служащие богов',
        principals: {
            Life: { id: 'Life', name: "Домен жизни" },
            Death: { id: 'Death', name: "Домен смерти" },
            Light: { id: 'Light', name: "Домен света" },
            Shadows: { id: 'Shadows', name: "Домен тени" },
            Mind: { id: 'Mind', name: "Домен разума" },
            Spirit: { id: 'Spirit', name: "Домен духа" },
            New: { id: 'New', name: "Новые боги" }
        }
    },
    Politics: { id: 'Politics', name: 'Политики' },
    Warrior: { id: 'Warrior', name: 'Воины' },
    Wizard: { id: 'Wizard', name: 'Маги' },
    Kale: { id: 'Kale', name: 'Кале' },
    Criminal: { id: 'Criminal', name: 'Преступники' }
};
const Race = {
    Human: { id: 'Human', name: 'Люди' },
    Vampire: { id: 'Vampire', name: 'Вампиры' },
    Soulless: { id: 'Soulless', name: 'Бездушники' },
    Aire: { id: 'Aire', name: 'Айре' },
    Werewolf: { id: 'Werewolf', name: 'Перевертыши' },
    Beastman: { id: 'Beastman', name: 'Зверолюди' },
};

const Groups = [
    {
        id: 'Valden',
        name: 'Объединенное королевство Вальден',
        descr: 'Королевский феод со столицей в Кайр Парале',
        imageUrl: 'https://upforme.ru/uploads/001c/03/d9/3/822504.png',
        includeTags: [Country.Valden.principals.ValdenPrincipal.id],
        groupLevel: 1,
        subgroups: [
            {
                id: 'Redwald',
                name: 'Королевская семья Вальдена [Дом Редвальдов]',
                includeTags: [Family.Redwald.id],
                groupLevel: 3,
                excludetags: []
            },
            {
                id: 'ValdenPolitics',
                name: 'Королевский двор Вальдена',
                includeTags: [Activity.Politics.id],
                groupLevel: 3,
                excludetags: [Family.Redwald.id, Family.Korro.id]
            },
            {
                id: 'Korro',
                name: 'Герцогство Корро [вассалы Редвальдов]',
                descr: 'Столица — Эленглинн',
                includeTags: [Family.Korro.id],
                groupLevel: 3,
                excludetags: []
            },
            {
                id: 'ValdenOther',
                name: 'Прочие',
                includeTags: [],
                groupLevel: 3,
                excludetags: [Activity.Politics.id, Family.Redwald.id, Family.Korro.id]
            },
        ],
    },
    {
        id: 'Holden',
        name: 'Княжество Холден',
        descr: 'Самое влиятельное княжество после королей',
        includeTags: [Country.Valden.principals.Holden.id],
        groupLevel: 2,
        subgroups: [
            {
                id: 'Menahem',
                name: 'Князья Холдена [Дом Менахем]',
                groupLevel: 3,
                includeTags: [Family.Menahen.id]
            },
            {
                id: 'Nievall',
                name: 'Герцогство Ниевалль [вассалы Менахемов]',
                groupLevel: 3,
                includeTags: [Family.Nievall.id]
            },
            {
                id: 'Oldwin',
                name: 'Герцогство Олдвин [вассалы Менахемов]',
                groupLevel: 3,
                includeTags: [Family.Oldwin.id]
            },
            {
                id: 'HoldenOther',
                name: 'Жители Кайр Андара (столицы Холдена)',
                groupLevel: 3,
                includeTags: [],
                excludetags: [Family.Menahen.id, Family.Nievall.id, Family.Oldwin.id]
            }
        ]
    },
    {
        id: 'Aedin',
        name: 'Княжество Эйдин',
        descr: 'Граничит с проклятыми землями, держит аванпосты от нежити и скверны',
        groupLevel: 2,
        includeTags: [Country.Valden.principals.Aedin.id],
        subgroups: [
            {
                id: 'Eltaine',
                name: 'Династия ан Эльтайнов [ранее — короли Эйдина]',
                groupLevel: 3,
                includeTags: [Family.Eltaine.id]
            },
            {
                id: 'Marawin',
                name: 'Князья Эйдина [Дом Маравин]',
                groupLevel: 3,
                includeTags: [Family.Marawin.id]
            },
            {
                id: 'Evermaire',
                name: 'Герцогство Эвермайр [вассалы Маравинов]',
                groupLevel: 3,
                includeTags: [Family.Evermire.id]
            },
            {
                id: 'KairTarn',
                name: 'Графство Кайр Тарн',
                groupLevel: 3,
                includeTags: [Family.Argail.id]
            },
            {
                id: 'Aefion',
                name: 'Маркграфство Эйфион [вассалы Маравинов]',
                groupLevel: 3,
                includeTags: [Family.Tarren.id]
            },
            {
                id: 'Sellia',
                name: 'Маркграфство Селлия [вассалы Маравинов]',
                groupLevel: 3,
                descr: 'Приграничная территория, на которой находится перевал с крепостями для защиты от скверны из Амадии',
                includeTags: [Family.Sellia.id]
            },
            {
                id: 'MierKaya',
                name: 'Баронство Миер-Кайя [вассалы Этарисов]',
                groupLevel: 3,
                includeTags: [Family.Geddir.id]
            },
            {
                id: 'Fael',
                name: 'Герцогство Фаэль [вассалы Маравинов]',
                groupLevel: 3,
                includeTags: [Family.Oleger.id]
            },
            {
                id: 'AedinOthers',
                name: 'Гильдии, вассалы и простолюдины',
                groupLevel: 3,
                includeTags: [],
                excludetags: [Family.Argail.id, Family.Tarren.id, Family.Sellia.id, Family.Geddir.id, Family.Oleger.id, Family.Marawin.id, Family.Eltaine.id, Family.Evermire.id]
            }
        ]
    },
    {
        id: 'Lindisfiall',
        name: 'Княжество Линдисфьялль',
        descr: 'Самое независимое от центра княжество',
        groupLevel: 2,
        includeTags: [Country.Valden.principals.Lindisfiall.id],
        subgroups: [
            {
                id: 'Bjorndalen',
                name: 'Князья Линдисфьялля [Дом Бьорндален]',
                groupLevel: 3,
                includeTags: [Family.Lindisfiall]
            },
            {
                id: 'LindisfiallOthers',
                name: 'Прочие',
                groupLevel: 3,
                includeTags: [],
                excludetags: [Family.Lindisfiall]
            }
        ]
    },
    {
        id: 'Danmore',
        name: 'Княжество Данмор',
        includeTags: [Country.Valden.principals.Danmore.id],
        groupLevel: 2,
        subgroups: [
            {
                id: 'Emer',
                name: 'Князья Данмора [Дом Эмер]',
                groupLevel: 3,
                includeTags: [Family.Emer.id]
            },
            {
                id: 'DanmoreOthers',
                name: 'Прочие',
                groupLevel: 3,
                includeTags: [],
                excludetags: [Family.Emer.id]
            }
        ]
    },
    {
        id: 'Gilford',
        name: 'Княжество Гилфор',
        groupLevel: 2,
        includeTags: [Country.Valden.principals.Gilfor.id]
    },
    {
        id: 'Kineil',
        name: 'Княжество Кинейл',
        groupLevel: 2,
        includeTags: [Country.Valden.principals.Kineil.id]
    },
    {
        id: 'Dunadd',
        name: 'Княжество Дунадд',
        groupLevel: 2,
        includeTags: [Country.Valden.principals.Dunadd.id]
    },
    {
        id: 'Marcia',
        name: 'Княжество Марсия',
        groupLevel: 2,
        includeTags: [Country.Valden.principals.Marcia.id]
    },
    {
        id: 'Aravel',
        name: 'АРАВЕЛЬ',
        groupLevel: 1,
        imageUrl: 'https://upforme.ru/uploads/001c/03/d9/3/384910.png',
        includeTags: [Country.Aravel.id],
        subgroups: [
            {
                id: 'Kairhill',
                name: 'Замок Кайрхилл',
                groupLevel: 3,
                descr: 'Некогда заброшенный замок, сейчас — резиденция правителя Аравеля и единственное место, где дозволено жить бездушникам',
                includeTags: [Family.Kairhill.id]
            },
            {
                id: 'Aire',
                name: 'Айре',
                groupLevel: 3,
                descr: 'Айре живут своими небольшими анклавами, отдельно от людей',
                includeTags: [Race.Aire.id]
            },
            {
                id: 'KairhillOthers',
                name: 'Местные жители',
                groupLevel: 3,
                includeTags: [],
                excludetags: [Family.Kairhill.id, Race.Aire.id]
            }
        ]
    },
    {
        id: 'Kaelim',
        name: 'КЕЙЛИМ',
        groupLevel: 1,
        imageUrl: 'https://upforme.ru/uploads/001c/03/d9/3/386484.png',
        includeTags: [Country.Kaelim.id]
    },
    {
        id: 'FiveRivers',
        name: 'ПЯТИРЕЧЬЕ',
        groupLevel: 1,
        imageUrl: 'https://upforme.ru/uploads/001c/03/d9/3/329096.png',
        includeTags: [Country.FiveRivers.id],
        subgroups: [
            {
                id: 'Aranvin',
                name: 'Аранвин',
                groupLevel: 3,
                includeTags: [Country.FiveRivers.principals.Aranvin.id]
            },
            {
                id: 'WhiteHarbor',
                name: 'Белая Гавань',
                groupLevel: 3,
                includeTags: [Country.FiveRivers.principals.WhiteHarbor.id]
            },
            {
                id: 'FiveRiversOther',
                name: 'Прочие',
                groupLevel: 3,
                includeTags: [],
                excludetags: [Country.FiveRivers.principals.Aranvin.id, Country.FiveRivers.principals.WhiteHarbor.id]
            }
        ]
    },
    {
        id: 'Rionna',
        name: 'РИОННА',
        imageUrl: 'https://upforme.ru/uploads/001c/03/d9/3/201164.png',
        includeTags: [Country.Rionna.id],
        groupLevel: 1,
        subgroups: [
            {
                id: 'Ilos',
                name: 'Илос',
                groupLevel: 2,
                includeTags: [Country.Rionna.principals.Ilos.id]
            },
            {
                id: 'Ilaria',
                name: 'Илария',
                groupLevel: 2,
                includeTags: [Country.Rionna.principals.Ilos.id]
            },
            {
                id: 'Tira',
                name: 'Тира',
                groupLevel: 2,
                includeTags: [Country.Rionna.principals.Tira.id]
            }
        ]
    },
    {
        id: 'Voyagers',
        name: 'СТРАННИКИ И ИСКАТЕЛИ ПРИКЛЮЧЕНИЙ',
        groupLevel: 1,
        imageUrl: 'https://upforme.ru/uploads/001c/03/d9/3/46837.png',
        includeTags: [Country.Voyager.id]
    }
];
let users = [];

const resultsContainer = document.querySelector('.resultsContainer');
const filters = {
    country: document.querySelector('.country.filter'),
    locationPrincipal: document.querySelector('.locationPrincipal.filter'),
    activity: document.querySelector('.activity.filter'),
    godDomain: document.querySelector('.godDomain.filter'),
    race: document.querySelector('.race.filter')
};
const dropdown = document.querySelector('.filterDropdown');

function updateFilters() {
    const selectedCountry = Object.values(Country).find(item => item.name === filters.country.textContent.trim());
    const selectedActivity = Object.values(Activity).find(item => item.name === filters.activity.textContent.trim());
    const selectedRace = Object.values(Race).find(item => item.name === filters.race.textContent.trim());

    const selectedCountryPrincipals = selectedCountry?.principals || {};
    const selectedActivityPrincipals = selectedActivity?.principals || {};

    const selectedCountryPrincipal = Object.values(selectedCountryPrincipals).find(item => item.name === filters.locationPrincipal.textContent.trim()) || null;
    const selectedActivityPrincipal = Object.values(selectedActivityPrincipals).find(item => item.name === filters.godDomain.textContent.trim()) || null;

    const filteredUsers = users.filter(user => {
        const matchesCountry = filters.country.textContent.trim() === 'Все' || user.tags.includes(selectedCountry?.id);
        const matchesActivity = filters.activity.textContent.trim() === 'Все' || user.tags.includes(selectedActivity?.id);
        const matchesRace = filters.race.textContent.trim() === 'Все' || user.tags.includes(selectedRace?.id);

        const matchesCountryPrincipal = filters.locationPrincipal.textContent.trim() === 'Все' || user.tags.includes(selectedCountryPrincipal?.id);
        const matchesActivityPrincipal = filters.godDomain.textContent.trim() === 'Все' || user.tags.includes(selectedActivityPrincipal?.id);

        return matchesCountry && matchesActivity && matchesRace && matchesCountryPrincipal && matchesActivityPrincipal;
    });

    filters.locationPrincipal.style.display = selectedCountryPrincipals.length === 0 || filters.country.textContent.trim() === 'Все' ? 'none' : 'block';
    filters.godDomain.style.display = selectedActivityPrincipals.length === 0 || filters.activity.textContent.trim() === 'Все' ? 'none' : 'block';

    displayResults(filteredUsers);
}
function matchesTags(userTags, includeTags, excludeTags) {
    if (includeTags.length > 0 && !includeTags.every(tag => userTags.includes(tag))) {
        return false;
    }
    if (excludeTags.length > 0 && excludeTags.some(tag => userTags.includes(tag))) {
        return false;
    }
    return true;
}
function propagateGroupTagsToSubgroups(group) {
    if (group.includeTags && group.subgroups) {
        group.subgroups = group.subgroups.map(subgroup => ({
            ...subgroup,
            includeTags: [...(subgroup.includeTags || []), ...group.includeTags]
        }));
    }
    return group;
}
function splitUsersByGroups(users, groups) {
    const result = groups.map(group => {
        const updatedGroup = propagateGroupTagsToSubgroups(group);
        if (updatedGroup.subgroups) {
            const subgroups = updatedGroup.subgroups.map(subgroup => {
                const subgroupUsers = users.filter(user => matchesTags(user.tags, subgroup.includeTags, subgroup.excludetags || []));
                return {
                    ...subgroup,
                    users: subgroupUsers
                };
            });
            return {
                ...updatedGroup,
                users: [],
                subgroups
            };
        } else {
            const groupUsers = users.filter(user => matchesTags(user.tags, updatedGroup.includeTags, updatedGroup.excludetags || []));
            return {
                ...updatedGroup,
                users: groupUsers,
                subgroups: undefined
            };
        }
    });
    return result;
}
function isGroupEmpty(group) {
    const hasUsersInGroup = group.users && group.users.length > 0;
    const hasUsersInSubgroups = group.subgroups && group.subgroups.some(subgroup => subgroup.users && subgroup.users.length > 0);
    return !hasUsersInGroup && !hasUsersInSubgroups;
}
function getGroupContent(group) {
    if (isGroupEmpty(group)) {
        return '';
    }
    let result = '';
    if (group.groupLevel == 1) {
        result += `<span class='groupSeparator'>••••••••••••</span>`;
    };
    result += `<span class='groupTitle${group.groupLevel}'>${group.name}</span>`;
    if (typeof group.descr !== "undefined") {
        result += `<span class='groupDescr'>${group.descr}</span>`;
    }
    if (typeof group.imageUrl !== "undefined") {
        result += `<img class='groupImg' src=${group.imageUrl}>`;
    }
    if (Array.isArray(group.users) && group.users.length > 0) {
        result += `<div class='groupContainer'>` +
            group.users.map(user => {
                const nameWithFlags = `${user.name}${user.isNpc ? ' <sup>(NPC)</sup>' : ''}${user.isQuery ? ' <sup>(заявка)</sup>' : ''}${user.isDied ? ' <sup>нет в живых</sup>' : ''}`;
                const displayName = user.url ? `<a href="${user.url}">${nameWithFlags}</a>` : nameWithFlags;
                return `<span class='user'><b>${user.isQuery ? '★ ' : ''}${displayName}</b> - ${user.descr}</span>`;
            }).join('') +
        `</div>`;
    }
    if (Array.isArray(group.subgroups) && group.subgroups.length > 0) {
        result += group.subgroups.map(subgroup => getGroupContent(subgroup)).join('');
    }
    return result;
}

function displayResults(users) {
    const groups = splitUsersByGroups(users, Groups);
    resultsContainer.innerHTML = groups.map(group => getGroupContent(group)).join('');
}

function addClicks() {
    const dropdownElems = document.querySelectorAll('.selectable');

    dropdownElems.forEach(elem => {
        elem.addEventListener('click', function(event) {
            const selectedId = event.target.classList[0];
            const category = event.target.classList[1];

            if (category === 'country') {
                filters.country.textContent = selectedId === 'all' ? 'Все' : Object.values(Country).find(item => item.id === selectedId).name;
            } else if (category === 'countryPrincipal') {
                filters.locationPrincipal.textContent = selectedId === 'all' ? 'Все' : Object.values(Object.values(Country).find(item => item.name === filters.country.textContent).principals).find(item => item.id === selectedId).name;
            } else if (category === 'activity') {
                filters.activity.textContent = selectedId === 'all' ? 'Все' : Object.values(Activity).find(item => item.id === selectedId).name;
            } else if (category === 'activityPrincipal') {
                filters.godDomain.textContent = selectedId === 'all' ? 'Все' : Object.values(Activity.find(item => item.name === filters.activity.textContent).principals).find(item => item.id === selectedId).name;
            } else if (category === 'race') {
                filters.race.textContent = selectedId === 'all' ? 'Все' : Object.values(Race).find(item => item.id === selectedId).name;
            }

            dropdown.style.display = 'none';
            updateFilters();
        });
    });
}

filters.country.addEventListener('click', function(event) {
    dropdown.innerHTML = `<div class="all country selectable">Все</div>` + Object.values(Country).map(country =>
        `<div class="${country.id} country selectable">${country.name}</div>`
    ).join('');
    dropdown.style.display = 'inline-block';
    addClicks();
});

filters.locationPrincipal.addEventListener('click', function(event) {
    const selectedCountry = Object.values(Country).find(item => item.name === filters.country.textContent);

    dropdown.innerHTML = `<div class="all countryPrincipal selectable">Все</div>` + Object.values(selectedCountry.principals).map(principal =>
        `<div class="${principal.id} countryPrincipal selectable">${principal.name}</div>`
    ).join('');
    dropdown.style.display = 'inline-block';
    addClicks();
});

filters.activity.addEventListener('click', function(event) {
    dropdown.innerHTML = `<div class="all activity selectable">Все</div>` + Object.values(Activity).map(activity =>
        `<div class="${activity.id} activity selectable">${activity.name}</div>`
    ).join('');
    dropdown.style.display = 'inline-block';
    addClicks();
});

filters.godDomain.addEventListener('click', function(event) {
    const selectedActivity = Object.values(Activity).find(item => item.name === filters.activity.textContent);

    dropdown.innerHTML = `<div class="all activityPrincipal selectable">Все</div>` + Object.values(selectedActivity.principals).map(activityPrincipal =>
        `<div class="${activityPrincipal.id} activityPrincipal selectable">${activityPrincipal.name}</div>`
    ).join('');
    dropdown.style.display = 'inline-block';
    addClicks();
});

filters.race.addEventListener('click', function(event) {
    dropdown.innerHTML = `<div class="all race selectable">Все</div>` + Object.values(Race).map(race =>
        `<div class="${race.id} race selectable">${race.name}</div>`
    ).join('');
    dropdown.style.display = 'inline-block';
    addClicks();
});

document.querySelectorAll('.filter').forEach(filter => {
    filter.addEventListener('mouseenter', function(event) {
        const filterRect = filter.getBoundingClientRect();

        dropdown.style.left = `${filterRect.left}px`;
        dropdown.style.top = `${filterRect.bottom + window.scrollY - 27}px`;
    });
});

dropdown.addEventListener('mouseleave', function(event) {
    dropdown.style.display = 'none';
});

window.addEventListener("message", (event) => {
    resultsContainer.innerHTML =  resultsContainer.innerHTML + "<br>event received " + event.origin;
    //if (!event.origin.match(/azzttest\.rusff\.me$/)) return;
    resultsContainer.innerHTML = resultsContainer.innerHTML + "<br>origin passed " + event.data;

    if (event.data.eventName != 'userList') return;
    resultsContainer.innerHTML = resultsContainer.innerHTML + "<br>passed" + event.data;
    users = event.data.users;
    updateFilters();
  });
</script>

<div>
    <div class="filters">
        <h3 class="rolesHeading">Фильтры</h3>
        <div class="location filterCategory">
            <span>Локация:</span>
            <div class="country filter">Все</div>
            <div class="locationPrincipal filter" style="display: none">Все</div>
        </div>

        <div class="activities filterCategory">
            <span>Род деятельности:</span>
            <div class="activity filter">Все</div>
            <div class="godDomain filter" style="display: none">Все</div>
        </div>

        <div class="races filterCategory">
            <span>Раса:</span>
            <div class="race filter">Все</div>
        </div>
    </div>

    <div class="filterDropdown" style="display: none"></div>

    <div class="results">
        <div class="resultsContainer"></div>
    </div>
</div>

<style>
    .rolesHeading {
        margin: 8px 0px 4px 0px;
        font-weight: bold !important;
        font-size: 1.2em !important;
    }
   
    .filters {
        border-radius: 4px;
        border: 1px solid var(--pinkBorder);
        background: var(--lightBG);
        padding: 0px 10px 10px 10px;
    }
   
    .results { margin-bottom: 100px; }
    .filters { margin-bottom: 10px; }
   
    .filters .filterCategory {
        display: flex;
        gap: 4px;
        margin-bottom: 4px;
        align-items: anchor-center;
    }
   
    .filters .filter {
        border-radius: 16px;
        border: 1px solid var(--pinkBorder);
        background: var(--lightBG);
        padding: 4px 8px;
        transition: ease-in-out 0.1s background, ease-in-out 0.1s color;
    }
   
    .filters .filter:hover {
        background: var(--pinkBorder);
        color: #fff;
    }
   
    .filterDropdown {
        border-radius: 4px;
        border: 1px solid var(--pinkBorder);
        background: var(--lightBG);
        padding: 10px 0px;
        position: fixed;
    }
   
    .selectable { padding: 3px 10px; }
    .selectable:hover {
        background: var(--pinkBorder);
        color: #fff;
    }
   
    .resultsContainer span.user {
        margin-bottom: 1px;
        line-height: 150% !important;
        color: #333333;
        font: normal 14px Roboto, verdana, arial, helvetica, sans-serif;
    }
    span.groupSeparator { font-size: 15px; }
   
    span.groupSeparator, span.groupTitle1, span.groupTitle2, span.groupTitle3, span.groupDescr { text-align: center; }
    .resultsContainer span, .resultsContainer img { display: block; }
   
    span.groupTitle1, span.groupTitle2, span.groupTitle3 {
        font-family: Palatino Linotype;
        font-weight: 700;
    }
   
    span.groupTitle1 { font-size: 20px; margin-top: 60px; }
    span.groupTitle2 { font-size: 18px; margin-top: 30px; }
    span.groupTitle3 { font-size: 14px; margin-top: 20px; }
   
    span.groupDescr {
        font-size: 11px;
        font-style: italic;
    }
   
    img.groupImg {
        margin-left: auto;
        margin-right: auto;
    }
   
    .groupContainer {
        margin: 10px 0 !important;
        padding: 14px 14px 12px 14px !important;
        border: 1px solid var(--pinkBorder);
        background: var(--qBG);
        border-radius: 4px;
    }
   
    span.groupSeparator:first-of-type { display: none; }
.selectable, .filter {
cursor: pointer;
}
</style>
[/html]

0

5

Код:
<!-- Переключение дизайна ForumD.ru, satsana -->
<script type="text/javascript" src="https://forumstatic.ru/files/001c/03/d9/40592.js?v=1"></script>
<span id="desktop-selector" title="&#xF109"></span>
<span id="mobile-selector" title="&#xF3CF"></span>
<!-- Переключение дизайна конец -->




<!-- Cчётчик Игровых постов -->
<script type="text/javascript">
FORUM._NUMpa_fld = 3;
FORUM._color_fld = "inherit";
FORUM.includeFirstPost = 0;
FORUM.AddOrSlash = 0;
FORUM.Number_winners = [7,[6]];
FORUM.Subscription_Code = "f87f9524f52b3f15cd458b2bf2a95a906ca5a960";

function ad_ (){/*!~!FORUM.ForArrAy = {
//Форум  //Темы (включаемые, или исключаемые)

f8	:-[0],  //Настоящее
f9	:-[0],  //Прошлое
f11	:-[0],  //Альтернатива
f22	:-[0],  //Законченное
f16	:-[0]	//Архив игр //Последний элемент без запятой!
}
!~!*/}ad_ = ad_.toString().split('!~!')[1];//alert(ad_);
</script>
<script type="text/javascript" src="https://forumstatic.ru/files/0013/44/56/77707.js"></script>
<style>.Form-Table{}.punbb .table_GamePosts tbody th{text-align: center;color:#fff}
#pre_placement>a {top:3px;right:2px;}.punbb .GamePst{padding:0!important;}
.punbb #profile-right li#pa-fld3 strong.GamePst2 {}</style>
<!--//END Cчётчик Игровых постов © Deff-->



<!---- таблица ---->
<div class="textBlocksCopy"></div>
<div class="textBlocks"><div class="wrap">

<!---- Навигация ---->
<div class="NavTop">
<a href="//oldshadows.rusff.me/viewtopic.php?id=8#p30" target="_blank"><navtxt>Гостевая</navtxt></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=5#p7" target="_blank"><navtxt>Гид по матчасти</navtxt></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=13" target="_blank"><navtxt>Хочу к вам!</navtxt></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=48#p749" target="_blank"><navtxt>Сюжет</navtxt></a>
<a href="//oldshadows.rusff.me/pages/map" target="_blank"><navtxt>Карта мира</navtxt></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=193#p5508" target="_blank"><navtxt>Список персонажей</navtxt></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=16#p62" target="_blank"><navtxt>Внешности</navtxt></a>
</div>
<!---- Навигация (конец) ---->

<!---- Стрелки в таблицу (моб версия) ---->
  <input type="radio" id="slideSelector1" name="slideSelector" class="radioTablePicker" checked>
    <label for="slideSelector1" class="slideSelectorPicker" id="slideSelectorPicker1"><span>&#xf0d9;</span></label>
  <input type="radio" id="slideSelector2" class="radioTablePicker" name="slideSelector">
    <label for="slideSelector2" class="slideSelectorPicker" id="slideSelectorPicker2"><span>&#xf0da;</span></label>
</input>
<!---- Стрелки в таблицу (конец) ---->



<!---- Текстовый блок 01 (новости) ---->
<div class="wrapTableSlider tableSlide1">
<div class="TxtBlock01">
<hd><b>В игре 585 год от Падения Амадии, осень</b></hd>
<txt01><a href="http://oldshadows.rusff.me/viewtopic.php?id=191#p42976"><b>Кейлим скорбит по своему владыке</b></a>, напряжение растет между доменами Смерти и Тени, а на западе <a href="http://oldshadows.rusff.me/viewtopic.php?id=191#p26026"><b>объявляется еще один претендент на корону Вальдена.</b></a>
</txt01>
<div class="hr1"></div>
<!---- Текстовый блок 01 (конец) ---->


<!-- Ротатор слухов -->
<txt01>
<hd id="whispers">СЛУХИ И СОБЫТИЯ</hd>
<div id="tableWhispers">
<script type="text/javascript" src="https://forumstatic.ru/files/001c/03/d9/73399.js?v=4"></script>
</div>
<!-- Ротатор слухов (конец) -->

</txt01>
</div>
</div>

<!-- Ротатор цитат -->
<div class="wrapTableSlider tableSlide2">
<div class="TxtBlock02" id="tableQuote">
<hd>Избранная цитата</hd>
<div id="tableQuoteContainer">
<script type="text/javascript" src="https://forumstatic.ru/files/001c/03/d9/46367.js?v=3"></script>
</div>
<!-- Ротатор цитат (конец) -->


<!---- Блок нужных---->
<div class="Wanted">
<hd>нужны игрокам</hd>
<pics>
<a href="//oldshadows.rusff.me/viewtopic.php?id=38&p=2#p60198" target="_blank"  title="бастард и смутьян"><img src="https://forumstatic.ru/files/001c/03/d9/30008.jpg"></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=38&p=2#p58851" target="_blank"  title="старший брат и наследник"><img src="https://forumstatic.ru/files/001c/03/d9/30702.jpg"></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=38&p=2#p64603" target="_blank"  title="северная княжна"><img src="https://forumstatic.ru/files/001c/03/d9/89049.jpg"></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=38&p=2#p65268" target="_blank"  title="матушка из бессмертных"><img src="https://forumstatic.ru/files/001c/03/d9/41799.jpg"></a>
<a href="//oldshadows.rusff.me/viewtopic.php?id=38&p=2#p65282" target="_blank"  title="дочь-провидица"><img src="https://forumstatic.ru/files/001c/03/d9/24987.jpg"></a>
</txt02>
</div>
</div>
</div></div></div>
<!---- Таблица (конец)---->




<!-- Кнопки Вверх/Вниз -->
<div class="top_bottom"><div class="go-up" id='ToTop'><div class="inner"><span>Вверх</span></div></div><div class="go-down" id='OnBottom'><div class="inner"><span>Вниз</span></div></div></div>
<script type="text/javascript" src="https://forumstatic.ru/files/001c/03/d9/28651.js"></script>
<!-- Кнопки Вверх/Вниз -->



<!--выделить код. Alex_63 new.2019--> 
<script type="text/javascript" src="https://forumstatic.ru/files/0015/49/1c/35390.js"></script>
<script>eval(select_text.toString().replace(/\}$/,'try{document.execCommand("copy")}catch(e){}}'))</script>
<script type="text/javascript">select_text.linkText = 'Скопировать по клику' //текст ссылки</script>
<!-- конец -->


<!----- Дополнительные смайлы by Человек-Шаман ----->
<script src="https://forumstatic.ru/files/0017/95/29/40399.js"></script>
<script>
$(document).ready(function() {
  hvStickerPack.init("https://forumstatic.ru/files/001c/03/d9/69419.txt?v=16");
});
</script>



 <!-- Разделение ников пользователей в теме запятой -->
    <script>$('#topic-users-in a').prev('a').after(',');</script>
<!------------------------------------------------------------->


<!--/ Мгновенные уведомления © Alex_63, Deff 2019 /-->
<style>.punbb #pun-main .pun-modal.unread-notifications .section h2{text-align:center!important}</style>

<link rel="stylesheet" type="text/css" href="//forumstatic.ru/f/ru/bestbb/notifications.css" />
<script type="text/javascript" src="//forumstatic.ru/f/ru/bestbb/notifications.js"></script>
<!--- упоминания © Alex_63, 2020 -->
<!--- комментарии к репутации без переадресации Alex_63, 2019 -->
<!--- подписки на форум/тему © Alex_63, 2019 -->
<!--- новые посты из важных тем © Alex_63, 2019 -->
<!--- вручение наград (Rusff) © Alex_63, 2024 -->
<script>notifications.load('mentions');</script>
<script>notifications.load('reputation');</script>
<script>notifications.load('subscriptions');</script>
<script>notifications.load('rusff_awards')</script>
<script type="text/javascript">
notifications.load('common', {});
notifications.load('important', {topics: [20,99,191]});
</script>
<!--// конец //-->

0

6

Код:
.custom_tag_blockHidden { display: none; }

/* awards */
div.modal-content h3 {
    font-family: 'Vollkorn';
    font-weight: bold;
    font-size: 21px;
    text-align: left;
}


div.modal-content .container {
    padding: 4px 12px;
}

div.modal-content div#closeBtn {
    cursor: pointer;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 15px;
    right: 10px;
    font-family: 'FontAwesomeSolid';
}

#awards-modal .awards-header {
    position: relative;
    padding: 8px 12px 2px 10px;
}

div.modal-content div#closeBtn::before {
    content: "\f00d";
    font-size: 22px;
}

#awards-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#awards-modal .modal-content {
    max-width: 740px;
    width: 100%;
    text-align: center;
    border: 4px double var(--pinkBorder);
    background: url(https://forumstatic.ru/files/001c/1a/e7/30201.jpg?v=1) repeat scroll;
    box-shadow: 0 0 20px -11px #000;
}

#awards-modal .modal-content > .container {
    overflow: scroll;
    max-height: min(80vh, 550px);
}

#awards-modal .container img {
    max-width: 53px;
    max-height: 53px;
}

#awards-modal .errorContainer {
    text-align: left;
    padding: 11px;
}

#awards-modal .loaderContainer {
    padding: 10px 10px 20px 0;
}

#awards-modal .loader {
  border: 8px solid var(--lightBG);
  border-top: 8px solid var(--pinkBorder);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.concrete-award {
  width: 310px;
  margin: 9px 10px !important;
  border: 1px solid var(--pinkBorder);
  background: url(https://forumstatic.ru/files/001c/1a/e7/77280.png) top left repeat;  
  border-radius: 4px;
  box-shadow: 0 0 0 2px var(--lightBG), 0 0 0 3px var(--pinkBorder);
  padding: 7px 6px;
  text-align: left;
}

.mobile .concrete-award { width: 100%; margin: 9px 0px !important; }

#awards-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 6px 6px 12px 6px;
}

.concrete-award-content {
    background: rgb(255 255 255 / 24%);
    border-radius: 5px;
    padding: 6px;
    min-height: 59px;
}

.award-icon {
    padding: 5px;
    line-height: 0;
    margin: 0 7px 10px 0 !important;
    width: max-content;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    background: rgb(0 0 0 / 12%);
    float: left;
}

.award-name {
    font-family: 'Vollkorn';
    line-height: 110%;
    color: #deccd0 !important;
    text-shadow: 0 0 6px var(--mainText);
}

/* mobile design (dolor) */

.slideSelectorPicker, .radioTablePicker, .textBlocksCopy { display: none; }
.tableSlide2 { padding-right: 10px; }

@media screen and (max-width: 540px) {
.mobile {

/* Основа
-------------------------------------------------------------*/

  * {
    float: none !important;
    box-sizing: border-box;
  }

  #pun {
    width: 100% !important;
    padding: 460px 10px 0 10px !important;
    margin: 120px auto 100px auto !important;
    background: url(https://forumstatic.ru/files/001c/1a/e7/90264.png) bottom center no-repeat scroll, url(https://forumstatic.ru/files/001c/1a/e7/30201.jpg?v=1) repeat scroll;
    border: 4px double var(--pinkBorder);  
}

input { width: 100% !important; }

input[type=checkbox] {
    width: auto !important;
}

#pun-status {
  top: 377px !important;
}

#pun_wrap {
    min-width: 0px !important;
}

#pun-index .category h2, #pun-index #pun-stats h2 {
    width: 100% !important;
}

.punbb .post h3 span { width: 100% !important; }
#pun-title { width: 100% !important; }
#pun-status { width: calc(100% - 20px) !important; }
#pun-about { width: 95% !important; bottom: 14px !important; }
#pun-break4 { width: 100% !important; }
div#pun-viewtopic #main-reply { width: 100% !important; }
.banners { width: calc(100% - 20px) !important; margin-left: 0px; }
div#pun-messages .post h3 { width: 100% !important; }
div#pun-messages .post h3 span { width: 100% !important; }
div#pun-searchposts .post h3 span { width: 100% !important; }

#pun-status span {
    white-space: normal !important;
    margin-right: 0.5em !important;
    display: block !important;
}

div#pun-crumbs1 {
    position: relative;
}

#pun-crumbs1 p.container {
padding: 10px !important;
}


/* стили для предотвращения зума */
input, textarea {
  font-size: 16px;
  touch-action: manipulation;
}

@supports (-webkit-touch-callout: none) {
  input, textarea {
    font-size: 16px !important;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Навигация
-------------------------------------------------------------*/

#pun-navlinks li a {
  font-size: 0 !important;
  padding: 0;
  display: flex !important;
  display: -webkit-flex;
  position: relative;
  font: normal 24px 'FontAwesomeSolid';
}

#pun-ulinks {
            top: -119px !important;
            left: 0px !important;
            width: calc(100% + 13px) !important;
            margin-left: -10px !important;
            padding: 28px 0px 0px 0px !important;
            height: 105px !important;
}

#pun-navlinks li a:after, #pun-ulinks:after  {
  content: "";
  font: normal 24px 'FontAwesomeSolid';
}

#pun-navlinks li#navindex a:after {content: "\f015";}
#pun-navlinks li#navuserlist a:after {content: "\f500";}
#pun-navlinks li#navsearch a:after {content: "\f002";}
#pun-navlinks li#navprofile a:after {content: "\f007";}
#pun-navlinks li#navpm a:after {content: "\f075";}
#pun-navlinks li#navadmin a:after {content: "\e51c";}
#pun-navlinks li#navlogout a:after {content: "\f084";}
#pun-navlinks li#navlogin a:after {content: "\f084";}
#pun-navlinks li#navregister a:after {content: "\f234";}
#pun-navlinks li#navwatch a:after {content: "\f25c";}
#pun-navlinks li#navpr a:after {content: "\f518";}
#pun-navlinks li#navawards a { display: none; }

#pun-ulinks .container {
            flex-wrap: wrap;
            display: flex !important;
            padding: 10px 10px 0px 10px;
            margin-left: 7px;
            width: calc(100% - 7px) !important;
}

#pun-title { background: none !important; }

/* Таблица
-------------------------------------------------------------*/

.NavTop {
  position: absolute;
  flex-wrap: wrap !important;
  width: calc(100% - 14px) !important;
  flex-direction: row !important;
  align-content: flex-start !important;
  gap: 0px !important;
  left: 8px !important;
  height: 91px !important;
  top: 7px;
  background: var(--lightOpBG);
  border-radius: var(--radius);
  padding: 3px 7px;
}

.NavTop a {
  width: 49% !important;
  height: 30px !important;
  background: none !important;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 !important;
}

.NavTop a navtxt {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 0 !important;
}

.textBlocks {
  overflow: hidden;
  height: 370px;
  width: 100% !important;
  margin: 0px !important;
  left: 0px;
  position: absolute;
  top: 0px;
}

.textBlocksCopy {
        display: block;
        overflow: hidden;
        height: 370px;
        width: calc(100% + 8px) !important;
        margin: 0px !important;
        left: -4px;
        position: absolute;
        top: -9px;
        background: url(https://forumstatic.ru/files/001c/05/9b/65609.webp);
        -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));

}

.textBlocks .wrap {
    display: block !important;
    height: calc(100% - 12px) !important;
    width: calc(100% - 12px) !important;
    margin-top: 200px;
    padding: 5px 10px;
    gap: 10px;
}

.textBlocks .slideSelectorPicker {
    display: flex !important;
    position: absolute;
    font: normal 24px 'FontAwesomeSolid';
    width: 30px !important;
    height: 40px;
    align-items: center;
    top: calc(50% + 50px);
    padding: 0 5px;
    z-index: 99999999999;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.textBlocks .slideSelectorPicker span {
    color: var(--pinkText);
}


.textBlocks #slideSelector1:checked ~ #slideSelectorPicker1 {
        display: none !important;
}

.textBlocks #slideSelector2:checked ~ #slideSelectorPicker2 {
        display: none !important;
}

.textBlocks #slideSelector1:checked ~ .tableSlide1{
        left: 0% !important;
}
.textBlocks #slideSelector1:checked ~ .tableSlide2{
        left: 120% !important;
}

.textBlocks #slideSelector2:checked ~ .tableSlide2{
        left: 0% !important;
}
.textBlocks #slideSelector2:checked ~ .tableSlide1 {
        left: -120% !important;
}

.textBlocks #slideSelectorPicker1 {
    left: 0px;
    background: var(--lightOpBG);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.textBlocks #slideSelectorPicker2 {
    right: 0px;
    background: var(--lightOpBG);
    border-radius: var(--radius) 0 0 var(--radius);
    flex-direction: row-reverse;
}

.textBlocks .TxtBlock01 {
    position: relative;
    transition: left 0.6s ease;  
    top: 0px !important;
    left: 0px;
    height: 250px !important;
    width: 100% !important;
}

.tableSlide2, .tableSlide1 {
    transition: left 0.6s ease;  
}

.tableSlide2 { padding: 0; }

.textBlocks .tableSlide2 {
    top: calc(16px - 100%) !important;
    position: relative;
}

.textBlocks .TxtBlock02 {
    position: relative;
    width: 100% !important;
    height: 240px !important;
    top: 88px !important;
    left: 0px;
}

.textBlocks .Wanted {
    position: relative;
    top: 0px !important;
    left: 0;
    width: 100% !important;
}

.NavTop a:last-of-type { display: none !important; }

#pun-navlinks .container {
    gap: 5px !important;
}

#pun #pun-navlinks {
    width: 100% !important;
    margin-left: 0px !important;
    padding: 18px 0px 17px 0px !important;
    top: -120px !important;
    z-index: 999;
    left: 0;
}

.wrapTableSlider { position: relative; }

#pun-announcement .container { padding: 6px 0px 0px 0px !important; }

/* Подфорумы
-------------------------------------------------------------*/

#pun tr {
    display: flex !important;
    display: -webkit-flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
}
 
#pun .hasicon .tcr {
    width: 100% !important;
    padding-left: 5px !important;
}

#pun .hasicon .tclcon {
    width: 100% !important;
}


#pun-break4 {
    border: solid !important;
    border-width: 0px 50px 60px 50px !important;
    border-image: url(https://forumstatic.ru/files/001c/1a/e7/96451.webp) !important;
    border-image-repeat: repeat !important;
    border-image-slice: 66 50 !important;
    background: none !important;
    width: calc(100% + 60px) !important;
    margin: 0px 0px -5px -30px !important;
}

#pun-crumbs2 {
padding-bottom: 10px !important;
}

#pun thead {
display: none;
}

#pun-index .tcl { width: 100% !important; } 
#pun-index tbody.hasicon .intd { padding-left: 0px !important; }
#pun-index .tcl h3 a {
    width: 100% !important;
    text-align: left !important;
    line-height: 17px !important;
}

.punbb .user-avatar .avatar-image {
    float: left !important;
    height: 24px !important;
    width: 24px !important;
}

.punbb .user-avatar {
    float: left !important;
    height: 24px !important;
    width: 24px !important;
}

.punbb .user-avatar .isonline {
    right: -2px !important;
}

.statcont { display: none !important; }

li#onlinelist { margin-top: 0 !important; }


#pun-index div.inew { background: none !important; }
#pun-index .category table tbody tr:has(.inew) {
    background: url(https://forumstatic.ru/files/001c/1a/e7/25306.png) top left no-repeat;
}

/* Подфорумы (внутри), поисковые страницы, табличные страницы 
-------------------------------------------------------------*/

#pun .intd {
    display: flex !important;
    display: -webkit-flex !important;
    flex-direction: row !important;
}

.linkst .postlink, .postlink.long {
width: auto !important;
}

#pun-viewforum .forum .container .hasicon td.tc2::before {
    content: "Ответы: "; 
    display: table-cell;
}

#pun-viewforum .forum .container .hasicon td.tc3::before {
    content: "Просмотры: "; 
    display: table-cell;
}

.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
    width: auto !important;
}

#pun-viewforum.punbb .main .tc2, .punbb .main .tc3 {
    width: 50% !important;
    display: flex;
    flex-basis: content;
}

.linkst .pagelink {
    width: auto !important;
}

#pun-searchtopics .forum .container .hasicon td.tc2::before {
    content: "Форум: "; 
    display: table-cell;
}

#pun-searchtopics .forum .container .hasicon td.tc3::before {
    content: "Просмотры: "; 
    display: table-cell;
}

#pun-searchtopics .main .tc2, #pun-searchtopics .main .tc3{
    width: auto !important;
}

#pun-searchtopics.punbb .main .tc2, .punbb .main .tc3 {
    width: 50% !important;
    display: flex;
    flex-basis: content;
    padding: 6px;
}

#pun-searchtopics .hasicon .tcr {
        padding: 0 0 0 5px !important;
}

body #pun-viewforum .forum .tcl, body #pun-searchtopics .forum .tcl {
    padding: 30px 0 0px 0 !important;
}

.multipage .tcl { width: 100%; }


.punbb .formal .container {
padding: 0 !important;
}

#pun-online tr {
    padding-top: 16px !important;
}

#pun-online .tcl.action {
    width: 100% !important;
}

/* Пост
-------------------------------------------------------------*/

.punbb .post .post-author {
        width: calc(100% + 26px) !important;
        background: url(https://forumstatic.ru/files/001c/1a/e7/21941.png?v=1) !important;
        margin-left: -13px !important;
        border: none !important;
        border-radius: 0 !important;
}

.punbb .post .post-author ul {
        min-height: 82px !important;
        width: calc(100% + 6px) !important;
        align-items: baseline;
        margin: 0 10px !important;
}

ul .pa-author {
    grid-column-start: 2;
    grid-column-end: 7;
    grid-row-start: 1;
    grid-row-end: 1;
    display: inherit;
    text-align: left;
    position: inherit;
    height: 22px;
    align-items: center;
    justify-content: left;
    padding: 0 !important;
    margin: 0 !important;
}

li.pa-avatar.item2 img {
    max-width: 60px !important;
    max-height: 60px !important;
}

li.pa-avatar.item2 {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 4;
    display: inherit;
}

img.defavtr {
    margin: 0 !important;
}

li.pa-fld1, li.pa-fld2 {
    display: none !important;
}

li.pa-positive span.fld-name::before,
li.pa-respect span.fld-name a::before,
li.pa-awards a::before,
li.pa-fld4 span.fld-name::before,
li.pa-fld3 span.fld-name::before,
li.pa-posts span.fld-name::before { font-size: 13px !important; }

li.pa-ua { display: none !important; }
li.pa-respect { flex-wrap: nowrap !important; }

.punbb .post .post-author::before {
    background: url(https://forumstatic.ru/files/001c/1a/e7/73801.webp) !important;
    height: 54px !important;
    width: 159px !important;
    top: 7px !important;
    left: 0px !important;
}

.punbb .post h3 span a.permalink {
    flex-grow: 1;
    text-align: right;
    font-size: 12px !important;
}

.punbb .post h3 span {
    margin: 0 !important;
    z-index: 999 !important;
    left: 9px !important;
    display: flex !important;
    margin-top: -17px !important;
    padding-right: 19px !important;
}

li.pa-title {
    text-align: left !important;
    position: relative !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    grid-column-start: 2;
    grid-column-end: 7;
    grid-row-start: 2;
    grid-row-end: 2;
    display: inherit;
    margin: 0 !important;
    height: 18px;
}

li.pa-posts, li.pa-respect, li.pa-positive, li.pa-awards, li.pa-fld3 {
    flex-direction: row;
}

li.pa-posts {
    grid-column-start: 2;
    grid-column-end: 7;
    grid-row-start: 3;
    grid-row-end: 3;
}

li.pa-respect {    
    grid-column-start: 3;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 3;
}

li.pa-awards {
    grid-column-start: 4;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 3;
    margin-top: 0;
}

li.pa-fld3 {
    grid-column-start: 5;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 3;
}

li.pa-awards span { margin-top: 3px; }

li.pa-ip { display: none; }

.punbb .post-body {
    margin: 0 !important;
    padding: 10px 0px
}

.punbb .post-links {
 margin-left: 0 !important;
}

.punbb .post-links ul {
   padding: 0 !important;
   height: auto !important;
   line-height: 1em !important;
   margin-left: 0 !important;
   text-align: left !important;
}

.punbb .post h3 strong {
            font-size: 14px !important;
            margin-top: 2px !important;
            line-height: 15px !important;
}

.punbb .formsubmit input.button, #pun-main #post input.button {
    margin: 6px 0px !important;
    height: 28px !important;
}

.punbb .formsubmit {
margin: 0 !important;
padding: 0 !important;
}

.multipage {
margin-top: 0 !important;
}

.punbb h1 span {
    position: relative;
    top: -1em;
}

#pun #pun-viewtopic div#post-form {
    margin-top: 4em;
}

.punbb .post .post-author ul {
    line-height: normal !important;
    display: grid;
    grid-template-columns: 78px 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: start;
    grid-auto-rows: 21px;
}

.FNTslider {
    position: absolute !important;
    margin-top: -16px !important;
 }

.punbb .toppost, .punbb .topicpost {
    margin-top: 30px !important;
}

.punbb .post-box {
    text-align: left !important;
}

#pun-report .inner, #pun-reputation .inner, #pun-admin-award-form {
    z-index: 9999 !important;
    width: 92vw !important;
    margin-left: -48vw !important;
}

#pun .post-sig tbody tr {
    flex-direction: column-reverse !important;
}

#pun .post-sig tbody td {
    width: auto !important;
}

div#pun-messages .post h3 span { top: 22px !important; }

.punbb .linkst { padding-bottom: 40px !important; }
.linksb .pagelink { width: auto !important; }

div#tooltip { margin: -120px 0 0 -10px !important; }

#pun-messages #profilenav { height: auto !important; }

#pun-messages #profilenav ul { gap: 10px !important; }
#pun-messages #profilenav li { padding-bottom: 0 !important; }

/* кнопки формы ответа
-------------------------------------------------------------*/

.punbb .linksb { text-align: left; }

#pun #form-buttons tr {
        display: flex !important;
        display: -webkit-flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
}

#smilies-area, #video-area, #spoiler-area, #image-area { width: auto !important;}

.punbb fieldset {
    padding: 0 6px;
}

#imageupload-right { margin-top: 16px !important; padding: 0 !important; }

.inputfield.required.longinput span {
    margin-left: 0 !important;
}

/* страница профиля
-------------------------------------------------------------*/
#profilenav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0px 17px;
        padding: 12px 6px 0px 6px !important;
}

#pun-profile #viewprofile td#profile-left { width: 100% !important; padding-bottom: 20px; }
#pun-profile #viewprofile li { padding: 0 !important; }
#pun-profile #viewprofile li span { margin-left: 0 !important; }
#pun-profile #viewprofile #profile-right { width: 100% !important; }
#pun-profile #viewprofile #viewprofile u { padding: 0 !important; }

/* личные сообщения
-------------------------------------------------------------*/

.messages-container .post .container {
    margin: 0 !important;
    padding: 0 !important;
}
div#pun-messages .messages-container .post .container .post-author {
    width: 100% !important;
    margin-bottom: 16px !important;
}

.messages-container .post .container .post-author ul {
    margin: 0 !important;
    min-height: 78px !important;
}

div#pun-messages .messages-container .post .container .post-author ul .pa-author {
    padding: 0 0 0 66px !important;
}

.messages-container .post .container .post-author ul .pa-title {
    margin: 0 0 14px 0;
    padding-left: 67px !important;
}

.messages-container .post .container .post-author ul .pa-reg,
.messages-container .post .container .post-author ul .pa-posts,
.messages-container .post .container .post-author ul .pa-online {
    display: none;
}

.tipsy.post-voters-tip.tipsy-se {
    margin: -120px 0 0 0 !important;
}

.post .bookmark {
    right: -14px !important;
}

#tags .container#spoiler-area, #tags .container#image-area, #tags .container#video-area, #tags .container#color-area, #tags .container#table-area, #tags .container#smilies-area {
    top: 77px !important;
}

.hvStickerPackModal {
    margin: 0 0 55px 0 !important;
}

#tags .container#keyboard-area, #meny-styles, #tags .container#addition-area {
    top: 110px !important;
}

.hv-mask-block {
    flex-direction: column;
}

.hv-preview-block {
    width: 100% !important;
}

.hv-form-block {
    max-height: max-content !important;
}

#mask_dialog .hv-control input + input {
margin-left: 0 !important;
}


.punbb .inner.post_report h1 span { top: 0 !important; }

.punbb .main .inner.post_report .tc2 {
    width: 100% !important;
}

.forum .tcl span.byuser { margin: 6px 0 4px 0px; }

#profile10 table#filetable td {
    width: auto !important;
}
}
}

/* tooltips */
#tooltip {
    position:absolute;
    margin: -80px 0 0 10px !important;
    display:none;
    text-align: center;
    padding: 6px;
    font-size: 12px;
    font-weight: normal;
    color: var(--mainText) !important;
    background: var(--lightBG) !important;
    box-shadow: none;
    border: 1px solid var(--pinkBorder)!important;
    border-radius: 4px !important;
    font-family: Roboto!important;
    z-index: 999999999999999;
    opacity: 1 !important;
}

body .tipsy.gam .tipsy-inner, .tipsy-inner {
    opacity: 1 !important;
    margin: -80px 0 0 10px !important;
    font: normal 12px Roboto !important;
    background-color: rgb(205 205 205) !important;
    color: #333 !important;
    border: 1px solid rgb(194 171 176) !important;
    border-radius: 4px !important;
}

.tipsy-s .tipsy-arrow, .tipsy-arrow {border-color: rgba(0, 0, 0, 0) transparent transparent transparent !important;}


/* Перенос Колонок тем и сообщений под Описание Форума */
#pun-index .category .tc2,#pun-index .category .tc3{display:none!important;}

.Tems_And_messages {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.Add {
    display: flex;
    padding: 0px 5px;
    margin: 10px 0 0 0;
    flex-direction: row;
    font-family: vollkorn;
    text-transform: lowercase;
    font-size: 14px;
    opacity: 0.8;
}

/* Регулировка размера шрифта в постах */
.FNTslider {
    border-radius: 4px;
    position: relative;
    z-index: 1000;
    width: 112px;
    height: 10px;
    margin: 5px 5px 3px 5px !important;
    float: right;
    margin-right: 7% !important;
    background: var(--pinkText);
}

.FNTslider .before {
    height: 10px;
    border-right: none 0;
    border-radius: 50px 0 0 50px;
    position: absolute;
    background: var(--darkpinkAcc);
    margin-top: 0;
    left: 0px;
    mix-blend-mode: overlay;
    max-width: 105px;
}

.FNTslider .thumb {
    width: 9px;
    height: 16px;
    position: relative;
    top: -3px;
    cursor: pointer;
    background-color: var(--darkpinkAcc);
    border-radius: 50px;
}

0


Вы здесь » azzt test » Тестовый форум » Тестовое сообщение


Рейтинг форумов | Создать форум бесплатно