diff --git a/cara/apps/calculator/static/css/report.css b/cara/apps/calculator/static/css/report.css index 463a60ed..9d16e414 100644 --- a/cara/apps/calculator/static/css/report.css +++ b/cara/apps/calculator/static/css/report.css @@ -218,4 +218,33 @@ p.notes { .intro-banner-vdo-play-btn .ripple:nth-child(3) { animation-delay: .6s; -webkit-animation-delay: .6s +} + +.split { + /* flex: 1; */ + clear: both; + display: inline-flex; + flex-direction: column; + width: 100%; +} + +@media screen and (min-width: 40em) { + .split { + flex-direction: row; + } + .split>* { + flex-basis: 100%; + } + .header-text { + text-align: left; + } + .split>*+* { + margin-left: 2em; + } + .bigButton { + width: 25%; + } + .logo { + float: left; + } } \ No newline at end of file diff --git a/cara/apps/calculator/templates/base/calculator.report.html.j2 b/cara/apps/calculator/templates/base/calculator.report.html.j2 index 84578d5d..81ca8ae0 100644 --- a/cara/apps/calculator/templates/base/calculator.report.html.j2 +++ b/cara/apps/calculator/templates/base/calculator.report.html.j2 @@ -60,39 +60,44 @@

-
-
Probability of infection (%)
-
- {% block warning_animation %} -
- {{prob_inf | non_zero_percentage}} - - - - +
+
+
+
Probability of infection (%)
+
+ {% block warning_animation %} +
+ {{prob_inf | non_zero_percentage}} + + + + +
+ {% endblock warning_animation %}
- {% endblock warning_animation %} +
+
+
+ {% block report_summary %} + + {% endblock report_summary %}
- - {% block report_summary %} - - {% endblock report_summary %}
{% block report_summary_footnote %} {% endblock report_summary_footnote %}

[*] The results are based on the parameters and assumptions published in the CERN Open Report CERN-OPEN-2021-004

- - -

+ + +