Skip to content

Commit 48187ca

Browse files
committed
# This is a combination of 3 commits.
# This is the 1st commit message: This fixes OpenSourceHelpCommunity#150 # This is the commit message OpenSourceHelpCommunity#2: added new css defs to center block # This is the commit message OpenSourceHelpCommunity#3: minor css fix
1 parent 2a0e5fd commit 48187ca

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

oshc/main/static/main/css/app.css

+18
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,21 @@ footer .container {
402402
.zone {
403403
display:none;
404404
}
405+
406+
/* CONTEST SUBMISSION PAGE CSS STARTS */
407+
.vcenter {
408+
display: flex;
409+
flex-direction: column;
410+
align-content: center;
411+
justify-content: center;
412+
height: 90vh;
413+
z-index: -100;
414+
position: absolute;
415+
top: 0;
416+
left: 0;
417+
right: 0;
418+
}
419+
420+
.subtitle {
421+
margin: 0;
422+
}

oshc/main/templates/contest_submission.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
{% block content %}
44

55
<div class="jumbotron text-xs-center">
6-
<div class="container text-center">
7-
<h1 class="display-3">Thank You!</h1>
8-
<p class="lead"><strong>Your contest has been submitted for review.</strong></p>
6+
<div class="container text-center vcenter">
7+
<h1 class="display-3 text-center">Thank you!</h1>
8+
<p class="lead text-center subtitle"><strong>Your contest has been submitted for review.</strong></p>
99
<hr>
10-
<p class="lead">
10+
<p class="lead text-center">
1111
<a class="btn btn-primary btn-sm" href="{% url 'home' %}" role="button">Continue to homepage</a>
1212
</p>
1313
</div>

0 commit comments

Comments
 (0)