Mercurial > hg > LGSearch
view 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 source
body{ font-size:20px; } table{ border-collapse:collapse; } table,td{ border: 1px solid black; } td{ vertical-align:top; padding:3px; } td.sequence{ width:35px } td.bookId{ width:65px; } td.bookName{ width:140px; } td.level1{ width:60px; } td.level2{ width:60px; } td.period{ width:50px; } td.sectionName{ width:220px; } td.page{ width:35px; } td.content{ width:150px; } td div.section{ } td div.section a{ display:inline-block; width:125px; margin-right:2px; } td div.visibilityControl{ cursor:pointer; background:#000; color:#fff; width:20px; height:20px; text-align:center; vertical-align:middle; line-height:20px; margin-top:5px; display:inline-block; } span.keyword{ background:#f55; } keyword{ background:#f88; } irrelevant{ color:#ddd; } #popup { position:fixed; z-index:2000; background:rgba(0,0,0,0.5); top:0; left:0; color:#fff; width:100vw; height:100vh; padding:80px 0; text-align:center; vertical-align:middle; font-size:20px; line-height:20px; } .highlight { background-color:yellow; }