Шаблон:Онлайн: відмінності між версіями

Матеріал з Бастіон-16
Перейти до навігації Перейти до пошуку
Немає опису редагування
Немає опису редагування
 
(Не показані 68 проміжних версій 2 користувачів)
Рядок 6: Рядок 6:
         #widget {
         #widget {
             padding: 1em;
             padding: 1em;
             background-color: #f9f9f9;
             box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            border: 1px solid #c8ccd1;
            border-radius: 4px;
            text-align: center;
         }
         }
         #players {
         #players {
            font-weight: bold;
             list-style: none;
             list-style: none;
             padding: 0;
             padding: 0;
Рядок 20: Рядок 18:
             align-items: center;
             align-items: center;
             padding: 5px 0;
             padding: 5px 0;
             border-bottom: 1px solid #eaecf0;
             border-bottom: 1px solid #b1b3b6;
         }
         }
         #players li:last-child {
         #players li:last-child {
Рядок 40: Рядок 38:
             color: #007bff;
             color: #007bff;
         }
         }
         .server-status {
         .server-header {
             display: flex;
             text-align: center;
             justify-content: center;
             margin-bottom: 15px;
             align-items: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
             margin: 10px auto;
        }
        #playerCount {
            font-size: 1.2em;
             font-weight: bold;
             margin-left: 10px;
         }
         }
         #server-icon {
         #server-icon {
Рядок 50: Рядок 52:
             height: 64px;
             height: 64px;
             display: block;
             display: block;
             margin-right: 15px;
             float: left;
        }
        .status-container {
            display: flex;
            align-items: center;
            justify-content: flex-start;
         }
         }
         .status-indicator {
         .status-indicator {
Рядок 68: Рядок 75:
         }
         }
         .status-text {
         .status-text {
             font-size: 1em;
             font-size: 1.2em;
             font-weight: bold;
             font-weight: bold;
         }
         }
Рядок 88: Рядок 95:
         }
         }
         #motd {
         #motd {
            font-size: 1.2em;
                font-size: 1.2em;
            font-weight: bold;
                font-weight: bold;
            color: #0056b3;
              font-weight: bold;
            background-color: #e9f5ff;
    color: #0056b3;
    background-color: #000000;
    padding: 20px 10px 10px 10px;
    /* border-radius: 4px; */
    margin-bottom: 1em;
          text-align: center;
            height: 34px;
        }
        #server-ip {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            width: 21%;
            font-size: 1.2em; */
            margin: 1em 0 auto;
             padding: 10px;
             padding: 10px;
             border: 1px solid #c8e1ff;
             /* background-color: #f1f1f1; */
             border-radius: 4px;
            /* border: 1px solid #ccc; */
             margin-bottom: 1em;
            display: block;
             cursor: pointer;
            text-align: center;
            /* position: absolute; */
            top: 50%;
            background-color: #fff;
            color: #000;
          } 
        #server-ip:hover {
             background-color: #000;
            color: #fff;
         }
         }
         #server-ip {
         #anketa {
             font-size: 1em;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
             margin: 1em 0;
            width: 21%;
             font-size: 1.2em; */
             margin: 1em 0 auto;
             padding: 10px;
             padding: 10px;
             background-color: #f1f1f1;
             /* background-color: #f1f1f1; */
             border: 1px solid #ccc;
             /* border: 1px solid #ccc; */
            border-radius: 4px;
             display: block;
             display: inline-block;
             cursor: pointer;
             cursor: pointer;
            text-align: center;
            /* position: absolute; */
            top: 50%;
            background-color: #fff;
            color: #000;
            text-decoration: none;
          } 
        #anketa:hover {
            background-color: #000;
            color: #fff;
         }
         }
         #server-ip:hover {
         .link-header {
             background-color: #e1e1e1;
            display: flex;
            align-items: center;
             justify-content: space-evenly;
         }
         }
     </style>
     </style>
</head>
</head>
<body>
<body>
<div class="mw-body">
         <div id="widget">
         <div id="widget">
             <div class="server-header">
             <div class="server-header">
                 <img id="server-icon" src="" alt="Іконка сервера" style="display: none;">
                 <img id="server-icon" src="" alt="Іконка сервера">
                <div class="status-container">
                <p id="motd" class="info">Завантаження MOTD...</p>
                    <div id="status-indicator" class="status-indicator status-offline"></div>
            </div>
                    <div id="status-text" class="status-text status-offline-text">Offline</div>
            <div class="link-header">
                 </div>
            <p id="server-ip" onclick="copyToClipboard('play.bastion16.co.ua')">IP Сервера</p>
            <a target=”_blank” href="https://bastion16.co.ua/anketa/survey" id="anketa">Анкета</a>
            <a target=”_blank” href="https://map.bastion16.co.ua/" id="anketa">Мапа</a>
            <a target=”_blank” href="https://t.me/bastionanketa_bot" id="anketa">Написати адміну</a>
            </div>
            <div class="status-container">
                <div id="status-indicator" class="status-indicator status-offline"></div>
                <div id="status-text" class="status-text status-offline-text">Offline</div>
                 <p id="playerCount" class="info">Завантаження...</p>
             </div>
             </div>
            <p id="motd" class="info">Завантаження MOTD...</p>
            <p id="server-ip" onclick="copyToClipboard('play.bastion16.co.ua')">play.bastion16.co.ua</p>
            <p id="playerCount" class="info">Завантаження...</p>
             <ul id="players"></ul>
             <ul id="players"></ul>
         </div>
         </div>
    </div>
</body>
</body>
</html>
</html>

Поточна версія на 16:08, 20 вересня 2025

MC Онлайн Гравці

Іконка сервера

Завантаження MOTD...

Offline

Завантаження...