From 2b98c60d2a14e515785e6ccec4b1508ce466e900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kv=C3=A1=C4=8Dek?= Date: Fri, 3 Feb 2017 01:32:57 +0100 Subject: [PATCH] FIX #2228: change font from Lato to Open Sans --- .../Resources/assets/css/style.css | 214 ++++++++++++------ .../Resources/views/visitor/layout.blade.php | 2 +- 2 files changed, 151 insertions(+), 65 deletions(-) diff --git a/templates/DobrotyZPece/Resources/assets/css/style.css b/templates/DobrotyZPece/Resources/assets/css/style.css index e3411c1a..86edf457 100644 --- a/templates/DobrotyZPece/Resources/assets/css/style.css +++ b/templates/DobrotyZPece/Resources/assets/css/style.css @@ -1,118 +1,204 @@ -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 { - color: #000; + color: #000; } /* label focus color */ .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; - top: 40%; - } + .parallax-container .section { + position: absolute; + top: 40%; + } - #index-banner .section { - top: 10%; - } + #index-banner .section { + top: 10%; + } } @media only screen and (max-width: 600px) { - #index-banner .section { - top: 0; - } + #index-banner .section { + top: 0; + } - .parallax-container .section { - position: absolute; - top: 20%; - } + .parallax-container .section { + position: absolute; + top: 20%; + } - .contact-form-widget { - margin-bottom: 25px; - } + .contact-form-widget { + margin-bottom: 25px; + } - .company-data { - text-align: center; - } - .company-data span { - display: block; - } + .company-data { + text-align: center; + } - .section .row div.col.s12 img { - display: block; - margin: 15px auto; - } + .company-data span { + display: block; + } + + .section .row div.col.s12 img { + display: block; + margin: 15px auto; + } } -.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; + padding: 0 15px; } .icon-block .material-icons { - font-size: inherit; + font-size: inherit; } footer.page-footer { - margin: 0; + margin: 0; } \ No newline at end of file diff --git a/templates/DobrotyZPece/Resources/views/visitor/layout.blade.php b/templates/DobrotyZPece/Resources/views/visitor/layout.blade.php index 34fb4728..803b6512 100644 --- a/templates/DobrotyZPece/Resources/views/visitor/layout.blade.php +++ b/templates/DobrotyZPece/Resources/views/visitor/layout.blade.php @@ -11,7 +11,7 @@ {{setting('pageName')}} - +