Fixed Lato light font and navbar alignment

This commit is contained in:
Mondi Geetha 2017-06-30 21:18:45 +05:30
parent 646f1b0760
commit 3a26b93082
2 changed files with 32 additions and 9 deletions

View file

@ -7,6 +7,7 @@
font-family: 'Lato-Regular';
src: url('../fonts/Lato/Lato-Regular.ttf');
}
body,
html {
width: 100%;
@ -20,7 +21,7 @@ h3,
h4,
h5,
h6 {
font-family: 'Lato-light', sans-serif;
font-family: 'Lato', sans-serif;
font-weight: 300;
}
/*blue light #5A74AF*/
@ -453,7 +454,7 @@ h6 {
}
.pricing-section .text .section-heading{
/*font-size: 50px;*/
font-size: 40px;
font-size: 48px;
line-height: 50px;
padding-bottom: 25px;
color: #3a3a3a;
@ -693,6 +694,9 @@ tech-sub-sec h2 {
}
.dropdown-menu{
left: 0 !important;
min-width: 130px;
text-align: left;
margin-left: 15px;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
background: transparent;
@ -703,6 +707,11 @@ tech-sub-sec h2 {
font-weight: 300;
font-family: 'Lato-Regular', sans-serif;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
background: #2D457A;
color: #fff;
border-radius: 6px;
}
/*Pricing page*/
@ -873,6 +882,20 @@ tech-sub-sec h2 {
text-align: left;
font-size: 12px;
}
.visible-mobile {
display:block;
}
.visible-desktop {
display:none !important;
}
}
@media(min-width:768px) {
.visible-mobile {
display:none !important;
}
.visible-desktop {
display:block;
}
}
@media(max-width:990px) {
.pricing-section .text {

View file

@ -23,9 +23,9 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"><!-- Start Navbar collapse-->
<ul class="nav navbar-nav navbar-right">
{% if request.resolver_match.url_name == "index" or request.resolver_match.url_name == "whydatacenterlight" %}
<li class="dropdown">
<a class="dropdown-toggle move multiselect" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{% trans "Highlights" %}<span class="caret"></span></a>
<a class="dropdown-toggle visible-mobile" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{% trans "Highlights" %}<span class="caret"></span></a>
<a class="dropdown-toggle url disabled visible-desktop" href="{% url 'datacenterlight:index' %}#how" data-url="#how" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{% trans "Highlights" %}<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a class="url" href="{% url 'datacenterlight:index' %}#your" data-url="#your" >{% trans "Scale out" %}</a></li>
<li><a class="url" href="{% url 'datacenterlight:index' %}#our" data-url="#our">{% trans "Reliable and light" %}</a></li>