САЙТ В ПРОЦЕССЕ ОБНОВЛЕНИЯ, ВЕДУТСЯ ТЕХНИЧЕСКИЕ РАБОТЫ. Некоторые страницы могут быть недоступны, но мы работаем над этим. Скоро все заработает!

MediaWiki:Common.css: различия между версиями

Материал из Rubikus Public Wiki
Перейти к навигации Перейти к поиску
Стили для кнопки помощи
мНет описания правки
 
(не показано 16 промежуточных версий этого же участника)
Строка 53: Строка 53:


.flag-icon {
.flag-icon {
    display: inline-flex;
/*    display: inline-flex;
     align-items: center;
     align-items: center;
    justify-content: center;
     overflow: hidden;
     overflow: hidden;
     width: 15px;
     width: 15px;
     height: 10px;
     height: 10px;
     background-color: white; /* цвет пустого пространства */
     background-color: white; цвет пустого пространства */
    border-radius: 2px;
}
}


.flag-icon img {
.flag-icon img {
     width: 100%;
     width: 15px !important;
     height: 100%;
     height: 10px !important;
     object-fit: contain; /* сохраняем пропорции, добавляем пустое место, если нужно */
     margin-right: 1px;
    transform: translateY(-2px);
}
}


Строка 80: Строка 81:


#mw-panel a[href="https://helpua.rubikus.de/#helpus"] {
#mw-panel a[href="https://helpua.rubikus.de/#helpus"] {
     background: #ffeb99;      /* светлый фон */
     background: #fff500;      /* светлый фон */
    color: #0085ff;
     border-radius: 6px;
     border-radius: 6px;
     padding: 3px 6px;
     padding: 3px 6px;
Строка 87: Строка 89:
}
}
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:visited {
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:visited {
     background: #ffe066;
     color: #0085ff;
}
}
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:hover {
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:hover {

Текущая версия от 18:59, 29 ноября 2025

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Размещённый здесь CSS будет применяться только для зарегистрированных пользователей */
.user-show {
  display: none;
}
div.anonymous-show,
p.anonymous-show {
  display: block;
}
span.anonymous-show,
small.user-show {
  display: inline;
}
table.anonymous-show {
  display: table;
}
li.anonymous-show {
  display: list-item;
}

/* http://wiki.helpua.rubikus.de/mw/index.php?title=%D0%98%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%86%D0%B8%D0%B8_%D0%A0%D1%83%D0%B1%D0%B8%D0%BA%D1%83%D1%81%D0%B0
*/

.emoji, .flag, .flagicon {
    font-family: "Twemoji Mozilla", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
}

teststyle {
  color : red;
}

.strong_st {
  font-weight: bold;
}

.red_text {
  color: red;
}

.c10 {
  font-style: italic;
}

.head_in1 {
  font-weight: bold;
  font-size: 1.2em;
}

.head_in2 {
  font-weight: bold;
}


.flag-icon {
/*    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 15px;
    height: 10px;
    background-color: white;  цвет пустого пространства */
}

.flag-icon img {
    width: 15px !important;
    height: 10px !important;
    margin-right: 1px;
    transform: translateY(-2px);
}


/* Fix the left panel so it doesn't scroll */
#mw-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow: auto;
    z-index: 1000;
}

#mw-panel a[href="https://helpua.rubikus.de/#helpus"] {
    background: #fff500;      /* светлый фон */
    color: #0085ff;
    border-radius: 6px;
    padding: 3px 6px;
    font-weight: bold;
    text-decoration: none;
}
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:visited {
    color: #0085ff;
}
#mw-panel a[href="https://helpua.rubikus.de/#helpus"]:hover {
    background: #ffe066;
}

#scrollUpBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 12px;
    background-color: #007bff;
    opacity: 60%;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

#scrollUpBtn:hover {
    opacity:100%;
    background-color: #0056b3;    /* Darker blue on hover */
}