Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/pride-hero/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/yew/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions src/css/pride/brand-logo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.calendar-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.calendar-button:focus {
transform: translateY(-1px);
}
.calendar-button.pressed {
transform: translateY(1px);
}
@media (max-width: 1600px) {
.calendar-button-container {
display: flex;
justify-content: center;
margin: 20px 0;
}
.calendar-button {
width: 280px !important;
height: 100px !important;
}
.button-text {
font-size: 16px !important;
width: 90px !important;
height: 40px !important;
top: 25px !important;
left: 30px !important;
}
.button-icon {
width: 140px !important;
height: 100px !important;
left: 137px !important;
}
.calendar-icon {
width: 50px !important;
height: 35px !important;
}
}
@media (max-width: 768px) {
.calendar-button {
width: 240px !important;
height: 80px !important;
border-radius: 40px !important;
}
.button-text {
font-size: 14px !important;
width: 80px !important;
height: 30px !important;
top: 20px !important;
left: 20px !important;
}
.button-icon {
width: 120px !important;
height: 80px !important;
border-radius: 40px !important;
left: 117px !important;
}
.calendar-icon {
width: 40px !important;
height: 28px !important;
}
}
56 changes: 56 additions & 0 deletions src/css/pride/calendar-button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
@keyframes float {
0%,
100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}

@media (max-width: 1200px) {
.brand-logo {
width: 300px;
left: 60%;
}
.brand-title {
font-size: 18px;
letter-spacing: 10px;
margin-left: 50px;
}
.logo-image {
width: 250px;
height: 230px;
margin-left: 25px;
}
.logo-graphic {
width: 240px;
height: 200px;
}
}

@media (max-width: 768px) {
.brand-logo {
width: 100%;
height: 200px;
position: relative;
left: 0;
backdrop-filter: none;
background-color: transparent;
}
.brand-title {
font-size: 16px;
letter-spacing: 5px;
text-align: center;
margin: 10px 0;
}
.logo-image {
width: 150px;
height: 120px;
margin: 0 auto;
}
.logo-graphic {
width: 140px;
height: 100px;
}
}
42 changes: 42 additions & 0 deletions src/css/pride/event-image.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
@media (max-width: 1600px) {
.main-event-image {
width: 80% !important;
height: 400px !important;
position: relative !important;
}
.secondary-event-image {
width: 70% !important;
height: 350px !important;
position: relative !important;
top: -50px !important;
left: 0 !important;
}
.circular-profile-image {
width: 120px !important;
height: 120px !important;
position: relative !important;
top: -100px !important;
left: -100px !important;
}
}

@media (max-width: 768px) {
.main-event-image {
width: 90% !important;
height: 300px !important;
}
.secondary-event-image {
width: 85% !important;
height: 250px !important;
}
.circular-profile-image {
width: 80px !important;
height: 80px !important;
top: -80px !important;
left: -50px !important;
}
.curved-letter,
.love-letter {
font-size: 16px !important;
}
}
19 changes: 19 additions & 0 deletions src/css/pride/header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@media (max-width: 1600px) {
.header-brand {
left: 10%;
}
.header-inner {
width: 90%;
left: 5%;
}
}

@media (max-width: 768px) {
.header-website {
font-size: 18px;
width: 200px;
}
.header-inner {
border-radius: 30px;
}
}
22 changes: 22 additions & 0 deletions src/css/pride/hero-section.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@keyframes float {
0%,
100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}

@media (max-width: 768px) {
.hero-section {
height: auto;
margin-top: 50px;
}
}

@media print {
.hero-decorations {
display: none;
}
}
23 changes: 23 additions & 0 deletions src/css/pride/login-button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.login-button:hover {
color: #7bcef2;
transform: translateY(-1px);
}
.login-button:focus {
color: #7bcef2;
}
.login-button.pressed {
transform: translateY(1px);
}

@media (max-width: 1400px) {
.login-button {
left: 85%;
}
}
@media (max-width: 768px) {
.login-button {
font-size: 18px;
top: 20px;
left: 80%;
}
}
33 changes: 33 additions & 0 deletions src/css/pride/navigation.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@media (max-width: 1200px) {
.navigation {
left: 40px;
}
.navigation-list {
width: 300px;
gap: 15px;
}
.navigation-link {
font-size: 16px;
}
}
@media (max-width: 768px) {
.navigation {
left: 20px;
top: 40px;
}
.navigation-list {
flex-direction: column;
width: auto;
height: auto;
gap: 10px;
}
.navigation-item {
flex-direction: column;
gap: 5px;
}
}
.navigation-link:hover,
.navigation-link:focus {
color: #7bcef2;
text-decoration: underline;
}
61 changes: 61 additions & 0 deletions src/css/pride/newsletter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}

@keyframes float {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}

@media (max-width: 1024px) {
.signup-container {
max-width: 600px;
margin: 2rem auto;
}
.event-info-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
}
@media (max-width: 768px) {
.signup-container {
max-width: 90%;
}
.signup-content {
width: 95%;
top: 30px;
}
.count-text {
font-size: 16px;
}
.event-info-grid {
gap: 0.75rem;
}
.info-card {
padding: 1rem;
}
.card-icon {
font-size: 1.5rem;
}
.add-calendar-btn {
padding: 0.75rem 1.5rem;
gap: 0.5rem;
}
}
@media (max-width: 480px) {
.add-calendar-btn {
padding: 0.6rem 1.2rem;
font-size: 0.9rem;
}
}
35 changes: 35 additions & 0 deletions src/css/pride/pride-page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@media (max-width: 1600px) {
.page-container {
width: 100vw;
height: auto;
min-height: 100vh;
}

.content-wrapper {
width: 96%;
height: auto;
min-height: 90vh;
border-radius: 40px;
left: 2%;
transform: none;
}

.main-content {
width: 95%;
height: auto;
min-height: 85vh;
border-radius: 30px;
left: 2.5%;
transform: none;
}
}

@media (max-width: 768px) {
.content-wrapper {
border-radius: 20px;
}

.main-content {
border-radius: 15px;
}
}
Loading