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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
 
(не показаны 73 промежуточные версии этого же участника)
Строка 1: Строка 1:
  .infoblocks {
body:before {
     display: flex;
     content: "";
     flex-wrap: wrap;
    position: fixed;
     gap: 1.5rem;
    top: 0;
     justify-content: center;
    left: 0;
     padding: 1rem;
     right: 0;
     background: #1f1f1f;
    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;
}


  .infoblocks .infoblock {
@keyframes snowmove {
     background: #2e2e2e;
     from { background-position: 0 0; }
    color: #dddddd;
     to { background-position: 500px 1000px; }
    width: 300px;
}
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.8);
     font-family: sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #444;
  }


  .infoblock .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;
    padding: 0.75rem 1rem;
}
    gap: 0.5rem;
     background: #3e3e3e;
    border-bottom: 1px solid #444;
  }
  .infoblock .header img {
    width: 20px;
    height: 20px;
  }
  .infoblock .header .title {
    font-size: 1.1rem;
    font-weight: 600;
  }


  .infoblock .content {
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover {
    padding: 1rem;
     text-shadow: 0 0 12px rgba(179, 229, 252, 0.9), 0 0 20px rgba(179, 229, 252, 0.6);
    flex: 1;
}
    display: flex;
    flex-direction: column;
    justify-content: space-between;
     line-height: 1.4;
  }


  .infoblock .section {
a, a:visited {
     margin-bottom: 1rem;
     transition: color 0.3s, text-shadow 0.3s;
  }
}
  .infoblock .section:last-child {
 
     margin-bottom: 0;
a:hover {
  }
     color: #b3e5fc !important;
  .infoblock .section h4 {
    text-shadow: 0 0 6px #b3e5fc;
     margin: 0 0 0.5rem;
}
    font-size: 0.95rem;
 
     font-weight: 500;
.wikitable {
    color: #bbb;
     border-color: rgba(179, 229, 252, 0.6) !important;
  }
     border-radius: 6px;
  .infoblock .section ul {
}
     margin: 0;
 
     padding-left: 1.2rem;
.wikitable th {
  }
     background: rgba(179, 229, 252, 0.1);
  .infoblock .section ul li {
}
    margin-bottom: 0.3rem;
 
     font-size: 0.9rem;
.mw-page-title-main:before {
  }
     content: " ";
}
 
.mw-page-title-main:after {
     content: " ";
}

Текущая версия от 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: " ";
}