Şablon:HomePage/styles.css
Naviqasiyaya keç
Axtarışa keç
.home-shell {
max-width: 1280px;
margin: 0 auto;
color: #14324f;
font-family: system-ui, sans-serif;
}
.home-shell *,
.home-shell *::before,
.home-shell *::after {
box-sizing: border-box;
}
.home-shell a {
color: #123f78;
text-decoration: none;
}
.home-shell a:hover {
text-decoration: underline;
}
.home-hero {
display: grid;
grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
gap: 28px;
align-items: stretch;
margin: 0 0 22px;
padding: 28px;
border-radius: 24px;
color: #fff;
background: linear-gradient(140deg, #0a2d59, #123f78 58%, #0c2a52);
box-shadow: 0 16px 40px rgba(10, 39, 79, 0.16);
}
.home-hero h2 {
margin: 0 0 14px;
color: #fff;
font: 700 44px/1.08 Georgia, "Times New Roman", serif;
}
.home-hero p {
max-width: 720px;
margin: 0 0 22px;
color: rgba(255, 255, 255, 0.92);
font-size: 16px;
line-height: 1.7;
}
.home-cta-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.home-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 128px;
min-height: 44px;
padding: 12px 18px;
border-radius: 12px;
background: #fff;
border: 1px solid rgba(255, 255, 255, 0.18);
color: #0b2d57;
font-size: 15px;
font-weight: 700;
line-height: 1.2;
text-align: center;
}
.home-btn a {
color: #0b2d57;
}
.home-btn--primary {
background: #e9b44c;
color: #1d2630;
}
.home-btn--primary a {
color: #1d2630;
}
.home-hero__visual {
min-height: 300px;
border: 4px solid rgba(233, 180, 76, 0.95);
border-radius: 24px;
overflow: hidden;
background: #dce8f5;
}
.home-hero__visual .image,
.home-hero__visual a {
display: block;
width: 100%;
height: 100%;
}
.home-hero__visual img {
display: block;
width: 100%;
height: 100%;
min-height: 300px;
object-fit: cover;
}
.home-row {
display: grid;
gap: 20px;
margin: 0 0 20px;
}
.home-row--feature {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-row--news {
grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}
.home-row--links {
grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}
.home-card {
min-width: 0;
padding: 22px;
background: #fff;
border: 1px solid #d9e3ef;
border-radius: 16px;
box-shadow: 0 10px 28px rgba(14, 44, 88, 0.06);
}
.home-card__eyebrow {
margin: 0 0 16px;
color: #123f78;
font-size: 15px;
font-weight: 700;
}
.home-feature,
.home-scientist {
display: grid;
grid-template-columns: minmax(160px, 0.44fr) minmax(0, 0.56fr);
gap: 20px;
align-items: start;
}
.home-feature__body h3,
.home-scientist__body h3 {
margin: 0 0 14px;
color: #0b2d57;
font: 700 26px/1.18 Georgia, "Times New Roman", serif;
}
.home-feature__body p,
.home-scientist__body p {
margin: 0 0 12px;
color: #334d66;
line-height: 1.68;
}
.home-source {
color: #66788f;
font-size: 13px;
}
.home-feature__image .image,
.home-scientist__image .image {
display: block;
}
.home-feature__image img,
.home-scientist__image img {
display: block;
width: 100%;
height: auto;
border-radius: 14px;
}
.home-card--recent {
overflow: hidden;
}
.home-recent-changes {
font-size: 14px;
line-height: 1.55;
}
.home-recent-changes ul {
margin: 0;
padding: 0;
list-style: none;
}
.home-recent-changes li,
.home-recent-changes .mw-changeslist-line {
padding: 10px 0;
border-bottom: 1px solid #edf2f8;
}
.home-recent-changes li:last-child,
.home-recent-changes .mw-changeslist-line:last-child {
border-bottom: 0;
}
.home-recent-changes .mw-changeslist-legend,
.home-recent-changes .mw-rcfilters-ui-filterWrapperWidget,
.home-recent-changes .mw-changeslist-links,
.home-recent-changes .mw-plusminus-pos,
.home-recent-changes .mw-plusminus-neg,
.home-recent-changes .mw-plusminus-null {
display: none;
}
.home-recent-changes table,
.home-recent-changes tbody,
.home-recent-changes tr,
.home-recent-changes td {
display: block;
width: 100%;
}
.home-stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.home-stat {
min-width: 0;
padding: 18px 12px;
text-align: center;
border: 1px solid #d9e3ef;
border-radius: 14px;
background: #fbfdff;
}
.home-stat__value {
color: #0b2d57;
font: 700 30px/1.1 Georgia, "Times New Roman", serif;
overflow-wrap: anywhere;
}
.home-stat__label {
margin-top: 6px;
color: #66788f;
font-size: 13px;
line-height: 1.35;
}
.home-stat-note {
margin-top: 12px;
color: #66788f;
font-size: 12px;
line-height: 1.5;
}
.home-card--institutes {
margin: 0 0 20px;
}
.home-inst-grid {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 14px;
}
.home-inst-card {
min-height: 132px;
padding: 14px 10px;
border: 1px solid #d9e3ef;
border-radius: 14px;
background: linear-gradient(180deg, #fff, #f8fbff);
text-align: center;
}
.home-inst-card .image {
display: block;
margin: 0 auto 10px;
}
.home-inst-card img {
display: block;
margin: 0 auto;
border-radius: 10px;
}
.home-inst-card__title {
font-size: 13px;
line-height: 1.3;
font-weight: 700;
color: #23405e;
overflow-wrap: anywhere;
}
.home-platforms {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
}
.home-platform {
min-width: 0;
padding: 16px;
border: 1px solid #d9e3ef;
border-radius: 14px;
background: #fff;
}
.home-platform .image {
display: block;
margin: 0 0 12px;
}
.home-platform__title {
margin: 0 0 8px;
font-size: 16px;
font-weight: 700;
}
.home-platform__text {
color: #334d66;
line-height: 1.6;
}
.home-quicklinks {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px 18px;
}
.home-quicklinks > div {
min-width: 0;
padding: 4px 0;
}
@media (max-width: 1180px) {
.home-row--feature,
.home-row--news,
.home-row--links {
grid-template-columns: 1fr;
}
.home-inst-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
@media (max-width: 900px) {
.home-hero {
grid-template-columns: 1fr;
}
.home-hero__visual,
.home-hero__visual img {
min-height: 240px;
}
.home-feature,
.home-scientist {
grid-template-columns: 1fr;
}
.home-platforms {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 760px) {
.home-hero {
padding: 20px;
border-radius: 18px;
}
.home-hero h2 {
font-size: 32px;
}
.home-btn {
flex: 1 1 140px;
}
.home-card {
padding: 18px;
border-radius: 14px;
}
.home-stats,
.home-inst-grid,
.home-platforms,
.home-quicklinks {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 520px) {
.home-hero h2 {
font-size: 28px;
}
.home-stats,
.home-inst-grid,
.home-platforms,
.home-quicklinks {
grid-template-columns: 1fr;
}
}