make mobile look a bit better
modified: static/theme/meta/css/meta.css
This commit is contained in:
parent
cc79e92ece
commit
51e261f8cd
3 changed files with 17 additions and 5 deletions
|
|
@ -162,7 +162,7 @@ div.container.main {
|
||||||
margin-top: 180px;
|
margin-top: 180px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-extra {
|
.call_to_action {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -150,6 +150,11 @@ select {
|
||||||
max-width: 860px;
|
max-width: 860px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
input, textarea, select, fieldset {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
/* I made a fiddle that could help with buttons and colors */
|
/* I made a fiddle that could help with buttons and colors */
|
||||||
/* https://jsfiddle.net/7nL0sfy0/ */
|
/* https://jsfiddle.net/7nL0sfy0/ */
|
||||||
|
|
||||||
|
|
@ -230,8 +235,15 @@ input.button-small {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width:568px) {
|
@media screen and (max-width:568px) {
|
||||||
.hidden-on-phone {display: none}
|
.hidden-on-phone {display: none;}
|
||||||
.shown-on-phone {display: block}
|
.shown-on-phone {display: block;}
|
||||||
|
button,
|
||||||
|
input[type="submit"],
|
||||||
|
input[type="button"],
|
||||||
|
.button,
|
||||||
|
.button-small {
|
||||||
|
font-size: .80rem; padding: .80rem; height: 10px; line-height: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width:750px) {
|
@media screen and (max-width:750px) {
|
||||||
|
|
|
||||||
|
|
@ -115,8 +115,8 @@
|
||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
|
|
||||||
<div class="nav-extra">
|
<div class="call_to_action">
|
||||||
{% block nav %}
|
{% block call_to_action %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue