Kaynağa Gözat

Adding style for publish Date

Thomas Pointhuber 11 yıl önce
ebeveyn
işleme
c54baf6301

+ 1
- 0
searx/static/css/style.css Dosyayı Görüntüle

@@ -35,6 +35,7 @@ a{text-decoration:none;color:#1a11be}a:visited{color:#8e44ad}
35 35
 .result h3{font-size:1em;word-wrap:break-word;margin:5px 0 1px 0;padding:0}
36 36
 .result .content{font-size:.8em;margin:0;padding:0;max-width:54em;word-wrap:break-word;line-height:1.24}
37 37
 .result .url{font-size:.8em;margin:3px 0 0 0;padding:0;max-width:54em;word-wrap:break-word;color:#c0392b}
38
+.result .published_date{font-size:.8em;color:#888;margin:5px 20px}
38 39
 .engines{color:#888}
39 40
 .small_font{font-size:.8em}
40 41
 .small p{margin:2px 0}

+ 3
- 0
searx/static/less/definitions.less Dosyayı Görüntüle

@@ -64,6 +64,9 @@
64 64
 // Url to result
65 65
 @color-result-url-font: #C0392B;
66 66
 
67
+// Publish Date
68
+@color-result-publishdate-font: #888;
69
+
67 70
 // Images
68 71
 @color-result-image-span-background-hover: rgba(0, 0, 0, 0.6);
69 72
 @color-result-image-span-font: #FFF;

+ 6
- 0
searx/static/less/style.less Dosyayı Görüntüle

@@ -248,6 +248,12 @@ a {
248 248
 		word-wrap:break-word;
249 249
 		color: @color-result-url-font;
250 250
 	}
251
+
252
+	.published_date {
253
+		font-size: 0.8em;
254
+		color: @color-result-publishdate-font;
255
+    	margin: 5px 20px;
256
+	}
251 257
 }
252 258
 
253 259
 .engines {