488 lines
8.1 KiB
CSS
Executable File
488 lines
8.1 KiB
CSS
Executable File
* {
|
|
--page-bg: rgb(22, 41, 216);
|
|
--panel-bg: rgb(32, 2, 145);
|
|
--banner-bg: #FFF;
|
|
--button-bg: rgb(234, 215, 73);
|
|
--button-hover: rgb(219, 200, 58);
|
|
--text: #FFF;
|
|
--button-text: #000;
|
|
--button-text-hover: #FFF;
|
|
--link-hover: gray;
|
|
--nav-height: 126px;
|
|
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Navigo Bold;
|
|
src: url(../assets/Navigo-Bold.ttf);
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
font-family: Navigo Bold, sans-serif;
|
|
background-color: var(--page-bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media only screen and (min-width: 1024px) {
|
|
|
|
.mobile-only {
|
|
display: none !important;
|
|
}
|
|
|
|
nav {
|
|
height: var(--nav-height);
|
|
position: fixed;
|
|
width: 100%;
|
|
top: 0;
|
|
z-index: 9;
|
|
display: flex;
|
|
background-color: var(--page-bg);
|
|
}
|
|
|
|
.container {
|
|
padding: 4rem;
|
|
}
|
|
|
|
#landing {
|
|
display: block !important;
|
|
/*background-image: url(/assets/portrait.png);*/
|
|
background-repeat: no-repeat;
|
|
background-position-x: right;
|
|
background-size: contain;
|
|
}
|
|
|
|
#landing-mobile {
|
|
display: none !important;
|
|
}
|
|
|
|
#about > .panel {
|
|
display: block !important;
|
|
}
|
|
|
|
#donate .banner {
|
|
flex-direction: row !important;
|
|
}
|
|
|
|
.main-banner {
|
|
position: relative !important;
|
|
background-color: var(--banner-bg);
|
|
top: 50vh;
|
|
transform: translateY(-50%);
|
|
left: 4.5rem;
|
|
padding: 1rem;
|
|
width: 550px;
|
|
}
|
|
|
|
.main-banner img {
|
|
display: block;
|
|
margin: 1.5rem auto;
|
|
width: 70%;
|
|
}
|
|
|
|
.fullpage > .container, .fullpage > .panel {
|
|
padding-top: var(--nav-height) !important;
|
|
}
|
|
|
|
.main-banner-buttons a {
|
|
display: inline-block;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
width: 10rem;
|
|
background-color: var(--button-bg);
|
|
padding: 1rem 0;
|
|
color: var(--button-text);
|
|
font-size: 30px;
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 1024px) {
|
|
|
|
.hamburger-container {
|
|
flex: 1 0 2rem;
|
|
margin: auto;
|
|
}
|
|
|
|
.hamburger {
|
|
float: right;
|
|
margin: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 40%;
|
|
height: 50%;
|
|
min-width: 2rem;
|
|
min-height: 2rem;
|
|
cursor: pointer;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.container {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.hamburger-line {
|
|
height: 0;
|
|
width: 100%;
|
|
border: 0.2rem var(--button-text) solid;
|
|
}
|
|
|
|
.hamburger-open {
|
|
display: none;
|
|
line-height: 1;
|
|
color: var(--button-text);
|
|
text-align: center;
|
|
}
|
|
|
|
.hamburger.is-open p {
|
|
margin: 0;
|
|
height: 2rem;
|
|
}
|
|
|
|
.hamburger.is-open .hamburger-line {
|
|
display: none;
|
|
}
|
|
|
|
.hamburger.is-open .hamburger-open {
|
|
display: block;
|
|
}
|
|
|
|
#mobile-nav-menu {
|
|
display: none;
|
|
}
|
|
|
|
#mobile-nav-menu.is-open {
|
|
display: flex;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--banner-bg);
|
|
z-index: 9;
|
|
flex-direction: column;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
#mobile-nav-menu a {
|
|
color: var(--button-text);
|
|
font-size: 40px;
|
|
text-align: center;
|
|
margin: 0.5rem;
|
|
}
|
|
|
|
nav {
|
|
display: none;
|
|
}
|
|
|
|
.main-banner {
|
|
background-color: var(--banner-bg);
|
|
/*background-image: url(/assets/portrait.png);*/
|
|
background-repeat: no-repeat;
|
|
background-position-x: right;
|
|
background-size: contain;
|
|
background-position-y: bottom;
|
|
padding: 1rem;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.main-banner-icon {
|
|
flex: 3 0 0;
|
|
display: block;
|
|
}
|
|
|
|
.main-banner-icon img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.main-banner-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
margin-bottom: 1rem;
|
|
padding: 0 1rem;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.main-banner-content {
|
|
flex: 1 1 0;
|
|
position: relative;
|
|
}
|
|
|
|
.main-banner-buttons {
|
|
position: relative;
|
|
flex-direction: column;
|
|
margin: 0 auto;
|
|
top: calc(100% - 200px - 1rem);
|
|
height: 200px;
|
|
justify-content: space-between;
|
|
width: 70%;
|
|
}
|
|
|
|
.main-banner-buttons a {
|
|
display: block;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
width: 100%;
|
|
background-color: var(--button-bg);
|
|
padding: 1rem 0;
|
|
color: var(--button-text);
|
|
}
|
|
|
|
#landing {
|
|
display: none;
|
|
}
|
|
|
|
#landing-mobile {
|
|
display: block;
|
|
padding: 2rem;
|
|
}
|
|
|
|
#about > .panel {
|
|
display: none;
|
|
}
|
|
|
|
#donate .banner {
|
|
flex-direction: column;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
@media only screen and (max-width: 1024px) and (min-width: 360px) {
|
|
|
|
.main-banner-buttons a {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.hamburger-open {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 360px) {
|
|
|
|
.main-banner-buttons a {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hamburger-open {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
}
|
|
|
|
.main-banner-buttons {
|
|
display: flex;
|
|
}
|
|
|
|
nav a {
|
|
color: var(--text);
|
|
font-size: 40px;
|
|
flex: 1 0 0;
|
|
text-align: center;
|
|
margin: 2.5rem;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: var(--link-hover);
|
|
}
|
|
|
|
.banner {
|
|
display: flex;
|
|
background-color: var(--banner-bg);
|
|
color: var(--button-text);
|
|
margin: 0 auto;
|
|
justify-content: center;
|
|
padding: 2rem 0;
|
|
width: 60%;
|
|
min-width: 400px;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.banner form {
|
|
width: 100%;
|
|
}
|
|
|
|
.banner form > div {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.banner form input, .banner form textarea {
|
|
border-bottom: 0.25rem solid black;
|
|
width: 60%;
|
|
min-width: 250px;
|
|
}
|
|
|
|
.banner form input[type="number"] {
|
|
min-width: unset;
|
|
max-width: 100px;
|
|
text-align: center;
|
|
}
|
|
|
|
.banner form input[type="checkbox"] {
|
|
display: inline;
|
|
min-width: unset;
|
|
width: 50px;
|
|
}
|
|
|
|
.banner form input.invalid, .banner form textarea.invalid {
|
|
border-bottom-color: red;
|
|
}
|
|
|
|
.banner input {
|
|
border: none;
|
|
font-size: 32px;
|
|
}
|
|
|
|
.banner button, a.button {
|
|
border: none;
|
|
background-color: var(--button-bg);
|
|
color: var(--button-text);
|
|
font-size: 36px;
|
|
cursor: pointer;
|
|
width: auto;
|
|
padding: 1rem 3rem;
|
|
}
|
|
|
|
.center {
|
|
text-align: center;
|
|
}
|
|
|
|
.main-banner-buttons a:hover, .banner button:hover, a.button:hover {
|
|
background-color: var(--button-hover);
|
|
color: var(--button-text-hover);
|
|
}
|
|
|
|
.fullpage {
|
|
display: flex;
|
|
height: 100vh;
|
|
}
|
|
|
|
.panel {
|
|
flex: 0 0 30%;
|
|
min-width: 400px;
|
|
height: 100%;
|
|
background-color: var(--panel-bg);
|
|
padding: 1.5rem;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.panel h1 {
|
|
text-align: center;
|
|
font-size: 48px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.panel img {
|
|
max-height: 60%;
|
|
margin: 1rem auto;
|
|
display: block;
|
|
}
|
|
|
|
.container {
|
|
display: block;
|
|
flex: 1 0 0;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.container ol {
|
|
list-style: none;
|
|
counter-reset: policy-counter;
|
|
}
|
|
|
|
.container ol li, .container ol li::before {
|
|
background-color: var(--button-bg);
|
|
color: var(--button-text);
|
|
margin-bottom: 0;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.container ol li {
|
|
display: inline;
|
|
padding: 0.25rem;
|
|
counter-increment: policy-counter;
|
|
}
|
|
|
|
.container ol li::before {
|
|
content: counter(policy-counter) ". ";
|
|
}
|
|
|
|
#about {
|
|
/*background-image: url(../assets/civic.jpg);*/
|
|
}
|
|
|
|
#contact {
|
|
/*background-image: url(../assets/myles.jpg);*/
|
|
}
|
|
|
|
#donate {
|
|
/*background-image: url(../assets/carwash.jpg);*/
|
|
}
|
|
|
|
#donate h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
#joinus, #volunteer, #signs {
|
|
text-align: center;
|
|
}
|
|
|
|
#contact .banner {
|
|
text-align: center;
|
|
}
|
|
|
|
#contactForm div {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
#contactForm input {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.read-more {
|
|
margin-top: 4rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.header h1 {
|
|
background-color: var(--button-bg);
|
|
color: var(--button-text);
|
|
font-size: 56px;
|
|
padding: 0 2rem;
|
|
margin: 0 auto 2rem auto;
|
|
text-align: center;
|
|
max-width: 500px;
|
|
}
|
|
|
|
#donate .banner {
|
|
align-items: center;
|
|
}
|
|
|
|
#donate .banner > div {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.donate-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.donate-buttons button {
|
|
margin: 0.5rem;
|
|
width: 10rem;
|
|
text-align: center;
|
|
padding: 1rem 0;
|
|
}
|