MediaWiki:Common.css
Страница интерфейса MediaWiki
Дополнительные действия
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* =========================================
CRYPTO WIKI — GLOBAL HOMEPAGE STYLES
========================================= */
.crypto-home {
--crypto-bg: #f5f7fa;
--crypto-card: #ffffff;
--crypto-text: #172033;
--crypto-muted: #758095;
--crypto-accent: #526ee8;
--crypto-border: #e8ebf1;
color: var(--crypto-text);
max-width: 1180px;
margin: 0 auto;
padding: 10px 0 40px;
font-family: inherit;
}
.crypto-home * {
box-sizing: border-box;
}
.crypto-home a {
text-decoration: none !important;
}
.crypto-home a:visited {
color: inherit;
}
/* Hero */
.crypto-hero {
position: relative;
overflow: hidden;
min-height: 340px;
padding: 55px 60px;
margin-bottom: 65px;
border-radius: 14px;
background: #17243b;
color: white;
}
.crypto-hero::before {
content: "";
position: absolute;
width: 390px;
height: 390px;
right: -100px;
top: -130px;
border: 1px solid rgba(255,255,255,.12);
border-radius: 50%;
box-shadow:
0 0 0 35px rgba(255,255,255,.025),
0 0 0 75px rgba(255,255,255,.025);
}
.crypto-hero::after {
content: "01010110 10100101 11001010";
position: absolute;
right: 35px;
bottom: 25px;
color: rgba(255,255,255,.12);
font-family: monospace;
font-size: 11px;
letter-spacing: 4px;
}
.crypto-hero-label,
.crypto-eyebrow {
font-size: 10px;
font-weight: 700;
letter-spacing: 2px;
color: var(--crypto-accent);
}
.crypto-hero-label {
color: #91a5ff;
}
.crypto-hero-title {
position: relative;
z-index: 1;
max-width: 700px;
margin: 22px 0 15px;
font-size: clamp(30px, 4vw, 49px);
line-height: 1.15;
font-weight: 750;
letter-spacing: -1.7px;
}
.crypto-hero-description {
position: relative;
z-index: 1;
max-width: 590px;
color: #bac5d7;
font-size: 15px;
line-height: 1.8;
}
.crypto-hero-actions,
.crypto-bottom-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 28px;
}
.crypto-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;
min-height: 43px;
padding: 0 18px;
border-radius: 6px;
font-size: 12px;
font-weight: 650;
transition: .2s ease;
}
.crypto-button-primary {
background: #647df1;
color: white !important;
}
.crypto-button-primary:hover {
background: #7d92ff;
transform: translateY(-2px);
}
.crypto-button-secondary {
border: 1px solid rgba(255,255,255,.23);
color: white !important;
}
.crypto-button-secondary:hover {
background: rgba(255,255,255,.1);
}
.crypto-hero-decoration {
position: absolute;
right: 55px;
bottom: 75px;
color: rgba(255,255,255,.23);
font: 11px/2 monospace;
letter-spacing: 2px;
text-align: right;
}
/* Sections */
.crypto-section {
margin-bottom: 65px;
}
.crypto-section-heading {
display: flex;
justify-content: space-between;
align-items: end;
gap: 20px;
margin-bottom: 25px;
}
.crypto-section-title {
margin-top: 8px;
font-size: 26px;
font-weight: 750;
letter-spacing: -.8px;
}
.crypto-section-note {
color: var(--crypto-muted);
font: 10px monospace;
letter-spacing: 1px;
}
/* Category cards */
.crypto-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 15px;
}
.crypto-card {
position: relative;
display: flex;
flex-direction: column;
min-height: 230px;
padding: 25px;
overflow: hidden;
border: 1px solid var(--crypto-border);
border-radius: 10px;
background: var(--crypto-card);
color: var(--crypto-text) !important;
transition: .22s ease;
}
.crypto-card:hover {
transform: translateY(-4px);
border-color: #b9c6ff;
box-shadow: 0 12px 35px rgba(35,55,100,.08);
}
.crypto-card-number {
position: absolute;
top: 20px;
right: 22px;
color: #aab3c3;
font: 11px monospace;
}
.crypto-card-icon {
display: flex;
align-items: center;
justify-content: center;
width: 43px;
height: 43px;
margin-bottom: 19px;
border-radius: 9px;
background: #edf0ff;
color: #526ee8;
font-size: 25px;
}
.crypto-card-title {
margin-bottom: 10px;
font-size: 16px;
font-weight: 750;
}
.crypto-card-description {
color: var(--crypto-muted);
font-size: 12px;
line-height: 1.7;
}
.crypto-card-footer {
display: flex;
justify-content: space-between;
margin-top: auto;
padding-top: 20px;
color: var(--crypto-accent);
font-size: 9px;
font-weight: 750;
letter-spacing: 1px;
}
/* Feature blocks */
.crypto-feature-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 65px;
}
.crypto-feature {
position: relative;
min-height: 240px;
padding: 32px;
border: 1px solid var(--crypto-border);
border-radius: 10px;
background: white;
}
.crypto-feature-title {
max-width: 390px;
margin: 24px 0 12px;
font-size: 23px;
font-weight: 750;
line-height: 1.3;
}
.crypto-feature-description {
max-width: 420px;
color: var(--crypto-muted);
font-size: 13px;
line-height: 1.8;
}
.crypto-text-link {
display: inline-block;
margin-top: 20px;
color: var(--crypto-accent) !important;
font-size: 12px;
font-weight: 700;
}
.crypto-feature-dark {
overflow: hidden;
border: none;
background: #202e49;
color: white;
}
.crypto-feature-dark .crypto-eyebrow {
color: #9aafff;
}
.crypto-feature-dark .crypto-feature-description {
color: #bdc8d9;
}
.crypto-text-link-light {
color: #a9baff !important;
}
.crypto-random-symbol {
position: absolute;
top: 25px;
right: 30px;
color: rgba(255,255,255,.13);
font-size: 90px;
}
/* Recent changes */
.crypto-recent {
padding: 20px;
overflow-x: auto;
border: 1px solid var(--crypto-border);
border-radius: 10px;
background: white;
}
.crypto-recent ul {
margin: 0;
padding-left: 20px;
}
.crypto-recent li {
padding: 7px 0;
color: var(--crypto-muted);
font-size: 12px;
line-height: 1.6;
}
.crypto-recent a {
color: #526ee8;
}
/* Bottom */
.crypto-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;
padding: 35px;
border-radius: 10px;
background: #edf0f8;
}
.crypto-bottom-title {
max-width: 450px;
margin-top: 10px;
font-size: 21px;
font-weight: 750;
}
.crypto-bottom-actions {
margin-top: 0;
}
.crypto-bottom .crypto-button-secondary {
border-color: #cbd1de;
color: #28344a !important;
}
/* Responsive */
@media (max-width: 850px) {
.crypto-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.crypto-hero-decoration {
display: none;
}
}
@media (max-width: 600px) {
.crypto-hero {
padding: 35px 25px;
min-height: auto;
margin-bottom: 45px;
}
.crypto-hero-title {
font-size: 32px;
}
.crypto-grid,
.crypto-feature-grid {
grid-template-columns: 1fr;
}
.crypto-card {
min-height: 210px;
}
.crypto-section-title {
font-size: 22px;
}
.crypto-section-note {
display: none;
}
.crypto-bottom {
align-items: flex-start;
flex-direction: column;
padding: 25px;
}
.crypto-bottom-actions {
flex-direction: column;
width: 100%;
}
.crypto-bottom-actions .crypto-button {
width: 100%;
}
}