mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-17 14:36:12 -05:00
379 lines
7.1 KiB
CSS
379 lines
7.1 KiB
CSS
/*******************************************************/
|
|
/* copyrighted by pretendo. */
|
|
/* website design by jipfr, mrjvs and benthehuman */
|
|
/*******************************************************/
|
|
|
|
/* fonts */
|
|
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
|
|
|
|
/* setup */
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Roboto', Arial, Helvetica, sans-serif;
|
|
font-weight: 400;
|
|
background: #efefef;
|
|
overflow-x: hidden;
|
|
}
|
|
body.flex {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
body.flex .contentWrapper {
|
|
flex: 1;
|
|
}
|
|
|
|
/* common header */
|
|
nav.navWrapper {
|
|
background: #673db6;
|
|
color: white;
|
|
display: flex;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 10;
|
|
justify-content: center;
|
|
}
|
|
nav.navWrapper .navItem {
|
|
flex: 0;
|
|
padding: 15px 20px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
text-decoration: none;
|
|
font-size: 1em;
|
|
cursor: pointer;
|
|
align-self: stretch;
|
|
}
|
|
nav.navWrapper .navItem:hover, nav.navWrapper .navItem.active {
|
|
color: white;
|
|
text-decoration: none;
|
|
background: rgba(0, 0, 0, 0.07);
|
|
}
|
|
nav.navWrapper .navItem.brand {
|
|
font-weight: 600;
|
|
background: #5231a7;
|
|
padding: 15px 40px;
|
|
color: white;
|
|
}
|
|
nav.navWrapper .navBtn, nav.navWrapper .navBtnAlt {
|
|
flex: 0;
|
|
align-self: center;
|
|
padding: 5px 30px;
|
|
color: white;
|
|
text-decoration: none;
|
|
font-size: 1em;
|
|
cursor: pointer;
|
|
background-color: #512da8;
|
|
border-radius: 5px;
|
|
margin: 0 10px;
|
|
box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.07);
|
|
}
|
|
nav.navWrapper .navBtnAlt {
|
|
color: #3d1c8a;
|
|
background-color: white;
|
|
}
|
|
nav.navWrapper .navBtn:hover {
|
|
background-color: #52339b;
|
|
}
|
|
nav.navWrapper .navBtnAlt:hover {
|
|
background-color: rgba(255, 255, 255, 0.745);
|
|
color: #54359b;
|
|
}
|
|
nav.navWrapper .navItem:nth-last-child(2) {
|
|
margin-right: 20px;
|
|
}
|
|
nav.navWrapper .navProfile {
|
|
align-self: stretch;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 20px;
|
|
}
|
|
nav.navWrapper .navProfile img {
|
|
border-radius: 50%;
|
|
width: 2em; height: 2em;
|
|
background-color: white;
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
}
|
|
nav.navWrapper .navProfile p {
|
|
padding: 0 0 0 10px;
|
|
}
|
|
nav.navWrapper .navSpread {
|
|
flex: 1;
|
|
}
|
|
|
|
/* mobile nav */
|
|
nav.navWrapper .navItem.hamburger {
|
|
display: none;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
@media screen and (max-width: 720px) {
|
|
nav.navWrapper {
|
|
flex-direction: column;
|
|
box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.07);
|
|
}
|
|
nav.navWrapper .navItem:not(.brand) {
|
|
display: none;
|
|
}
|
|
nav.navWrapper.open .navItem, nav.navWrapper .navItem.hamburger {
|
|
display: block;
|
|
}
|
|
nav.navWrapper.open .navItem.navBtn, nav.navWrapper.open .navItem.navBtnAlt {
|
|
padding: .5em 0;
|
|
width: 12em;
|
|
text-align: center;
|
|
margin: .5em 0;
|
|
}
|
|
nav.navWrapper .navItem:nth-last-child(2) {
|
|
margin-right: 0;
|
|
}
|
|
nav.navWrapper.open .navItem.navProfile {
|
|
align-self: center;
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
/* content wrapper */
|
|
.contentWrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
nav.navWrapper ~ .contentWrapper:nth-child(2) {
|
|
margin-top: 3rem;
|
|
}
|
|
.contentWrapper .bgExtrude {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
background: #673db6;
|
|
height: 10rem;
|
|
z-index: 2;
|
|
}
|
|
.contentWrapper.bgLines::before, .contentWrapper.bgLines::after,
|
|
.contentWrapper.bgLinesSmall::before, .contentWrapper.bgLinesSmall::after {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 3;
|
|
width: 0;
|
|
height: 0;
|
|
border-style: solid;
|
|
border-width: 100vh 0 0 200vw;
|
|
border-color: transparent transparent transparent #673db6;
|
|
left: 0;
|
|
bottom: 0;
|
|
}
|
|
.contentWrapper.bgLines::after, .contentWrapper.bgLinesSmall::after {
|
|
border-width: 0 0 100vh 200vw;
|
|
border-color: transparent transparent #9575CD transparent;
|
|
right: 0;
|
|
left: auto;
|
|
z-index: 2;
|
|
}
|
|
.contentWrapper.bgLinesSmall::after {
|
|
border-width: 0 0 18vh 150vw;
|
|
}
|
|
.contentWrapper.bgLinesSmall::before {
|
|
border-width: 20vh 0 0 150vw;
|
|
}
|
|
.contentWrapper > * {
|
|
z-index: 3;
|
|
position: relative;
|
|
}
|
|
|
|
/* footer */
|
|
footer {
|
|
background: #673db6;
|
|
padding: 2em 1em;
|
|
}
|
|
footer .content {
|
|
background: white;
|
|
border-radius: 5px;
|
|
padding: 1em;
|
|
text-align: center;
|
|
box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.07);
|
|
color: #707070;
|
|
}
|
|
footer .content span {
|
|
color: black;
|
|
}
|
|
|
|
/* big card */
|
|
section.bigCardWrapper {
|
|
padding: 20px;
|
|
}
|
|
section.bigCardWrapper .bigCard {
|
|
max-width: 80vw;
|
|
margin: auto;
|
|
background-color: white;
|
|
box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.07);
|
|
padding: 5vw 12vw;
|
|
box-sizing: border-box;
|
|
color: #707070;
|
|
}
|
|
section.bigCardWrapper .bigCard.lessPadding {
|
|
padding: 4vw 5vw;
|
|
}
|
|
section.bigCardWrapper .bigCard.bigCardPartWrapper {
|
|
display: flex;
|
|
}
|
|
|
|
|
|
/* text styles */
|
|
.txt-highlight {
|
|
color: #673db6;
|
|
margin-bottom: 0;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
}
|
|
.txt-title {
|
|
color: #191919;
|
|
margin-top: 10px;
|
|
margin-bottom: 15px;
|
|
font-size: 2.5em;
|
|
}
|
|
.txt-title.small {
|
|
font-size: 2em;
|
|
}
|
|
.txt-smallHeading {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
color: #383838;
|
|
}
|
|
.txt-center {
|
|
text-align: center;
|
|
}
|
|
|
|
/* components - buttons */
|
|
a.btn, a.btn-alt,
|
|
a.btn:focus, a.btn-alt:focus,
|
|
a.btn:hover, a.btn-alt:hover {
|
|
text-decoration: none;
|
|
}
|
|
button, .btn, .btn-alt {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
font-family: 'Roboto';
|
|
font-size: 1em;
|
|
cursor: pointer;
|
|
}
|
|
.btn, button {
|
|
background: #673db6;
|
|
color: white;
|
|
padding: 12px 80px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.17);
|
|
}
|
|
.btn-alt {
|
|
background: white;
|
|
padding: 10px 45px;
|
|
color: #673db6;
|
|
border: 1px solid #673db6;
|
|
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
|
|
border-radius: 5px;
|
|
}
|
|
.btn:hover, button:hover, .btn-alt:hover {
|
|
background: #553099;
|
|
color: white;
|
|
}
|
|
|
|
/* components - profiles */
|
|
/* profiles */
|
|
.cardProfiles {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
.profile {
|
|
min-width: 250px;
|
|
width: 50%;
|
|
max-width: 550px;
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
}
|
|
.profileIcon {
|
|
margin-right: 10px;
|
|
width: 80px; height: 80px;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
}
|
|
.profileText {
|
|
width: calc(100% - 130px);
|
|
min-width: 200px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
.profileText h2 {
|
|
margin: 0;
|
|
}
|
|
.profileText p {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
/* components - inputs */
|
|
|
|
input::placeholder, textarea::placeholder {
|
|
color: #bebebe;
|
|
opacity: 1;
|
|
}
|
|
|
|
input[type="text"], input[type="password"], textarea {
|
|
display: inline-block;
|
|
width: 100%;
|
|
padding: 1em 2em;
|
|
border-style: solid;
|
|
border-color: rgb(165, 165, 165);
|
|
border-width: 1px;
|
|
border-radius: 8px;
|
|
margin: 1em 0;
|
|
font-family: 'Roboto', Arial, Helvetica, sans-serif;
|
|
font-weight: 400;
|
|
font-size: 1rem;
|
|
box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.07);
|
|
transition: border-color .1s;
|
|
box-sizing: border-box;
|
|
resize: none;
|
|
}
|
|
|
|
label {
|
|
font-size: 1em;
|
|
margin: 2em 0 .2em .2em;
|
|
display: block;
|
|
}
|
|
|
|
input[type="text"].hasLabel, input[type="password"].hasLabel {
|
|
margin: 0;
|
|
}
|
|
|
|
textarea {
|
|
height: 12rem;
|
|
}
|
|
|
|
input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
|
|
border-color: rgb(103, 61, 182);
|
|
box-shadow: 0 3px 10px 0px rgba(103, 61, 182, 0.07);
|
|
}
|
|
|
|
/* helper classes */
|
|
.cont-flex {
|
|
display: flex;
|
|
}
|
|
.flex-item {
|
|
flex: 1;
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
section.bigCardWrapper {
|
|
padding: 0;
|
|
padding-bottom: 3em;
|
|
}
|
|
section.bigCardWrapper .bigCard {
|
|
max-width: 100vw;
|
|
padding: 50px;
|
|
}
|
|
} |