From 2e7e2290b936e6248564b67ebf32171da71f206d Mon Sep 17 00:00:00 2001 From: Themefisher Dev Date: Mon, 27 Jan 2020 09:57:24 +0600 Subject: [PATCH] fixed navigation issue --- .gitignore | 2 +- assets/css/style.css | 35 +++++++++++-------- .../content/billing-pricing/_index.en.md | 16 ++++++++- .../content/billing-pricing/_index.fr.md | 16 ++++++++- layouts/partials/navigation.html | 4 +-- 5 files changed, 53 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 612aac0..8b35474 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ npm-debug.log node_modules builds package-lock.json - \ No newline at end of file +public \ No newline at end of file diff --git a/assets/css/style.css b/assets/css/style.css index d41e9ab..8996317 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -334,6 +334,12 @@ header.sticky-top { padding: 0; } +@media (max-width: 768px) { + .navbar { + padding: 10px 0; + } +} + .navbar-brand img { max-width: 100px; margin-bottom: 0; @@ -341,7 +347,7 @@ header.sticky-top { .navbar .nav-item .nav-link { text-transform: uppercase; - padding: 18px 15px !important; + padding: 10px 15px !important; font-size: 15px; } @@ -356,7 +362,7 @@ header.sticky-top { box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12); padding: 15px; border: 0; - top: 60px; + top: 40px; left: -25px; border-radius: 0; display: block; @@ -368,7 +374,7 @@ header.sticky-top { background: var(--white-color); } -@media (max-width: 991px) { +@media (max-width: 768px) { .navbar .dropdown-menu { display: none; opacity: 1; @@ -389,7 +395,7 @@ header.sticky-top { transform-origin: top; } -@media (max-width: 991px) { +@media (max-width: 768px) { .navbar .dropdown-menu.view { display: block; } @@ -399,7 +405,7 @@ header.sticky-top { visibility: hidden; } -@media (max-width: 991px) { +@media (max-width: 768px) { .navbar .dropdown-menu.show { visibility: visible; display: block; @@ -413,21 +419,25 @@ header.sticky-top { font-family: var(--font-family), sans-serif; } -@media (max-width: 991px) { +@media (max-width: 768px) { .navbar .dropdown-item { text-align: center; } } -.navbar .dropdown-item:not(:last-child) { - margin-bottom: 10px; -} - .navbar .dropdown-item:hover { color: var(--primary-color); background: transparent; } +.lang-list{ + background: transparent; + color: var(--white-color); +} + +.lang-list.dark{ + color: var(--text-color-dark); +} .banner p { font-size: 20px; @@ -905,9 +915,4 @@ code{ z-index: 1; left: -15px; top: -3px; -} - -#select-language{ - background: transparent; - color: var(--white-color); } \ No newline at end of file diff --git a/exampleSite/content/billing-pricing/_index.en.md b/exampleSite/content/billing-pricing/_index.en.md index 4aa71f0..e08937d 100644 --- a/exampleSite/content/billing-pricing/_index.en.md +++ b/exampleSite/content/billing-pricing/_index.en.md @@ -4,4 +4,18 @@ date: 2018-12-28T11:02:05+06:00 icon: "ti-credit-card" description: "Lorem ipsum dolor sit amet ipsum dolor sit amet ipsum dolor sit amet" type : "docs" ---- \ No newline at end of file +--- + +Many businesses employ full-time pricing analysts or hire an analyst as a consultant for a particular project or concern. + +Pricing analysts look at industry standards, playing close attention to the pricing strategies of their competitors. + +They use mathematical analysis to track pricing trends in the marketplace using industry databases, catalogues and other industry sources. They study consumer habits to determine how much people are willing to pay for various products, and to look for patterns in consumer spending. + +They are also interested in the cost of production of various items, the amount of profit a company wants to make, and associated costs like marketing. + +They may be involved with the packaging and presentation of products, which can influence how much people are willing to pay, and they provide advice during the research and development phase to help create the most income for the company. + +They work with a variety of departments, including sales, product management, marketing and accounting, to ensure that their methods comply with company strategy and maximise profitability. + +Other duties that are included under a pricing analyst's job title include maintaining price lists, contributing content for sales proposals, reviewing price quotes, generating pricing reports on sales revenue and preparing revenue forecasts and budgets for project managers. \ No newline at end of file diff --git a/exampleSite/content/billing-pricing/_index.fr.md b/exampleSite/content/billing-pricing/_index.fr.md index 4aa71f0..e08937d 100644 --- a/exampleSite/content/billing-pricing/_index.fr.md +++ b/exampleSite/content/billing-pricing/_index.fr.md @@ -4,4 +4,18 @@ date: 2018-12-28T11:02:05+06:00 icon: "ti-credit-card" description: "Lorem ipsum dolor sit amet ipsum dolor sit amet ipsum dolor sit amet" type : "docs" ---- \ No newline at end of file +--- + +Many businesses employ full-time pricing analysts or hire an analyst as a consultant for a particular project or concern. + +Pricing analysts look at industry standards, playing close attention to the pricing strategies of their competitors. + +They use mathematical analysis to track pricing trends in the marketplace using industry databases, catalogues and other industry sources. They study consumer habits to determine how much people are willing to pay for various products, and to look for patterns in consumer spending. + +They are also interested in the cost of production of various items, the amount of profit a company wants to make, and associated costs like marketing. + +They may be involved with the packaging and presentation of products, which can influence how much people are willing to pay, and they provide advice during the research and development phase to help create the most income for the company. + +They work with a variety of departments, including sales, product management, marketing and accounting, to ensure that their methods comply with company strategy and maximise profitability. + +Other duties that are included under a pricing analyst's job title include maintaining price lists, contributing content for sales proposals, reviewing price quotes, generating pricing reports on sales revenue and preparing revenue forecasts and budgets for project managers. \ No newline at end of file diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 11966e7..5c95778 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -1,4 +1,4 @@ -