commit: c54baf63015e884c060e10bc7a73a2c1503564c1
parent b88146d669b1196ed1efc4ae4108e238cfd7dbca
Author: Thomas Pointhuber <thomas.pointhuber@gmx.at>
Date: Fri, 14 Mar 2014 10:04:36 +0100
Adding style for publish Date
Diffstat:
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git 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
@@ -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
@@ -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 {