MediaWiki:Common.css: відмінності між версіями
Перейти до навігації
Перейти до пошуку
Немає опису редагування |
Немає опису редагування Мітка: Скасовано |
||
| Рядок 82: | Рядок 82: | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | ||
} | } | ||
.hidden { display: none !important; } | |||
.fade-in { | |||
animation: fadeIn 0.4s ease-in-out; | |||
} | |||
@keyframes fadeIn { | |||
from { opacity: 0; } | |||
to { opacity: 1; } | |||
} | |||
.server-card { | |||
margin-top: 20px; | |||
padding: 12px; | |||
background-color: #424242; | |||
color: white; | |||
border-radius: 6px; | |||
} | |||
.server-card .green-text { color: #66bb6a; } | |||
.server-card .red-text { color: #ef5350; } | |||
.server-card .white-text { color: white; } | |||
.server-card ul { list-style: none; padding-left: 0; } | |||
Версія за 13:04, 5 червня 2025
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
#pt-mytalk { display: none !important; }
#ca-history { display: none !important; }
#ca-viewsource { display: none !important; }
#ca-talk { display: none !important; }
#p-tb { display: none !important; }
#ca-view { display: none !important; }
#p-logo a {
background-position: center center;
background-repeat: no-repeat;
display: block;
width: 10em;
height: 160px;
text-decoration: none;
background-size: contain;
}
#p-logo {
width: 10em;
height: 160px;
margin-bottom: 1em;
margin-top: 1em;
}
.vector-legacy-sidebar .vector-menu-portal {
font-size: 20px;
}
/** Leaderboard Table CSS*/
#leaderboard {
width: 100%;
background-color: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
overflow: hidden;
margin: 5px auto 30px;
}
#leaderboard h1 {
background-color: #0056b3;
color: #ffffff;
text-align: center;
margin: 0;
padding: 1em;
}
#leaderboard table {
width: 100%;
border-collapse: collapse;
}
#leaderboard th, #leaderboard td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #dddddd;
border-right: 1px solid #dddddd;
}
#leaderboard th {
background-color: #f2f2f2;
text-align: center;
}
#leaderboard tr:hover {
background-color: #f1f1f1;
}
.player-img {
width: 24px;
height: 24px;
margin-right: 8px;
vertical-align: middle;
border-radius: 4px;
border: 1px solid #a2a9b1;
}
.player-link {
text-decoration: none;
color: #0645ad;
}
.player-link:hover {
text-decoration: underline;
color: #007bff;
}
li.gallerybox div.thumb:hover {
transform: scale(1.1);
transform: 0.3s ease-in-out;
}
li.gallerybox div.thumb img {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.hidden { display: none !important; }
.fade-in {
animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.server-card {
margin-top: 20px;
padding: 12px;
background-color: #424242;
color: white;
border-radius: 6px;
}
.server-card .green-text { color: #66bb6a; }
.server-card .red-text { color: #ef5350; }
.server-card .white-text { color: white; }
.server-card ul { list-style: none; padding-left: 0; }