mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
302 lines
5.7 KiB
CSS
302 lines
5.7 KiB
CSS
.hero {
|
|
padding: 124px 0 60px;
|
|
background-image: url('/assets/download/download-background.webp');
|
|
background-size: cover;
|
|
background-position: center;
|
|
position: relative;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 60px;
|
|
text-shadow: 0 0 28px #00000080;
|
|
margin-bottom: 20px;
|
|
color: white;
|
|
}
|
|
|
|
.hero .hero-wrapper {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
max-width: 620px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero .main-downloads {
|
|
max-width: 600px;
|
|
margin: 40px auto;
|
|
display: grid;
|
|
gap: 18px;
|
|
text-align: center;
|
|
}
|
|
.hero .main-download-details {
|
|
color: var(--download-main-details-color);
|
|
font-size: 14px;
|
|
margin-top: 0;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.hero .previous-releases {
|
|
color: var(--download-hero-color);
|
|
font-size: 95%;
|
|
}
|
|
.hero .previous-releases-featured {
|
|
font-size: 110%;
|
|
line-height: 36px;
|
|
}
|
|
|
|
.hero .other-platforms {
|
|
color: var(--download-hero-color);
|
|
font-weight: 600;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
margin: 8px;
|
|
}
|
|
|
|
.hero .other-platforms .other-platforms-wrapper {
|
|
max-width: 1200px;
|
|
margin: auto;
|
|
}
|
|
|
|
.btn.btn-download-main,
|
|
.btn.btn-download-main2,
|
|
.btn.btn-download-primary {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
display: inline-flex;
|
|
flex-basis: content;
|
|
padding: 0px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.btn.btn-download-main2 {
|
|
background-color: rgb(111 111 111 / 27%);
|
|
-webkit-backdrop-filter: blur(4px);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.btn.btn-download-main img,
|
|
.btn.btn-download-main2 img,
|
|
.btn.btn-download-primary img {
|
|
display: inline-block;
|
|
filter: invert();
|
|
margin-right: 10px;
|
|
width: 22px;
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
.btn.btn-download-main .download-hint,
|
|
.btn.btn-download-main2 .download-hint,
|
|
.btn.btn-download-primary .download-hint {
|
|
background-color: var(--primary-color-text-title);
|
|
color: var(--dark-color);
|
|
line-height: 32px;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.btn.btn-download-main .download-title,
|
|
.btn.btn-download-main2 .download-title,
|
|
.btn.btn-download-primary .download-title {
|
|
color: var(--primary-color-text-title);
|
|
font-size: 20px;
|
|
line-height: 32px;
|
|
padding: 12px 32px 12px 24px;
|
|
}
|
|
|
|
.platform-details .card {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.platform-details pre {
|
|
background-color: var(--platform-code-background-color);
|
|
}
|
|
|
|
.platform-details .download {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.platform-details .download-details {
|
|
color: var(--secondary-color-text);
|
|
font-size: 14px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.platform-details .download-note {
|
|
padding: 16px 12px;
|
|
font-size: 92%;
|
|
background-color: var(--platform-note-background-color);
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.platform-details .download-note p {
|
|
margin: 0;
|
|
}
|
|
|
|
.platform-details .platform-split {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 24px;
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.platform-details .platform-split {
|
|
grid-template-columns: 1fr;
|
|
gap: 0;
|
|
}
|
|
}
|
|
|
|
.other-download {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 30px;
|
|
max-width: 100%;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.other-download {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
.other-download-card {
|
|
background: var(--card-background-color);
|
|
border-radius: 6px;
|
|
padding: 26px 35px;
|
|
}
|
|
|
|
.platforms-wrapper {
|
|
background-color: var(--dark-color);
|
|
width: auto;
|
|
max-width: 100%;
|
|
margin: 40px 0;
|
|
padding: 24px 24px;
|
|
}
|
|
|
|
.platforms-wrapper h2 {
|
|
color: var(--dark-color-text-title);
|
|
}
|
|
|
|
.platform-tabs {
|
|
margin-bottom: -1px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.platform-tabs .tab {
|
|
color: var(--dark-color-text);
|
|
}
|
|
|
|
.platform-tabs .tab img {
|
|
display: block;
|
|
filter: invert(100%);
|
|
}
|
|
|
|
.platform-tabs .tab:not(.active):hover {
|
|
background: rgba(255 255 255 / 7.5%);
|
|
color: var(--dark-color-text-hl);
|
|
}
|
|
.platform-tabs .tab.active {
|
|
background: rgba(255 255 255 / 15%);
|
|
color: var(--dark-color-text-title);
|
|
}
|
|
|
|
.digital-stores {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 24px;
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.digital-stores {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.digital-stores p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.digital-stores .digital-store-list {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.digital-stores .digital-store-list {
|
|
justify-content: center;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
@media (max-width: 768px) {
|
|
.digital-stores .digital-store-list {
|
|
grid-template-columns: 1fr;
|
|
justify-items: center;
|
|
}
|
|
}
|
|
|
|
.btn.btn-digital-store {
|
|
background-color: var(--primary-color);
|
|
color: var(--dark-color-text-title);
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 12px 24px;
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.btn.btn-digital-store {
|
|
justify-content: center;
|
|
gap: 12px;
|
|
min-width: 50%;
|
|
}
|
|
}
|
|
|
|
.digital-store-name {
|
|
font-weight: 600;
|
|
font-size: 105%;
|
|
}
|
|
|
|
.digital-store-logo img {
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
.digital-stores-notes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.digital-stores-notes ul {
|
|
margin: 0;
|
|
}
|
|
|
|
.digital-stores-notes ul li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.unstable-downloads {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.unstable-download-previews {
|
|
max-width: 768px;
|
|
}
|
|
.unstable-download-previews .btn {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.unstable-download-source {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 28px;
|
|
}
|
|
@media (max-width: 768px) {
|
|
.unstable-download-source {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
}
|