FIX #2228: change font from Lato to Open Sans

This commit is contained in:
Michal Kváček
2017-02-03 01:32:57 +01:00
parent 7584491ff5
commit 2b98c60d2a
2 changed files with 151 additions and 65 deletions
+119 -33
View File
@@ -1,34 +1,117 @@
body * { font-family: 'Lato', Helvetica, Arial, sans-serif; font-weight: 300;}
body * {
font-family: 'Open Sans', Helvetica, sans-serif;
font-weight: 300;
}
nav { position: absolute; z-index: 1000; box-shadow: none; padding-top: 15px;}
nav ul:not(.nav-mobile) a { color: #ffffff; font-weight: 700; text-shadow: 1px 1px 1px #000000; font-size: 1.5rem; margin-left: 3px;}
nav ul a:hover, .slider .indicators .indicator-item.active { background-color: #fe9205;}
nav {
position: absolute;
z-index: 1000;
box-shadow: none;
padding-top: 15px;
}
nav ul:not(.nav-mobile) a {
color: #FFF;
font-weight: 700;
text-shadow: 1px 1px 1px #000;
font-size: 1.5rem;
margin-left: 3px;
}
nav ul a:hover, .slider .indicators .indicator-item.active {
background-color: #FE9205;
}
#slider-overlay-header {
text-align: center; position: relative; top: 20%; z-index: 500; display: block; font-size: 8rem;
font-weight: 700; letter-spacing: -0.5rem;
text-align: center;
position: relative;
top: 20%;
z-index: 500;
display: block;
font-size: 8rem;
font-weight: 700;
letter-spacing: -0.5rem;
}
#slider-overlay-header span {
text-transform: uppercase;
display: block;
clear: both;
color: #FE9205;
margin-top: -1.5rem;
font-weight: 300;
}
#slider-overlay-header span { text-transform: uppercase; display: block; clear: both; color: #fe9205; margin-top: -1.5rem; font-weight: 300; }
img {
max-width:100%;
max-width: 100%;
}
p {line-height: 2rem; font-size: 1.1rem; color: rgb(19, 15, 14);}
h2 {font-size: 4rem; color: rgb(19, 15, 14);}
h3 {font-size: 2.7rem; color: rgb(19, 15, 14);}
.bold {font-weight: 700;}
.italic {font-style: italic;}
.m-b-3rem {margin-bottom: 3rem;}
.m-b-5rem {margin-bottom: 5rem;}
.m-t-3rem {margin-top: 3rem;}
.m-tb-3rem {margin-top: 3rem; margin-bottom: 3rem;}
.p-1-5rem {padding: 1.5rem !important;}
.m-0 { margin: 0;}
.button-collapse { color: #fe9205;}
.parallax-container {min-height: 380px; line-height: 0; color: rgba(255, 255, 255, .9);}
#index-banner { height: 100vh;}
.parallax-container .section { width: 100%;}
p {
line-height: 2rem;
font-size: 1.1rem;
color: rgb(19, 15, 14);
}
h2 {
font-size: 4rem;
color: rgb(19, 15, 14);
}
h3 {
font-size: 2.7rem;
color: rgb(19, 15, 14);
}
.bold {
font-weight: 700;
}
.italic {
font-style: italic;
}
.m-b-3rem {
margin-bottom: 3rem;
}
.m-b-5rem {
margin-bottom: 5rem;
}
.m-t-3rem {
margin-top: 3rem;
}
.m-tb-3rem {
margin-top: 3rem;
margin-bottom: 3rem;
}
.p-1-5rem {
padding: 1.5rem !important;
}
.m-0 {
margin: 0;
}
.button-collapse {
color: #FE9205;
}
.parallax-container {
min-height: 380px;
line-height: 0;
color: rgba(255, 255, 255, .9);
}
#index-banner {
height: 100vh;
}
.parallax-container .section {
width: 100%;
}
/* label color */
.input-field label {
@@ -39,32 +122,31 @@ h3 {font-size: 2.7rem; color: rgb(19, 15, 14);}
.input-field input[type=text]:focus + label,
.input-field input[type=email]:focus + label,
textarea.materialize-textarea:focus:not([readonly]) + label {
color: #fe9205;
color: #FE9205;
}
/* label underline focus color */
.input-field input[type=text]:focus,
.input-field input[type=email]:focus,
textarea.materialize-textarea:focus:not([readonly]) {
border-bottom: 1px solid #fe9205;
box-shadow: 0 1px 0 0 #fe9205;
border-bottom: 1px solid #FE9205;
box-shadow: 0 1px 0 0 #FE9205;
}
/* valid color */
.input-field input[type=text].valid,
.input-field input[type=email].valid,
textarea.materialize-textarea.valid:not([readonly]){
border-bottom: 1px solid #fe9205;
box-shadow: 0 1px 0 0 #fe9205;
textarea.materialize-textarea.valid:not([readonly]) {
border-bottom: 1px solid #FE9205;
box-shadow: 0 1px 0 0 #FE9205;
}
/* invalid color */
.input-field input[type=text].invalid {
border-bottom: 1px solid #ff0000;
box-shadow: 0 1px 0 0 #ff0000;
border-bottom: 1px solid #F00;
box-shadow: 0 1px 0 0 #F00;
}
@media only screen and (max-width: 992px) {
.parallax-container .section {
position: absolute;
@@ -93,6 +175,7 @@ textarea.materialize-textarea.valid:not([readonly]){
.company-data {
text-align: center;
}
.company-data span {
display: block;
}
@@ -103,7 +186,10 @@ textarea.materialize-textarea.valid:not([readonly]){
}
}
.section .row>div {font-size: 1.4em; margin-bottom: 20px;}
.section .row > div {
font-size: 1.4em;
margin-bottom: 20px;
}
.icon-block {
padding: 0 15px;
@@ -11,7 +11,7 @@
<title>{{setting('pageName')}}</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Lato:300,700italic,700,300italic&subset=latin-ext' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&amp;subset=latin-ext" rel="stylesheet">
<link href="{{asset_path('visitor/css/materialize.css')}}" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="{{asset_path('visitor/css/style.css')}}" type="text/css" rel="stylesheet" media="screen,projection"/>