Fixing layout
This commit is contained in:
parent
ef24a303e3
commit
c5ee3d8ec9
|
@ -7,19 +7,31 @@
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
overflow-y: hidden; }
|
overflow-y: hidden; }
|
||||||
|
|
||||||
.fullcontainer {
|
.box .fullcontainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: -webkit-calc(100vh - 50px);
|
height: -webkit-calc(100vh - 50px);
|
||||||
height: -moz-calc(100vh - 50px);
|
height: -moz-calc(100vh - 50px);
|
||||||
height: calc(100vh - 50px); }
|
height: calc(100vh - 50px); }
|
||||||
|
|
||||||
|
.box3 .fullcontainer {
|
||||||
|
display: flex;
|
||||||
|
height: -webkit-calc(100vh - 50px);
|
||||||
|
height: -moz-calc(100vh - 50px);
|
||||||
|
height: calc(100vh - 50px); }
|
||||||
|
|
||||||
.fullcontainer h1 {
|
.fullcontainer h1 {
|
||||||
font-size: 60px; }
|
font-size: 60px; }
|
||||||
|
|
||||||
.fullcontainer h3 {
|
.fullcontainer h3 {
|
||||||
margin-bottom: 30px; }
|
margin-bottom: 30px; }
|
||||||
|
|
||||||
|
.whitebox {
|
||||||
|
background: white;
|
||||||
|
border-radius: 15px;
|
||||||
|
padding: 30px;
|
||||||
|
margin-top: 25px; }
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
cursor: pointer; }
|
cursor: pointer; }
|
||||||
|
|
||||||
|
@ -106,4 +118,7 @@ h2 {
|
||||||
.big-font {
|
.big-font {
|
||||||
font-size: 25px; }
|
font-size: 25px; }
|
||||||
|
|
||||||
|
.box3 {
|
||||||
|
background: #5850c7 url(https://d20ohkaloyme4g.cloudfront.net/img/hero-illustration-module.png) repeat; }
|
||||||
|
|
||||||
/*# sourceMappingURL=style.css.map */
|
/*# sourceMappingURL=style.css.map */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
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,OAAQ;EACN,UAAU,EAAE,KAAK;;AAGnB,YAAY;EACV,SAAS,EAAC,IAAI;;AAGhB,SAAS;EACP,SAAS,EAAC,IAAI;;AAGhB,KAAK;EACH,UAAU,EAAE,0FAA0F",
|
||||||
"sources": ["style.scss"],
|
"sources": ["style.scss"],
|
||||||
"names": [],
|
"names": [],
|
||||||
"file": "style.css"
|
"file": "style.css"
|
||||||
|
|
|
@ -8,13 +8,19 @@
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
overflow-y:hidden;
|
overflow-y:hidden;
|
||||||
}
|
}
|
||||||
.fullcontainer {
|
.box .fullcontainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: -webkit-calc(100vh - 50px);
|
height: -webkit-calc(100vh - 50px);
|
||||||
height: -moz-calc(100vh - 50px);
|
height: -moz-calc(100vh - 50px);
|
||||||
height: calc(100vh - 50px);
|
height: calc(100vh - 50px);
|
||||||
}
|
}
|
||||||
|
.box3 .fullcontainer {
|
||||||
|
display: flex;
|
||||||
|
height: -webkit-calc(100vh - 50px);
|
||||||
|
height: -moz-calc(100vh - 50px);
|
||||||
|
height: calc(100vh - 50px);
|
||||||
|
}
|
||||||
.fullcontainer h1{
|
.fullcontainer h1{
|
||||||
font-size: 60px;
|
font-size: 60px;
|
||||||
}
|
}
|
||||||
|
@ -22,6 +28,13 @@
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.whitebox{
|
||||||
|
background: white;
|
||||||
|
border-radius: 15px;
|
||||||
|
padding: 30px;
|
||||||
|
margin-top:25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.navbar-brand{
|
.navbar-brand{
|
||||||
cursor:pointer
|
cursor:pointer
|
||||||
|
@ -124,4 +137,8 @@ h2 {
|
||||||
|
|
||||||
.big-font{
|
.big-font{
|
||||||
font-size:25px;
|
font-size:25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.box3{
|
||||||
|
background: #5850c7 url(https://d20ohkaloyme4g.cloudfront.net/img/hero-illustration-module.png) repeat;
|
||||||
}
|
}
|
|
@ -8,6 +8,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="container entity">
|
<div class="container entity">
|
||||||
{% block entity_info %}
|
{% block entity_info %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -114,6 +115,7 @@
|
||||||
<div class="row" id="post-review-box" style="display:none;">
|
<div class="row" id="post-review-box" style="display:none;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<form method="post" action="/reviews">
|
<form method="post" action="/reviews">
|
||||||
|
<div id="csrf-token">{% csrf_token %}</div>
|
||||||
<p class="text-right date"></p>
|
<p class="text-right date"></p>
|
||||||
|
|
||||||
{# Username input #}
|
{# Username input #}
|
||||||
|
@ -146,7 +148,6 @@
|
||||||
|
|
||||||
{# Hidden values that need to be posted with user content. #}
|
{# Hidden values that need to be posted with user content. #}
|
||||||
<input type="hidden" id="rating_input" name="rating" value="1">
|
<input type="hidden" id="rating_input" name="rating" value="1">
|
||||||
<div id="csrf-token">{% csrf_token %}</div>
|
|
||||||
<input type="hidden" name="entity_id" value="{{ entity.pk }}">
|
<input type="hidden" name="entity_id" value="{{ entity.pk }}">
|
||||||
|
|
||||||
{# Submit the form #}
|
{# Submit the form #}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="fullcontainer container bootstrap snippet results">
|
<div class="fullcontainer container bootstrap snippet results">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12 whitebox">
|
||||||
<div class="ibox float-e-margins ">
|
<div class="ibox float-e-margins ">
|
||||||
<div class="ibox-content">
|
<div class="ibox-content">
|
||||||
<h2>
|
<h2>
|
||||||
|
|
Loading…
Reference in New Issue