337 lines
No EOL
5.9 KiB
CSS
337 lines
No EOL
5.9 KiB
CSS
/* Color vars should go here */
|
|
:root {
|
|
--main: #00629B;
|
|
--accent: #FFCD00;
|
|
--secondary: white;
|
|
--dark: #2A1A4E;
|
|
}
|
|
|
|
* {
|
|
scrollbar-width: auto;
|
|
scrollbar-color: var(--main) transparent;
|
|
}
|
|
*::-webkit-scrollbar {
|
|
width: 0.6em;
|
|
height: 0.6em;
|
|
}
|
|
*::-webkit-scrollbar-track {
|
|
background: var(--main);
|
|
}
|
|
*::-webkit-scrollbar-thumb {
|
|
background-color: var(--secondary);
|
|
}
|
|
html {
|
|
font-family: "Roboto", sans-serif;
|
|
font-weight: bold;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--main);
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.topbar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
color: var(--main);
|
|
background-color: var(--secondary);
|
|
padding: 0.5em;
|
|
align-items: center;
|
|
}
|
|
.topbar.burger-bar {
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
.topbar.burger-bar > .img-cont {
|
|
align-self: flex-start;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
align-items: center;
|
|
}
|
|
.img-cont img {
|
|
width: 22em;
|
|
}
|
|
.burger {
|
|
font-size: 2.8em;
|
|
font-weight: normal;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
margin-right: 0.3em;
|
|
}
|
|
.link-items.burger-time {
|
|
flex-direction: column;
|
|
position: absolute;
|
|
background-color: var(--secondary);
|
|
width: 10em;
|
|
box-shadow: rgba(0,0,0,0.3) 4px 4px 3px 0px;
|
|
right: 0;
|
|
margin-top: 0.36em;
|
|
}
|
|
.link-items.burger-time > a {
|
|
margin: 0;
|
|
padding: 0.4em 0.75em;
|
|
}
|
|
.link-items.burger-time > a:hover {
|
|
background-color: rgba(0,0,0,0.1);
|
|
}
|
|
.navlink {
|
|
font-size: 1.1em;
|
|
margin: 0.75em;
|
|
}
|
|
.splash {
|
|
background-color: var(--main);
|
|
background-blend-mode: overlay;
|
|
border-radius: 0 0 50% 50% / 4rem;
|
|
background-position: center;
|
|
height: 35em;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
.call-to-action {
|
|
font-size: 3.2em;
|
|
width: 11em;
|
|
color: var(--secondary);
|
|
text-align: center;
|
|
font-family: "Montserrat";
|
|
}
|
|
.splash-socials {
|
|
margin-top: 2em;
|
|
}
|
|
.splash-socials > a {
|
|
margin-left: 1.5em;
|
|
margin-right: 1.5em;
|
|
}
|
|
.splash-socials img {
|
|
width: 4.7em;
|
|
}
|
|
.default-section {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
color: var(--main);
|
|
background-color: var(--secondary);
|
|
padding-top: 2em;
|
|
padding-bottom: 2em;
|
|
}
|
|
.section-title {
|
|
font-size: 3em;
|
|
margin-top: 0.8em;
|
|
margin-bottom: 0.8em;
|
|
}
|
|
.default-section > p, .project-space > p {
|
|
font-size: 1.8em;
|
|
width: 22em;
|
|
color: var(--dark);
|
|
text-align: center;
|
|
}
|
|
.project-space > p {
|
|
color: var(--secondary);
|
|
}
|
|
.default-section > p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
.project-space {
|
|
border-radius: 50% 50% 0 0 / 4rem;
|
|
background-color: var(--main);
|
|
background-blend-mode: overlay;
|
|
background-image: url("../img/backgrounds/ps.png");
|
|
height: 40em;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
.project-space a {
|
|
color: var(--accent);
|
|
}
|
|
.ps-title {
|
|
font-size: 3em;
|
|
color: white;
|
|
margin-bottom: 1em;
|
|
}
|
|
.visit-us {
|
|
font-size: 2em;
|
|
margin-bottom: 2em;
|
|
}
|
|
.ex-link {
|
|
color: var(--accent);
|
|
font-size: 2em;
|
|
margin-bottom: 2em;
|
|
}
|
|
.involved {
|
|
border-radius: 50% 50% 0 0 / 4rem;
|
|
transform: translateY(-4rem);
|
|
}
|
|
.cards {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-wrap: wrap;
|
|
}
|
|
.involve-card {
|
|
padding: 1.75em 2.5em;
|
|
border: var(--main) solid 0.37em;
|
|
border-radius: 1.5em;
|
|
color: var(--main);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
margin: 1em;
|
|
}
|
|
.involve-title {
|
|
font-size: 3em;
|
|
color: var(--main);
|
|
margin-bottom: 0.5em;
|
|
}
|
|
.involve-card > img {
|
|
width: 20em;
|
|
margin-bottom: 1em;
|
|
}
|
|
.links {
|
|
font-size: 1.5em;
|
|
}
|
|
.social-card {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1em;
|
|
width: 25em;
|
|
}
|
|
.social-card > img {
|
|
width: 4.7em;
|
|
}
|
|
.social-message {
|
|
font-size: 2em;
|
|
padding: 0.5em;
|
|
}
|
|
.join-scls, .footer-scls {
|
|
display: flex;
|
|
flex-direction: row;
|
|
max-width: 55em;
|
|
justify-content: space-around;
|
|
flex-wrap: wrap;
|
|
margin-left: 5em;
|
|
}
|
|
.carousel-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 1.5em;
|
|
border: 0.35em solid var(--main);
|
|
border-radius: 1em;
|
|
margin: 1em;
|
|
}
|
|
.carousel-item > img {
|
|
width: 18.7em;
|
|
}
|
|
.carousel-name {
|
|
font-size: 2em;
|
|
}
|
|
.carousel-pos {
|
|
font-style: italic;
|
|
font-weight: normal;
|
|
font-size: 1.25em;
|
|
}
|
|
.carousel-email {
|
|
margin-top: 0.5em;
|
|
}
|
|
.carousel-page {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
.carousel {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.carousel-left {
|
|
margin-left: 2em;
|
|
transform: scaleX(-1);
|
|
}
|
|
.carousel-right, .carousel-left {
|
|
cursor: pointer;
|
|
width: 4em;
|
|
}
|
|
.carousel-right {
|
|
margin-right: 2em;
|
|
}
|
|
.contact {
|
|
border-radius: 0 0 50% 50% / 4rem;
|
|
transform: translateY(4rem);
|
|
}
|
|
.footer {
|
|
background-color: var(--main);
|
|
padding-top: 7em;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: start;
|
|
padding-left: 2em;
|
|
padding-right: 2em;
|
|
}
|
|
.footer a {
|
|
color: white;
|
|
}
|
|
.footer-scls {
|
|
max-width: 30em;
|
|
font-size: 0.6em;
|
|
margin-bottom: 2em;
|
|
}
|
|
.footer-scls img {
|
|
width: 4.7em;
|
|
}
|
|
.footer > img {
|
|
width: 30em;
|
|
}
|
|
|
|
/* Responsive queries go here */
|
|
@media screen and (max-width: 700px) {
|
|
html {
|
|
font-size: 0.85em;
|
|
}
|
|
}
|
|
@media screen and (max-width: 650px) {
|
|
html {
|
|
font-size: 0.8em;
|
|
}
|
|
.footer > img{
|
|
width: 15em;
|
|
}
|
|
}
|
|
@media screen and (max-width: 540px) {
|
|
html {
|
|
font-size: 0.6em;
|
|
}
|
|
.footer>img {
|
|
display: none;
|
|
}
|
|
}
|
|
@media screen and (max-width: 420px) {
|
|
html {
|
|
font-size: 0.5em;
|
|
}
|
|
}
|
|
@media screen and (max-width: 320px) {
|
|
html {
|
|
font-size: 0.45em;
|
|
}
|
|
} |