488 lines
8.1 KiB
CSS
Raw Permalink Normal View History

2021-04-26 22:31:09 -07:00
* {
--page-bg: rgb(22, 41, 216);
2021-04-28 22:33:38 -07:00
--panel-bg: rgb(32, 2, 145);
--banner-bg: #FFF;
2021-04-26 22:31:09 -07:00
--button-bg: rgb(234, 215, 73);
--button-hover: rgb(219, 200, 58);
2021-04-28 22:33:38 -07:00
--text: #FFF;
2021-04-26 22:31:09 -07:00
--button-text: #000;
--button-text-hover: #FFF;
--link-hover: gray;
2021-04-28 22:33:38 -07:00
--nav-height: 126px;
2022-02-23 17:58:47 -08:00
2021-04-28 22:33:38 -07:00
box-sizing: border-box;
2021-04-26 22:31:09 -07:00
}
@font-face {
font-family: Navigo Bold;
src: url(../assets/Navigo-Bold.ttf);
}
2021-04-28 21:10:28 -07:00
html {
scroll-behavior: smooth;
}
2021-04-26 22:31:09 -07:00
body {
2022-02-23 17:58:47 -08:00
font-family: Navigo Bold, sans-serif;
2021-04-26 22:31:09 -07:00
background-color: var(--page-bg);
2021-04-28 22:33:38 -07:00
color: var(--text);
2021-04-26 22:31:09 -07:00
}
a {
text-decoration: none;
}
2022-02-23 17:58:47 -08:00
@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);
}
2022-02-23 18:44:17 -08:00
.container {
padding: 4rem;
}
2022-02-23 17:58:47 -08:00
#landing {
display: block !important;
/*background-image: url(/assets/portrait.png);*/
background-repeat: no-repeat;
background-position-x: right;
background-size: contain;
2022-02-23 17:58:47 -08:00
}
#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 {
2022-02-23 18:44:17 -08:00
flex: 1 0 2rem;
margin: auto;
2022-02-23 17:58:47 -08:00
}
.hamburger {
2022-02-23 18:44:17 -08:00
float: right;
margin: auto;
2022-02-23 17:58:47 -08:00
display: flex;
flex-direction: column;
2022-02-23 18:44:17 -08:00
width: 40%;
height: 50%;
min-width: 2rem;
min-height: 2rem;
2022-02-23 17:58:47 -08:00
cursor: pointer;
justify-content: space-between;
}
2022-02-23 18:44:17 -08:00
.container {
padding: 4rem 0;
}
2022-02-23 17:58:47 -08:00
.hamburger-line {
height: 0;
width: 100%;
2022-02-23 18:44:17 -08:00
border: 0.2rem var(--button-text) solid;
2022-02-23 17:58:47 -08:00
}
.hamburger-open {
display: none;
line-height: 1;
color: var(--button-text);
text-align: center;
}
2022-02-23 18:44:17 -08:00
.hamburger.is-open p {
margin: 0;
height: 2rem;
}
2022-02-23 17:58:47 -08:00
.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;
2022-02-23 17:58:47 -08:00
padding: 1rem;
height: 100%;
2022-02-23 18:44:17 -08:00
display: flex;
flex-direction: column;
2022-02-23 17:58:47 -08:00
}
2022-02-23 18:44:17 -08:00
.main-banner-icon {
flex: 3 0 0;
2022-02-23 17:58:47 -08:00
display: block;
2022-02-23 18:44:17 -08:00
}
.main-banner-icon img {
max-width: 100%;
max-height: 100%;
2022-02-23 17:58:47 -08:00
}
.main-banner-header {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 1rem;
2022-02-23 18:44:17 -08:00
padding: 0 1rem;
gap: 1rem;
}
.main-banner-content {
flex: 1 1 0;
position: relative;
2022-02-23 17:58:47 -08:00
}
.main-banner-buttons {
2022-02-23 18:44:17 -08:00
position: relative;
2022-02-23 17:58:47 -08:00
flex-direction: column;
margin: 0 auto;
2022-02-23 18:44:17 -08:00
top: calc(100% - 200px - 1rem);
height: 200px;
justify-content: space-between;
2022-02-23 17:58:47 -08:00
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;
}
2022-02-23 18:44:17 -08:00
}
@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;
2022-02-23 17:58:47 -08:00
}
}
.main-banner-buttons {
display: flex;
2021-04-26 22:31:09 -07:00
}
nav a {
2021-04-28 22:33:38 -07:00
color: var(--text);
2021-04-26 22:31:09 -07:00
font-size: 40px;
flex: 1 0 0;
text-align: center;
margin: 2.5rem;
}
nav a:hover {
color: var(--link-hover);
}
2021-05-05 22:35:51 -07:00
.banner {
display: flex;
background-color: var(--banner-bg);
2021-05-11 20:47:12 -07:00
color: var(--button-text);
2021-05-05 22:35:51 -07:00
margin: 0 auto;
justify-content: center;
padding: 2rem 0;
width: 60%;
min-width: 400px;
2021-05-11 20:47:12 -07:00
flex-direction: column;
2021-05-05 22:35:51 -07:00
}
.banner form {
width: 100%;
}
.banner form > div {
padding: 1rem;
}
2022-01-09 09:30:44 +00:00
.banner form input, .banner form textarea {
2021-05-05 22:35:51 -07:00
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;
}
2022-01-09 09:30:44 +00:00
.banner form input.invalid, .banner form textarea.invalid {
2021-12-27 07:01:20 +00:00
border-bottom-color: red;
}
2021-05-05 22:35:51 -07:00
.banner input {
border: none;
font-size: 32px;
}
.banner button, a.button {
2021-05-05 22:35:51 -07:00
border: none;
background-color: var(--button-bg);
color: var(--button-text);
font-size: 36px;
cursor: pointer;
width: auto;
padding: 1rem 3rem;
}
2022-02-23 17:58:47 -08:00
.center {
text-align: center;
2021-04-26 22:31:09 -07:00
}
.main-banner-buttons a:hover, .banner button:hover, a.button:hover {
2021-04-26 22:31:09 -07:00
background-color: var(--button-hover);
color: var(--button-text-hover);
}
.fullpage {
2021-04-28 22:33:38 -07:00
display: flex;
2021-04-26 22:31:09 -07:00
height: 100vh;
}
2021-04-28 22:33:38 -07:00
.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%;
2021-04-28 22:33:38 -07:00
margin: 1rem auto;
display: block;
}
.container {
2021-05-11 20:47:12 -07:00
display: block;
2021-04-28 22:33:38 -07:00
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) ". ";
}
2021-04-26 22:31:09 -07:00
#about {
/*background-image: url(../assets/civic.jpg);*/
2021-04-26 22:31:09 -07:00
}
#contact {
/*background-image: url(../assets/myles.jpg);*/
2021-04-26 22:31:09 -07:00
}
#donate {
/*background-image: url(../assets/carwash.jpg);*/
2021-04-26 22:31:09 -07:00
}
2022-02-23 17:58:47 -08:00
#donate h2 {
margin: 0;
}
#joinus, #volunteer, #signs {
2021-05-05 22:35:51 -07:00
text-align: center;
}
2021-05-11 20:47:12 -07:00
#contact .banner {
text-align: center;
2021-05-05 22:35:51 -07:00
}
2022-01-09 09:30:44 +00:00
#contactForm div {
padding: 0.5rem;
}
#contactForm input {
2022-02-23 17:58:47 -08:00
font-size: 2rem;
2022-01-09 09:30:44 +00:00
}
.read-more {
margin-top: 4rem;
text-align: center;
}
2021-05-11 20:47:12 -07:00
.header h1 {
2021-05-05 22:35:51 -07:00
background-color: var(--button-bg);
color: var(--button-text);
font-size: 56px;
padding: 0 2rem;
margin: 0 auto 2rem auto;
2021-05-11 20:47:12 -07:00
text-align: center;
max-width: 500px;
2021-05-11 20:47:12 -07:00
}
#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;
2021-04-26 22:31:09 -07:00
}