From 9b2187b261a9fd4cc36c2df4c29891b7c859908d Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Mon, 19 Jan 2015 21:24:46 +0100 Subject: Change theme to allow the logo to be text instead of image --- searx/static/themes/courgette/less/style.less | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'searx/static/themes/courgette/less') diff --git a/searx/static/themes/courgette/less/style.less b/searx/static/themes/courgette/less/style.less index 50cc2320a..0d5648317 100644 --- a/searx/static/themes/courgette/less/style.less +++ b/searx/static/themes/courgette/less/style.less @@ -39,11 +39,12 @@ a { } .title h1 { - background: url(../img/searx.png) no-repeat; - width: 319px; - height: 62px; - text-indent: -9999px; - margin: 0.5em auto 1em; + font-size:7em; + color:@color-main; + margin:0 auto; + line-height:100px; + margin-top:-20px; + padding-bottom:20px; } .center { -- cgit v1.2.3 From 71ae75d73e3dd33d719d6eb94e173b02c9b47edd Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Mon, 19 Jan 2015 22:04:53 +0100 Subject: Extract color --- searx/static/themes/courgette/less/style.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'searx/static/themes/courgette/less') diff --git a/searx/static/themes/courgette/less/style.less b/searx/static/themes/courgette/less/style.less index 0d5648317..fab3bd8bd 100644 --- a/searx/static/themes/courgette/less/style.less +++ b/searx/static/themes/courgette/less/style.less @@ -1,5 +1,6 @@ @color-main: #3498DB; +@color-focus: #0665A2; @color-other-links: #666; @color-fonts: #333; @center-width: 70em; @@ -241,7 +242,7 @@ a { #search_submit:hover, #search_submit:focus { - background-color: #0665A2; + background-color: @color-focus; } #sidebar { @@ -311,7 +312,7 @@ a { #sidebar input[type="submit"]:hover, #sidebar input[type="submit"]:focus { color: #FFF; - background-color: #0665A2; + background-color: @color-focus; } #results { @@ -433,7 +434,7 @@ input[type="submit"] { input[type="submit"]:hover, input[type="submit"]:focus { - background: #0665A2; + background: @color-focus; } .row { -- cgit v1.2.3