From c54baf63015e884c060e10bc7a73a2c1503564c1 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Fri, 14 Mar 2014 10:04:36 +0100 Subject: [PATCH] Adding style for publish Date --- searx/static/css/style.css | 1 + searx/static/less/definitions.less | 3 +++ searx/static/less/style.less | 6 ++++++ 3 files changed, 10 insertions(+) diff --git a/searx/static/css/style.css b/searx/static/css/style.css index bc4c034dc..767d7b05e 100644 --- a/searx/static/css/style.css +++ b/searx/static/css/style.css @@ -35,6 +35,7 @@ a{text-decoration:none;color:#1a11be}a:visited{color:#8e44ad} .result h3{font-size:1em;word-wrap:break-word;margin:5px 0 1px 0;padding:0} .result .content{font-size:.8em;margin:0;padding:0;max-width:54em;word-wrap:break-word;line-height:1.24} .result .url{font-size:.8em;margin:3px 0 0 0;padding:0;max-width:54em;word-wrap:break-word;color:#c0392b} +.result .published_date{font-size:.8em;color:#888;margin:5px 20px} .engines{color:#888} .small_font{font-size:.8em} .small p{margin:2px 0} diff --git a/searx/static/less/definitions.less b/searx/static/less/definitions.less index f71f55782..2d85f7815 100644 --- a/searx/static/less/definitions.less +++ b/searx/static/less/definitions.less @@ -64,6 +64,9 @@ // Url to result @color-result-url-font: #C0392B; +// Publish Date +@color-result-publishdate-font: #888; + // Images @color-result-image-span-background-hover: rgba(0, 0, 0, 0.6); @color-result-image-span-font: #FFF; diff --git a/searx/static/less/style.less b/searx/static/less/style.less index 556ecd615..817f6b317 100644 --- a/searx/static/less/style.less +++ b/searx/static/less/style.less @@ -248,6 +248,12 @@ a { word-wrap:break-word; color: @color-result-url-font; } + + .published_date { + font-size: 0.8em; + color: @color-result-publishdate-font; + margin: 5px 20px; + } } .engines {