Dantes (обсуждение | вклад) (Полностью удалено содержимое страницы) Метки: очистка ручная отмена |
Dantes (обсуждение | вклад) Нет описания правки Метка: отменено |
||
| Строка 1: | Строка 1: | ||
:root { | |||
--transition-duration: 0.4s; | |||
--primary-bg-color: #0a0e17; | |||
--secondary-bg-color: #131a2a; | |||
--item-bg-color: #1a243b; | |||
--item-hover-bg-color: #243156; | |||
--border-color: #2a3a5a; | |||
--text-color: #d4dcf0; | |||
--hover-text-color: #ffffff; | |||
--accent-color: #4a7ce7; | |||
--accent-hover: #5b8df8; | |||
--font-family: 'Arial', sans-serif; | |||
--menu-border-radius: 15px; | |||
--header-padding: 25px; | |||
--item-height: 160px; | |||
--icon-size: 64px; | |||
--text-font-size: 16px; | |||
} | |||
body { | |||
background: linear-gradient(135deg, #0c1220 0%, #1a243b 100%); | |||
margin: 0; | |||
padding: 20px; | |||
font-family: var(--font-family); | |||
color: var(--text-color); | |||
min-height: 100vh; | |||
} | |||
.stars-bg { | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
background-image: | |||
radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 5px), | |||
radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 3px), | |||
radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 4px); | |||
background-size: 550px 550px, 350px 350px, 250px 250px; | |||
background-position: 0 0, 40px 60px, 130px 270px; | |||
z-index: -1; | |||
} | |||
.custom-lore-menu { | |||
max-width: 1200px; | |||
margin: 30px auto; | |||
padding: 30px; | |||
border-radius: var(--menu-border-radius); | |||
background: rgba(10, 14, 23, 0.85); | |||
display: grid; | |||
grid-template-columns: 1fr; | |||
gap: 25px; | |||
font-family: var(--font-family); | |||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); | |||
backdrop-filter: blur(5px); | |||
border: 1px solid var(--border-color); | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.custom-lore-menu::before { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
height: 5px; | |||
background: linear-gradient(90deg, #4a7ce7, #8a5ce7, #4a7ce7); | |||
border-radius: 5px 5px 0 0; | |||
} | |||
.custom-header { | |||
text-align: center; | |||
background: linear-gradient(90deg, rgba(26, 36, 59, 0.7) 0%, rgba(42, 58, 90, 0.7) 100%); | |||
padding: var(--header-padding); | |||
border-bottom: 2px solid var(--border-color); | |||
color: var(--text-color); | |||
font-size: 28px; | |||
font-weight: bold; | |||
text-shadow: 0 0 10px rgba(90, 150, 255, 0.5); | |||
letter-spacing: 1px; | |||
border-radius: 10px; | |||
margin-bottom: 15px; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.custom-header::before { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: -100%; | |||
width: 100%; | |||
height: 100%; | |||
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); | |||
animation: shimmer 5s infinite; | |||
} | |||
@keyframes shimmer { | |||
0% { left: -100%; } | |||
20% { left: 100%; } | |||
100% { left: 100%; } | |||
} | |||
.custom-links { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); | |||
gap: 20px; | |||
padding: 20px; | |||
justify-items: center; | |||
align-items: stretch; | |||
} | |||
.custom-item { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
width: 100%; | |||
height: var(--item-height); | |||
text-align: center; | |||
border: 1px solid var(--border-color); | |||
border-radius: 12px; | |||
background: linear-gradient(145deg, var(--item-bg-color), #161f33); | |||
transition: all var(--transition-duration); | |||
cursor: pointer; | |||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.custom-item::before { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
height: 3px; | |||
background: var(--accent-color); | |||
opacity: 0.7; | |||
} | |||
.custom-item:hover { | |||
background: linear-gradient(145deg, var(--item-hover-bg-color), #1c2742); | |||
transform: translateY(-5px) scale(1.03); | |||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); | |||
border-color: var(--accent-color); | |||
} | |||
.custom-item:hover::before { | |||
background: var(--accent-hover); | |||
opacity: 1; | |||
} | |||
.custom-item a { | |||
text-decoration: none; | |||
color: var(--text-color); | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
justify-content: center; | |||
width: 100%; | |||
height: 100%; | |||
transition: color var(--transition-duration), text-shadow var(--transition-duration); | |||
font-size: var(--text-font-size); | |||
font-weight: bold; | |||
z-index: 2; | |||
padding: 10px; | |||
} | |||
.custom-item a:hover { | |||
color: var(--hover-text-color); | |||
text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); | |||
} | |||
.custom-icon { | |||
width: var(--icon-size); | |||
height: var(--icon-size); | |||
margin-bottom: 10px; | |||
flex-shrink: 0; | |||
filter: drop-shadow(0 0 5px rgba(90, 150, 255, 0.5)); | |||
transition: transform var(--transition-duration); | |||
} | |||
.custom-item:hover .custom-icon { | |||
transform: scale(1.1) rotate(5deg); | |||
} | |||
.corporate-logos { | |||
display: flex; | |||
justify-content: center; | |||
gap: 30px; | |||
margin-top: 20px; | |||
flex-wrap: wrap; | |||
} | |||
.corporate-logo { | |||
opacity: 0.7; | |||
transition: opacity 0.3s; | |||
filter: grayscale(0.3); | |||
} | |||
.corporate-logo:hover { | |||
opacity: 1; | |||
filter: grayscale(0); | |||
} | |||
@media (max-width: 768px) { | |||
.custom-lore-menu { padding: 20px; } | |||
.custom-links { grid-template-columns: repeat(2, 1fr); } | |||
.custom-item { height: auto; padding: 15px 10px; } | |||
.custom-item a { font-size: 14px; } | |||
.corporate-logos { gap: 15px; } | |||
.corporate-logo img { width: 80px; } | |||
} | |||
@media (max-width: 480px) { | |||
.custom-links { grid-template-columns: 1fr; } | |||
.custom-header { font-size: 22px; padding: 15px; } | |||
} | |||
Версия от 21:56, 15 сентября 2025
:root {
--transition-duration: 0.4s;
--primary-bg-color: #0a0e17;
--secondary-bg-color: #131a2a;
--item-bg-color: #1a243b;
--item-hover-bg-color: #243156;
--border-color: #2a3a5a;
--text-color: #d4dcf0;
--hover-text-color: #ffffff;
--accent-color: #4a7ce7;
--accent-hover: #5b8df8;
--font-family: 'Arial', sans-serif;
--menu-border-radius: 15px;
--header-padding: 25px;
--item-height: 160px;
--icon-size: 64px;
--text-font-size: 16px;
}
body {
background: linear-gradient(135deg, #0c1220 0%, #1a243b 100%);
margin: 0;
padding: 20px;
font-family: var(--font-family);
color: var(--text-color);
min-height: 100vh;
}
.stars-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 5px),
radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 3px),
radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 4px);
background-size: 550px 550px, 350px 350px, 250px 250px;
background-position: 0 0, 40px 60px, 130px 270px;
z-index: -1;
}
.custom-lore-menu {
max-width: 1200px;
margin: 30px auto;
padding: 30px;
border-radius: var(--menu-border-radius);
background: rgba(10, 14, 23, 0.85);
display: grid;
grid-template-columns: 1fr;
gap: 25px;
font-family: var(--font-family);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
backdrop-filter: blur(5px);
border: 1px solid var(--border-color);
position: relative;
overflow: hidden;
}
.custom-lore-menu::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 5px;
background: linear-gradient(90deg, #4a7ce7, #8a5ce7, #4a7ce7);
border-radius: 5px 5px 0 0;
}
.custom-header {
text-align: center;
background: linear-gradient(90deg, rgba(26, 36, 59, 0.7) 0%, rgba(42, 58, 90, 0.7) 100%);
padding: var(--header-padding);
border-bottom: 2px solid var(--border-color);
color: var(--text-color);
font-size: 28px;
font-weight: bold;
text-shadow: 0 0 10px rgba(90, 150, 255, 0.5);
letter-spacing: 1px;
border-radius: 10px;
margin-bottom: 15px;
position: relative;
overflow: hidden;
}
.custom-header::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
animation: shimmer 5s infinite;
}
@keyframes shimmer {
0% { left: -100%; }
20% { left: 100%; }
100% { left: 100%; }
}
.custom-links {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 20px;
padding: 20px;
justify-items: center;
align-items: stretch;
}
.custom-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: var(--item-height);
text-align: center;
border: 1px solid var(--border-color);
border-radius: 12px;
background: linear-gradient(145deg, var(--item-bg-color), #161f33);
transition: all var(--transition-duration);
cursor: pointer;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
position: relative;
overflow: hidden;
}
.custom-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: var(--accent-color);
opacity: 0.7;
}
.custom-item:hover {
background: linear-gradient(145deg, var(--item-hover-bg-color), #1c2742);
transform: translateY(-5px) scale(1.03);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
border-color: var(--accent-color);
}
.custom-item:hover::before {
background: var(--accent-hover);
opacity: 1;
}
.custom-item a {
text-decoration: none;
color: var(--text-color);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
transition: color var(--transition-duration), text-shadow var(--transition-duration);
font-size: var(--text-font-size);
font-weight: bold;
z-index: 2;
padding: 10px;
}
.custom-item a:hover {
color: var(--hover-text-color);
text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}
.custom-icon {
width: var(--icon-size);
height: var(--icon-size);
margin-bottom: 10px;
flex-shrink: 0;
filter: drop-shadow(0 0 5px rgba(90, 150, 255, 0.5));
transition: transform var(--transition-duration);
}
.custom-item:hover .custom-icon {
transform: scale(1.1) rotate(5deg);
}
.corporate-logos {
display: flex;
justify-content: center;
gap: 30px;
margin-top: 20px;
flex-wrap: wrap;
}
.corporate-logo {
opacity: 0.7;
transition: opacity 0.3s;
filter: grayscale(0.3);
}
.corporate-logo:hover {
opacity: 1;
filter: grayscale(0);
}
@media (max-width: 768px) {
.custom-lore-menu { padding: 20px; }
.custom-links { grid-template-columns: repeat(2, 1fr); }
.custom-item { height: auto; padding: 15px 10px; }
.custom-item a { font-size: 14px; }
.corporate-logos { gap: 15px; }
.corporate-logo img { width: 80px; }
}
@media (max-width: 480px) {
.custom-links { grid-template-columns: 1fr; }
.custom-header { font-size: 22px; padding: 15px; }
}