Skip to content

Commit c2bf4ee

Browse files
committed
add donate button
1 parent 3a3a788 commit c2bf4ee

File tree

2 files changed

+78
-70
lines changed

2 files changed

+78
-70
lines changed

css/index.css

Lines changed: 61 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,17 @@ opacity: 100%;
136136
color: var(--white);
137137
text-decoration: none;
138138
}
139+
.button {
140+
font-weight: 900;
141+
background-color: var(--gold);
142+
border: 5px solid var(--black3);
143+
border-radius: 15px;
144+
font-size: 20px;
145+
transition: background-color .5s;
146+
}
147+
.button:hover {
148+
background-color: #e4c060;
149+
}
139150
.t-card {
140151
height: 500px;
141152
background: var(--black2);
@@ -409,53 +420,6 @@ footer {
409420
#index-spot-more:hover {
410421
background-color: #e4d097;
411422
}
412-
#events-overlook {
413-
height: max-content;
414-
width: 100%;
415-
background: var(--striped-black-large);
416-
display: flex;
417-
margin-bottom: 100px;
418-
}
419-
#recent-event-top {
420-
width: 50%;
421-
background-color: var(--gold);
422-
}
423-
#re1 {
424-
width: 25%;
425-
background-color: #efb821a8;
426-
}
427-
#re2 {
428-
width: 15%;
429-
background-color: #efb82154;
430-
}
431-
.recent-event {
432-
color: var(--black2);
433-
text-align: center;
434-
padding: 10px;
435-
font-weight: 700;
436-
h1 {
437-
font-weight: 900;
438-
margin-top: 20px;
439-
font-size: 75px;
440-
}
441-
h3 {
442-
font-weight: 800;
443-
}
444-
h4 {
445-
margin-bottom: 20px;
446-
}
447-
}
448-
#recent-event-more {
449-
font-size: 75px;
450-
color: var(--white);
451-
margin: auto;
452-
transition: color .5s, rotate .5s;
453-
454-
}
455-
#recent-event-more:hover {
456-
color: var(--gold);
457-
rotate: 15deg;
458-
}
459423
#contact-plate {
460424
background: var(--striped-black-large);
461425
margin-bottom: 150px;
@@ -484,12 +448,41 @@ input {
484448
margin-top: 20px;
485449
display: block;
486450
}
487-
/* MOBILE VERSION CHANGES */
488-
@media screen and (max-width:1000px) {
489-
#re2 {
490-
display: none;
451+
#donate-plate {
452+
display: flex;
453+
width: 100%;
454+
background: var(--striped-darkblue);
455+
padding-top: 20px;
456+
padding-bottom: 20px;
457+
}
458+
#don-pte-left {
459+
width: 40%;
460+
margin-left: 22.5%;
461+
display: flex;
462+
align-items: center;
463+
div {
464+
display: block;
491465
}
466+
h1 {
467+
font-size: 60px;
468+
font-weight: 800;
469+
}
470+
p {
471+
font-size: 20px;
472+
font-weight: 600;
473+
}
474+
}
475+
#don-pte-right {
476+
width: 20%;
477+
margin-right: 22.5%;
478+
align-items: center;
479+
display: flex;
492480
}
481+
#donate-btn {
482+
height: 50px;
483+
width: 100%;
484+
}
485+
/* MOBILE VERSION CHANGES */
493486
@media screen and (max-width:770px) {
494487
#index-spot {
495488
width: 100%;
@@ -510,29 +503,28 @@ input {
510503
#index-spot-more {
511504
margin-bottom: 50px;
512505
}
513-
#recent-event-top {
514-
h1 {
515-
font-size: 40px;
516-
}
517-
}
518506
#watchbanner {
519507
padding-top: 20px; padding-bottom: 20px;
520508
font-size: 15px;
521509
padding-left: 7.5px;
522510
}
523511
}
524-
@media screen and (max-width:500px) {
525-
#re1 {
526-
display: none;
527-
}
528-
#recent-event-top {
529-
width: 70%;
512+
@media screen and (max-width:990px) {
513+
#donate-plate {
514+
display: block;
515+
text-align: center;
530516
}
531-
#recent-event-more {
532-
font-size: 75px;
517+
#don-pte-left {
518+
width: 100%;
519+
margin: 0px 0px 0px 0px;
533520
}
521+
#don-pte-right {
522+
width: 100%;
523+
}
524+
#donate-btn {
525+
width: auto;
526+
}
534527
}
535-
536528
/* Related to Index ^ */
537529

538530
/* Related to About Us v */
@@ -770,14 +762,14 @@ input {
770762
}
771763
}
772764
.red-all {
773-
background: repeating-linear-gradient(-45deg,#b26565,#b26565 5px,#a55d5d 5px,#a55d5d 10px);
765+
background: var(--striped-red);
774766
}
775767
.red-all-score {
776768
background: repeating-linear-gradient(-45deg,#573131,#573131 5px,#512d2d 5px,#512d2d 10px);
777769
}
778770
.middle-area {
779771
width: 20%;
780-
background: repeating-linear-gradient(-45deg,var(--white),var(--white) 5px,#eee 5px,#eee 10px);
772+
background: var(--striped-white);
781773
text-align: center;
782774
color: var(--black2);
783775
font-weight: 900;
@@ -805,7 +797,7 @@ input {
805797
#alliance-pk {
806798
width: 100%;
807799
text-align: center;
808-
background: repeating-linear-gradient(-45deg,var(--gold),var(--gold) 5px,#d8a822 5px,#d8a822 10px);
800+
background: var(--striped-gold)
809801
margin-bottom: 50px;
810802
h1 {
811803
color: var(--black2);
@@ -886,7 +878,7 @@ background-image: url("/assets/img/img/");
886878
}
887879
}
888880
.whole-team {
889-
background: repeating-linear-gradient(-45deg,var(--black2),var(--black2) 10px,#111 10px,#111 20px);
881+
background: var(--striped-black-large2);
890882
}
891883

892884
@media screen and (max-width: 770px) {

index.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h2 id="slogan">"a creative revolution"</h2>
8080
<div id="index-spot-center-mobile">
8181
<img id="scyllalogo" src="/assets/img/logos/age.svg">
8282
<h2 id="index-spot-text">2026 SEASON - REBUILT</h2>
83-
<p class="text-center">Kickoff 1/10/2026</p>
83+
<p class="text-center">Kickoff: 1/10/2026</p>
8484
<a href="https://www.firstinspires.org/programs/frc/game-and-season"><button id="index-spot-more">Learn More</button></a>
8585
</div>
8686
</div>
@@ -102,6 +102,22 @@ <h1 class="heading">CONTACT US</h1>
102102
</div>
103103
<button type="submit" id="form-submit">Submit</button>
104104
</form>
105+
</div>
106+
107+
<div id="donate-plate">
108+
<div id="don-pte-left">
109+
<div>
110+
<h1>Donations:</h1>
111+
<p>Help out <span class="crevo">CREVOLUTION</span> compete by donating here!</p>
112+
</div>
113+
</div>
114+
<div id="don-pte-right">
115+
<a style="width: 100%;" href="https://www.paypal.com/donate/?hosted_button_id=QLRY92W3PTHS2"><button class="button" id="donate-btn">Donate</button></a>
116+
<!--<a href="https://www.firstinspires.org/programs/frc/game-and-season"><button id="sponsorshelp-btn">Button Here</button></a>-->
117+
</div>
118+
119+
120+
105121
</div>
106122
<!-- Footer located in /assets/ftr.html -->
107123
<div id="ftr-placeholder">

0 commit comments

Comments
 (0)