Selaa lähdekoodia

Adding style for publish Date

Thomas Pointhuber 11 vuotta sitten
vanhempi
commit
c54baf6301

+ 1
- 0
searx/static/css/style.css Näytä tiedosto

35
 .result h3{font-size:1em;word-wrap:break-word;margin:5px 0 1px 0;padding:0}
35
 .result h3{font-size:1em;word-wrap:break-word;margin:5px 0 1px 0;padding:0}
36
 .result .content{font-size:.8em;margin:0;padding:0;max-width:54em;word-wrap:break-word;line-height:1.24}
36
 .result .content{font-size:.8em;margin:0;padding:0;max-width:54em;word-wrap:break-word;line-height:1.24}
37
 .result .url{font-size:.8em;margin:3px 0 0 0;padding:0;max-width:54em;word-wrap:break-word;color:#c0392b}
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
 .engines{color:#888}
39
 .engines{color:#888}
39
 .small_font{font-size:.8em}
40
 .small_font{font-size:.8em}
40
 .small p{margin:2px 0}
41
 .small p{margin:2px 0}

+ 3
- 0
searx/static/less/definitions.less Näytä tiedosto

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

+ 6
- 0
searx/static/less/style.less Näytä tiedosto

248
 		word-wrap:break-word;
248
 		word-wrap:break-word;
249
 		color: @color-result-url-font;
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
 .engines {
259
 .engines {