diff search.css @ 7:23dcd1b5e9c4 default tip

add keywords highlighting on searching result
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 16 Nov 2015 16:58:39 +0100
parents 1cf7bb8db5dd
children
line wrap: on
line diff
--- a/search.css	Wed Oct 14 11:01:26 2015 +0200
+++ b/search.css	Mon Nov 16 16:58:39 2015 +0100
@@ -71,6 +71,8 @@
   position:fixed;
 	z-index:2000;
 	background:rgba(0,0,0,0.5);
+	top:0;
+	left:0;
 	color:#fff;
 	width:100vw;
 	height:100vh;
@@ -80,3 +82,8 @@
 	font-size:20px;
 	line-height:20px;
 }
+
+.highlight
+{
+	background-color:yellow;
+}