MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
::marker {
    list-style-type: none !important;
}
.text-effect {
    font-size: 25px; /* начальный размер шрифта */
    color: black; /* начальный цвет текста */
    transition: color 0.3s ease, font-size 0.3s ease; /* плавный переход для цвета и размера шрифта */
}
.text-effect:hover {
    color: #b22222; /* тускло-красный цвет при наведении */
    font-size: 28px; /* немного увеличенный размер шрифта */
}
.c-form-title {
    font-family: 'MyCustomFont1';
    font-size: 40px;
    color: #D02019;
    line-height: 1;
    margin-top: 10px;
}
.c-form-title:hover {
    color: #E5241D;
}
.licontent {
    list-style: none;
    max-width: 30%;
}
.licontent .li-header {
    background: #8d2536;
    border: 2px solid #0f0f0f; /* Устанавливаем общую границу */
    border-bottom: none; /* Убираем нижнюю границу */
    height: 10px; /* Задайте подходящую высоту заголовка */
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-radius: 8px 8px 0 0; /* Скругление только для верхних углов */
    background-size: cover;
    background-image: url(/images/d/db/Clancy_Letter_Background1.png);
    display: flex; /* Для центрирования текста */
    justify-content: center;
    align-items: center;
}
.licontent .li-body {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    padding: 10px;
    background: #fffcf6;
    border-radius: 0 0 8px 8px;
    border: 2px solid #722215;
    border-top: none;
}
.licontent .li-body a {
    color: #1a73e8;
    text-decoration: none;
}
.licontent .li-body a:hover {
    text-decoration: underline;
}
/* Изменение текста "Discussion" на "Comments" */
a[rel="discussion"] span::before {
    content: "Comments";
}
a[rel="discussion"] span {
    visibility: hidden;
    position: relative;
}
a[rel="discussion"] span::before {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
}
/* Подчёркивание при наведении */
a[rel="discussion"]:hover {
    text-decoration: underline;
}
/* Container */
#medias-table {
    background-color: #efe9de;
    padding: 10px;
    border: 2px solid #722215;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 10px 10px 0px 0px;
    max-width: 28%;
  }
#social-container {
    background-color: #efe9de;
    padding: 10px;
    border: 1px solid #722215;
    margin-bottom: 10px;
    overflow: hidden;
    max-width: 40px;
    height: 40px;
  }
 
#social-container:hover {
    background-color: #CFC8B2;
  }
#social-wrapper {
    display: flex;          /* Выстраиваем элементы в ряд */
    gap: 10px;              /* Отступы между элементами */
}
.dc_button2 {
    font-weight: 700;
    text-align: center;
    display: inline-block;
    text-transform: uppercase;
    border: 2px solid rgba(65, 79, 106, .3);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(0, 0, 0, .75) inset;
    min-width: 94px;
    margin: 5px;
}
/* Selection */
.red-background ::selection {
    background-color: #FFE556; /* Желтый цвет выделения */
    color: #202122; /* Темно-серый цвет текста */
}
::selection {
    background-color: #E8C437; /* цвет фона при выделении текста */
    color: #202122;
}


/* Main Page*/
/* Main Page*/

Navigation menu