Skip to content

Commit 3b4d70e

Browse files
committed
Moved confirmation text to the center (v, h)
1 parent 2a0e5fd commit 3b4d70e

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
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 !important;
422+
}

oshc/main/templates/contest_submission.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
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>
1010
<p class="lead">
1111
<a class="btn btn-primary btn-sm" href="{% url 'home' %}" role="button">Continue to homepage</a>

0 commit comments

Comments
 (0)