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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 5: Строка 5:
     justify-content: center;
     justify-content: center;
     padding: 1rem;
     padding: 1rem;
     background: #f5f5f5;
     background: #1f1f1f;
   }
   }


   .infoblocks .infoblock {
   .infoblocks .infoblock {
     background: #ffffff;
     background: #2e2e2e;
     color: #333333;
     color: #dddddd;
     width: 300px;
     width: 300px;
     border-radius: 8px;
     border-radius: 8px;
     box-shadow: 0 4px 8px rgba(0,0,0,0.1);
     box-shadow: 0 4px 8px rgba(0,0,0,0.8);
     font-family: sans-serif;
     font-family: sans-serif;
     overflow: hidden;
     overflow: hidden;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
    border: 1px solid #444;
   }
   }


Строка 25: Строка 26:
     padding: 0.75rem 1rem;
     padding: 0.75rem 1rem;
     gap: 0.5rem;
     gap: 0.5rem;
     background: #eaeaea;
     background: #3e3e3e;
     border-bottom: 1px solid #ddd;
     border-bottom: 1px solid #444;
   }
   }
   .infoblock .header img {
   .infoblock .header img {
Строка 56: Строка 57:
     font-size: 0.95rem;
     font-size: 0.95rem;
     font-weight: 500;
     font-weight: 500;
     color: #555;
     color: #bbb;
   }
   }
   .infoblock .section ul {
   .infoblock .section ul {

Версия от 14:24, 2 июля 2025

  .infoblocks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 1rem;
    background: #1f1f1f;
  }

  .infoblocks .infoblock {
    background: #2e2e2e;
    color: #dddddd;
    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 {
    display: flex;
    align-items: center;
    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 {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1.4;
  }

  .infoblock .section {
    margin-bottom: 1rem;
  }
  .infoblock .section:last-child {
    margin-bottom: 0;
  }
  .infoblock .section h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #bbb;
  }
  .infoblock .section ul {
    margin: 0;
    padding-left: 1.2rem;
  }
  .infoblock .section ul li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
  }