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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показано 206 промежуточных версий этого же участника)
Строка 1: Строка 1:
.department-card {
body:before {
     margin: 20px auto;
     content: "";
     max-width: 800px;
     position: fixed;
     background: #2b2b2b;
     top: 0;
     color: #f5f5f5;
     left: 0;
     border-radius: 10px;
     right: 0;
     overflow: hidden;
     bottom: 0;
     font-family: Arial, sans-serif;
     background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background-repeat: repeat;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     pointer-events: none;
     opacity: 0.35;
    z-index: 2;
    animation: snowmove 60s linear infinite;
}
}


.department-card:hover {
@keyframes snowmove {
     transform: translateY(-5px);
     from { background-position: 0 0; }
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
     to { background-position: 500px 1000px; }
}
}


.department-header {
h1, h2, h3, h4, h5 {
     display: flex;
     text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
    align-items: center;
     transition: text-shadow 0.3s;
    justify-content: center;
    background: #3b3b3b;
     padding: 20px;
    text-shadow: 1px 1px #000;
}
}


.department-header img {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
     margin-right: 10px;
     text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
    width: 64px;
    height: 64px;
}
}


.department-header .title {
a, a:visited {
     font-size: 30px;
     transition: color 0.3s, text-shadow 0.3s;
    font-weight: bold;
    color: #f0a500;
}
}


.section-header {
a:hover {
     background: #3b3b3b;
     color: #b3e5fc !important;
     text-align: center;
     text-shadow: 0 0 6px #b3e5fc;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    margin: 15px 10px;
    color: #f0a500;
}
}


.employee-list {
.wikitable {
     display: flex;
     border-color: rgba(179, 229, 252, 0.6) !important;
    justify-content: space-around;
     border-radius: 6px;
     flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
}
}


.employee {
.wikitable th {
    text-align: center;
     background: rgba(179, 229, 252, 0.1);
    flex: 1;
    max-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
     background: #3b3b3b;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
}


.employee:hover {
.mw-page-title-main:before {
     transform: scale(1.1);
     content: " ";
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
}


.employee img {
.mw-page-title-main:after {
    width: 120px;
     content: " ";
    height: 120px;
    border-radius: 50%;
    border: 3px solid #f5f5f5;
    margin-bottom: 10px;
}
 
.guides {
     text-align: center;
    padding: 15px;
    font-size: 18px;
    color: #f0a500;
}
}

Текущая версия от 08:23, 13 ноября 2025

body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/3/36/Snowflakes_falling_transparent.gif");
    background-repeat: repeat;
    pointer-events: none;
    opacity: 0.35;
    z-index: 2;
    animation: snowmove 60s linear infinite;
}

@keyframes snowmove {
    from { background-position: 0 0; }
    to { background-position: 500px 1000px; }
}

h1, h2, h3, h4, h5 {
    text-shadow: 0 0 6px rgba(179, 229, 252, 0.7), 0 0 12px rgba(179, 229, 252, 0.4);
    transition: text-shadow 0.3s;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
    text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
}

a, a:visited {
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #b3e5fc !important;
    text-shadow: 0 0 6px #b3e5fc;
}

.wikitable {
    border-color: rgba(179, 229, 252, 0.6) !important;
    border-radius: 6px;
}

.wikitable th {
    background: rgba(179, 229, 252, 0.1);
}

.mw-page-title-main:before {
    content: " ";
}

.mw-page-title-main:after {
    content: " ";
}