Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Our Speakers Section #225

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
144 changes: 144 additions & 0 deletions age-as-a-lesn.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
/* Video section base styling */
.video-section {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background-color: black;
}

/* Video element styling - improved scaling */
#bg-video {
position: absolute;
width: 100%;
height: 100%;
object-fit: contain; /* Changed from cover to contain */
object-position: center;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
background: #000;
}

/* Overlay content styling */
.overlay-content {
position: relative;
color: white;
text-align: center;
z-index: 1;
padding: 20px;
width: 80%;
max-width: 800px;
}

/* Play Game Button styling */
.play-game-button {
margin-top: 20px;
padding: 12px 24px;
font-size: 18px;
background-color: #f44336;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease;
-webkit-tap-highlight-color: transparent;
}

.play-game-button:hover {
background-color: purple;
transform: scale(1.05);
}

/* Aspect ratio handling */
@media (orientation: landscape) {
#bg-video {
width: 100%;
height: auto;
max-height: 100%;
}
}

@media (orientation: portrait) {
#bg-video {
width: auto;
height: 100%;
max-width: 100%;
}
}

/* Large tablets and small laptops */
@media (max-width: 1024px) {
.video-section {
height: 90vh;
}

.overlay-content {
width: 85%;
}
}

/* Tablets */
@media (max-width: 768px) {
.video-section {
height: 80vh;
}

.overlay-content {
width: 90%;
padding: 15px;
}

.play-game-button {
font-size: 16px;
padding: 10px 20px;
}
}

/* Large phones */
@media (max-width: 576px) {
.video-section {
height: 70vh;
}

.overlay-content {
width: 95%;
padding: 10px;
}

.play-game-button {
font-size: 15px;
padding: 8px 18px;
margin-top: 15px;
}
}

/* Small phones */
@media (max-width: 375px) {
.video-section {
height: 60vh;
}

.overlay-content {
width: 100%;
padding: 8px;
}

.play-game-button {
font-size: 14px;
padding: 8px 16px;
margin-top: 12px;
}
}

/* Handle tall phones */
@media (max-height: 700px) and (orientation: portrait) {
.video-section {
height: 50vh;
}
}
23 changes: 23 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3354,5 +3354,28 @@ textarea.form-control {
background-color: #c0392b; /* Darker red on hover */
}

#current-speakers-box1:hover, #current-speakers-box2:hover, #current-speakers-box3:hover {
background-color: #343a40;
color: #ffffff !important;
}

@media only screen and (max-width: 768px) {
#current-speakers-container {
justify-content: center;
}
}

@media only screen and (max-width: 576px) {
#current-speakers-box1, #current-speakers-box2, #current-speakers-box3 {
width: 100%;

}

#current-speakers-img1, #current-speakers-img2, #current-speakers-img3 {
width: 100px;
height: 100px;
}
}



Binary file added assets/speakers/speaker1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/speakers/speaker2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/speakers/speaker3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading