mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-03-21 17:24:28 -05:00
287 lines
4.3 KiB
CSS
287 lines
4.3 KiB
CSS
|
|
:root {
|
|
--background: #1B1F3B;
|
|
--text: white;
|
|
--text-secondary: #A1A8D9;
|
|
--btn: #673DB6;
|
|
--text-secondary-2: #8990C1;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--background);
|
|
color: var(--text);
|
|
display: flex;
|
|
justify-content: center;
|
|
font-family: Poppins, Arial;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.wrapper {
|
|
width: 95%;
|
|
max-width: 1590px;
|
|
}
|
|
|
|
h1.dot:after, h2.dot:after {
|
|
content: ".";
|
|
color: #9D6FF3;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 35px;
|
|
}
|
|
header nav a:first-child {
|
|
margin-left: 40px;
|
|
}
|
|
header nav a {
|
|
color: var(--text-secondary);
|
|
margin: 0 17px;
|
|
}
|
|
|
|
|
|
/* Misc */
|
|
.purple-circle {
|
|
position: absolute;
|
|
z-index: -1;
|
|
width: 2100px;
|
|
height: 1700px;
|
|
background: #111531;
|
|
border-radius: 50%;
|
|
top: -250px;
|
|
right: -1420px;
|
|
}
|
|
.light-purple-circle {
|
|
background: #CAB1FB;
|
|
width: 500px;
|
|
height: 500px;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(calc(-50% - 35px), calc(-50% + 120px));
|
|
border-radius: 50%;
|
|
z-index: 5;
|
|
/* Tmp */
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Hero */
|
|
.hero {
|
|
/* height: 775px; /* To line it up with the design */
|
|
display: grid;
|
|
align-items: center;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.hero-meta {
|
|
margin-top: 230px;
|
|
}
|
|
.hero-image {
|
|
position: relative;
|
|
}
|
|
.hero .title, .hero .subtitle {
|
|
margin: 0;
|
|
}
|
|
.hero .subtitle {
|
|
font-size: 3.125rem;
|
|
font-weight: 300;
|
|
}
|
|
.hero .title {
|
|
font-size: 5rem;
|
|
}
|
|
.hero .text {
|
|
font-size: 1.375rem;
|
|
color: var(--text-secondary);
|
|
width: 90%;
|
|
line-height: 1.8;
|
|
margin: 0;
|
|
}
|
|
|
|
/*
|
|
BUTTONS
|
|
*/
|
|
.hero .buttons {
|
|
margin-top: 40px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
.hero .buttons a {
|
|
display: block;
|
|
}
|
|
.hero .buttons a > * {
|
|
cursor: pointer;
|
|
}
|
|
.button {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
font-family: Poppins;
|
|
font-size: 1rem;
|
|
color: var(--text);
|
|
}
|
|
.button.primary {
|
|
padding: 16px 55px;
|
|
background: var(--btn);
|
|
}
|
|
.button.secondary {
|
|
background: #333960;
|
|
}
|
|
.button.secondary.discord svg {
|
|
margin-bottom: -5px;
|
|
}
|
|
.button.secondary.icon-btn {
|
|
width: 60px;
|
|
height: 60px;
|
|
margin-left: 15px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.button svg {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: block;
|
|
}
|
|
|
|
/* Non-hero sections */
|
|
.sect .title {
|
|
font-size: 3.125rem;
|
|
}
|
|
section.progress {
|
|
margin-top: 400px;
|
|
}
|
|
.column-2 {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.sect .title {
|
|
margin: 0;
|
|
}
|
|
.sect .text {
|
|
margin: 22px 0;
|
|
width: 64%;
|
|
line-height: 1.7;
|
|
}
|
|
section.progress .left, section.progress .right {
|
|
padding: 50px 0;
|
|
}
|
|
section.progress .right {
|
|
position: relative;
|
|
padding-left: 80px;
|
|
height: 300px;
|
|
background: #673DB6;
|
|
border-top-left-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
}
|
|
section.progress .text {
|
|
color: #D2C4EC;
|
|
}
|
|
section.progress .right:before {
|
|
content: "";
|
|
width: 300vw;
|
|
position: absolute;
|
|
height: 100%;
|
|
background: yellow;
|
|
left: 90%;
|
|
margin-top: -50px;
|
|
background: #673DB6;
|
|
}
|
|
|
|
section.faq {
|
|
margin-top: 200px;
|
|
}
|
|
|
|
.questions {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.question-and-answer summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
.question-and-answer summary {
|
|
font-size: 1.5625rem;
|
|
}
|
|
.question-and-answer .text {
|
|
margin: 5px 0;
|
|
line-height: 1.85;
|
|
color: var(--text-secondary-2);
|
|
}
|
|
|
|
section.team {
|
|
margin-top: 220px;
|
|
}
|
|
.team .team-top {
|
|
text-align: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
.team .team-top .text {
|
|
width: 24%;
|
|
margin: 0;
|
|
margin-top: 6px;
|
|
}
|
|
.team .team-top .title {
|
|
width: 100%;
|
|
}
|
|
|
|
.team-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
grid-gap: 20px;
|
|
margin-top: 80px;
|
|
}
|
|
.card {
|
|
width: calc(100% - 54px);
|
|
padding: 18px 27px;
|
|
display: grid;
|
|
grid-template-columns: 110px 1fr;
|
|
grid-gap: 20px;
|
|
background: #16192D;
|
|
grid-column: span 2;
|
|
border-radius: 10px;
|
|
align-items: center;
|
|
}
|
|
.card .pfp {
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
background: white;
|
|
}
|
|
.card .text, .card .title {
|
|
margin: 0;
|
|
}
|
|
.card .sub {
|
|
color: #59C9A5;
|
|
font-size: .875rem;
|
|
}
|
|
.card .title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 5px;
|
|
}
|
|
.card .github {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
.card .github svg {
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
display: block;
|
|
}
|
|
.card .text {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
|
|
footer {
|
|
text-align: center;
|
|
color: var(--text-secondary);
|
|
margin-top: 290px;
|
|
margin-bottom: 40px;
|
|
} |