Skip to content

add dj section #245

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

Closed
wants to merge 1 commit into from
Closed
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
Binary file added assets/images/ball-22-dj.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions ball/2022/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ <h2 class="subtitle hashtag flex-l">#CSSBall22</h2>
</div>
</div>

<div class="text-center-div margin-top section-dj" id="dj">
<h2 class="subtitle mobile-only">Live Music</h2>
<div class="description text-center-div">
<h2 class="subtitle">Live Music</h2>
<p class="text-block">For the first time at a CSS Ball, we have our very own DJ! <br><br>
<a href="https://www.mixcloud.com/thomas-pritchard">Pritchy</a> (Mama Rouxs, Tekno, etc.) will be running the dancefloor through the night, bringing good vibes only!</p>

</div>
<img class="image" src="/assets/images/ball-22-dj.jpg" alt="Photo of Pritchy, the DJ at the CSS Ball 2022">
</div>

<div class="margin-top margin-bottom section-map">
<iframe width="100%" height="400"
src="//umap.openstreetmap.fr/en/map/untitled-map_736360?scaleControl=false&miniMap=false&scrollWheelZoom=false&zoomControl=true&allowEdit=false&moreControl=false&searchControl=null&tilelayersControl=null&embedControl=null&datalayersControl=null&onLoadPanel=undefined&captionBar=false&datalayers=2168470#13/52.4652/-1.9053">
Expand Down
49 changes: 48 additions & 1 deletion css/ball/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,17 @@ body {
background: linear-gradient(to left, #0000 0%, #0c0515d0 5%);
padding: 0 50px 0 20px;
margin: 10px 0;
max-height: 400px;
max-height: 500px;
.subtitle {
margin: 10px 0;
}
}
.image {
object-fit: cover;
object-position: 50% 25%;
max-width: None;
height: 60vh;
max-height: 500px;
}
@media screen and (max-width: 800px){
.mobile-only {
Expand Down Expand Up @@ -224,6 +226,51 @@ body {
}
}

.section-dj {
margin-bottom: inherit;
position: relative;

.mobile-only {
display: none;
}
.description {
position: absolute;
top: 0;
right: 0;
width: 400px;
height: 60vh;
background: linear-gradient(to right, #0000 0%, #0c0515d0 5%);
padding: 0 20px 0 50px;
margin: 10px 0;
max-height: 500px;
.subtitle {
margin: 10px 0;
}
}
.image {
object-fit: cover;
object-position: 50% 30%;
max-width: None;
height: 60vh;
max-height: 500px;
}
@media screen and (max-width: 800px){
.mobile-only {
display: revert;
}
.description {
position: static;
width: revert;
height: revert;
background: revert;
padding: revert;
.subtitle {
display: none;
}
}
}
}

.section-faq {
.faq {
border-top: 2px solid rgba(255, 255, 255, 0.3);
Expand Down