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

reduced img dimensions #20

Merged
merged 2 commits into from
Nov 8, 2023
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
34 changes: 24 additions & 10 deletions public/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,47 @@
}

div.video{
height: 100dvh;
background-color: #000;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
justify-content: space-evenly;
align-items: center;


margin-top: 40px;
@media (max-width: 500px) {
margin-top: 70px;

}
}

div.video img{
margin-top: 50px;
height: 30em;
width: 100%;

max-width: 800px;
max-height: 500px;
border: #fff solid 2px;
@media (max-width: 500px) {
margin-top: 80px;

height: auto;
max-height: 500px;
max-width: 250px;
}

}
div.video a {
text-decoration: none;
color: #fff;
background-color: #000;
color: #000;
background-color: #fff;
padding: 10px 20px;
border-radius: 5px;
font-size: 1.2rem;
cursor: pointer;
text-align: center;
margin: 10px auto;
font-weight: bold;
@media (max-width: 500px) {
margin: 10px auto;
width: 50%;
font-size: 1rem;

}
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<source src="./img/Cadism teaser.mp4" style="width: 500px;" type="video/mp4" />
</video> -->
<img id="banner" class="bannerImg" src="./img/pyweek-banner.jpg" alt="">
<a href="https://forms.gle/4rBVfsabBsvB6zWu7" target="_blank">Register Here for PyWeek</a>
<a href="https://forms.gle/4rBVfsabBsvB6zWu7" target="_blank">Register Here</a>
</div>

<script>
Expand Down