diff --git a/assets/css/style.css b/assets/css/style.css index 19ac436..5fc9bda 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -4,7 +4,7 @@ body { -webkit-font-smoothing: antialiased; font-size: 17px; color: var(--text-color); - background-color: var(--secondary-color); + background-color: var(--body-color); } P { @@ -98,24 +98,6 @@ h6, border-color: var(--primary-color); } -.btn-default { - color: #333 !important; - background-color: #fff !important; - border: 1px solid #ccc !important; - display: inline-block !important; - padding: 6px 12px !important; - margin-bottom: 0 !important; - font-size: 14px !important; - font-weight: 400 !important; - line-height: 1.42857143 !important; - text-align: center !important; - white-space: nowrap !important; - vertical-align: middle !important; - -ms-touch-action: manipulation !important; - touch-action: manipulation !important; - border-radius: 4px !important; -} - .inline-button { line-height: .8rem !important; padding: 5px 8px !important; @@ -123,9 +105,8 @@ h6, margin-top: -5px; } -body { - background-color: var(--white-color); - overflow-x: hidden; +.overflow-hidden{ + overflow: hidden !important; } ::-moz-selection { @@ -234,7 +215,6 @@ select:focus { pre { padding: 20px; - background: var(--secondary-color); border-radius: 2px; } @@ -266,8 +246,12 @@ pre { background: var(--primary-color) !important; } -.bg-gray { - background-color: var(--secondary-color); +.bg-white { + background-color: var(--white-color) !important; +} + +.bg-light { + background-color: var(--light-color) !important; } .text-primary { @@ -275,7 +259,7 @@ pre { } .text-color { - color: var(--text-color); + color: var(--text-color) !important; } .text-dark { @@ -651,7 +635,7 @@ blockquote { border-left: 2px solid var(--primary-color); margin: 40px 0; font-weight: bold; - background: #f9f9f9; + background: var(--light-color); } blockquote p { diff --git a/exampleSite/config.toml b/exampleSite/config.toml index cb4f88f..d5f4e9f 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -8,44 +8,6 @@ title = "Dot" # desable language disableLanguages = [] -############################# Default Parameters ########################## -[params] -# logo is for all page -logo = "" -# logo white is for homepage logo, you can use colorful logo too... -logo_white = "" -# when logo is empty, it will shown your site title - -# customize color -primary_color = "#02007e" -secondary_color = "#f9f9f9" -text_color = "#636363" -text_color_dark = "#242738" -white_color = "#ffffff" - -# font family -font_family = "lato" # Choose font family from : https://fonts.google.com/ - -# contact form action -contact_form_action = "#" # contact form works with : https://formspree.io - -############################## social links ############################## -[[params.social]] -icon = "ti-facebook" # themify icon pack : https://themify.me/themify-icons -link = "#" - -[[params.social]] -icon = "ti-twitter-alt" # themify icon pack : https://themify.me/themify-icons -link = "#" - -[[params.social]] -icon = "ti-vimeo-alt" # themify icon pack : https://themify.me/themify-icons -link = "#" - -[[params.social]] -icon = "ti-linkedin" # themify icon pack : https://themify.me/themify-icons -link = "#" - ################################# navigation ################################ [[menu.main]] @@ -82,6 +44,47 @@ hasChildren = true url = "features" weight = 3 + +############################# Default Parameters ########################## +[params] +# logo is for all page +logo = "" +# logo white is for homepage logo, you can use colorful logo too... +logo_white = "" +# when logo is empty, it will shown your site title + +# customize color +primary_color = "#02007e" +body_color = "#f9f9f9" +text_color = "#636363" +text_color_dark = "#242738" +white_color = "#ffffff" +light_color = "#f8f9fa" + +# font family +font_family = "lato" # Choose font family from : https://fonts.google.com/ + +# contact form action +contact_form_action = "#" # contact form works with : https://formspree.io + + +############################## social links ############################## +[[params.social]] +icon = "ti-facebook" # themify icon pack : https://themify.me/themify-icons +link = "#" + +[[params.social]] +icon = "ti-twitter-alt" # themify icon pack : https://themify.me/themify-icons +link = "#" + +[[params.social]] +icon = "ti-vimeo-alt" # themify icon pack : https://themify.me/themify-icons +link = "#" + +[[params.social]] +icon = "ti-linkedin" # themify icon pack : https://themify.me/themify-icons +link = "#" + ################################ English Language ###################### [Languages.en] languageName = "En" @@ -93,7 +96,7 @@ copyright = "The Hugo Documents are copyright © [gethugothemes](https://gethugo # banner [Languages.en.params.banner] title = "Support Center & Knowledge base" -description = "Find advice and answers from our support team fast or get in touch" +subtitle = "Find advice and answers from our support team fast or get in touch" bg_image = "images/banner.jpg" placeholder = "Have a question? Just ask here or enter terms" @@ -101,7 +104,8 @@ placeholder = "Have a question? Just ask here or enter terms" [Languages.en.params.cta] enable = true title = "Didn't find an answer to your question?" -description = "Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam." +content = "Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam." +# call to action button [Languages.en.params.cta.button] enable = true label = "contact us" @@ -119,7 +123,7 @@ copyright = "Les documents Hugo sont sous copyright © [gethugothemes](https://g # banner [Languages.fr.params.banner] title = "Comment pouvons nous aider?" -description = "Trouvez rapidement des conseils et des réponses auprès de notre équipe d'assistance ou contactez-nous." +subtitle = "Trouvez rapidement des conseils et des réponses auprès de notre équipe d'assistance ou contactez-nous." bg_image = "images/banner.jpg" placeholder = "Avoir une question? Il suffit de demander ici ou de saisir les termes" @@ -127,7 +131,8 @@ placeholder = "Avoir une question? Il suffit de demander ici ou de saisir les te [Languages.fr.params.cta] enable = true title = "Vous n'avez pas trouvé de réponse à votre question?" -description = "Contactez-nous pour plus de détails sur les services supplémentaires et la tarification du travail personnalisé" +content = "Contactez-nous pour plus de détails sur les services supplémentaires et la tarification du travail personnalisé" +# call to action button [Languages.fr.params.cta.button] enable = true label = "Contactez nous" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2b4d9b1..94c5673 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,9 +17,7 @@ {{ "" | safeHTML }} {{ end }} -