diff --git a/css/hopscotch.css b/css/hopscotch.css index 50b2a4d2..d08771bc 100644 --- a/css/hopscotch.css +++ b/css/hopscotch.css @@ -7,8 +7,8 @@ div#hopscotch-bubble{background-color:#ffffff;border:6px solid #000000;border:6p div#hopscotch-bubble.invisible{opacity:0;} div#hopscotch-bubble.hide,div#hopscotch-bubble .hide,div#hopscotch-bubble .hide-all{display:none;} div#hopscotch-bubble h3,div#hopscotch-bubble #hopscotch-bubble-number{font-size:18px;} -div#hopscotch-bubble h3{font-weight:bold;margin:0 15px 0 0;padding:0;} -div#hopscotch-bubble #hopscotch-bubble-container{padding:15px;position:relative;-webkit-font-smoothing:antialiased;}div#hopscotch-bubble #hopscotch-bubble-container p{line-height:17px;margin:10px 0;padding:0;} +div#hopscotch-bubble h3{font-family:Helvetica,Arial;font-weight:bold;margin:0 15px 0 0;padding:0;} +div#hopscotch-bubble #hopscotch-bubble-container{padding:15px;position:relative;-webkit-font-smoothing:antialiased;}div#hopscotch-bubble #hopscotch-bubble-container p{font-family:Helvetica,Arial;line-height:17px;margin:10px 0;padding:0;} div#hopscotch-bubble #hopscotch-bubble-content{margin:0 0 0 40px;} div#hopscotch-bubble #hopscotch-bubble-close{color:#000;background:transparent url(../img/sprite_li.png) -200px -100px no-repeat;display:block;margin:15px 10px 0 0;position:absolute;text-decoration:none;text-indent:-9999px;width:10px;height:10px;top:0;right:0;}div#hopscotch-bubble #hopscotch-bubble-close.hide,div#hopscotch-bubble #hopscotch-bubble-close.hide-all{display:none;} div#hopscotch-bubble #hopscotch-bubble-number{background:transparent url(../img/sprite_li.png) 0 0 no-repeat;color:#fff;display:block;float:left;line-height:33px;margin:0 10px 0 0;text-align:center;width:30px;height:30px;} diff --git a/css/hopscotch.less b/css/hopscotch.less index 100e3ae4..64184ae5 100644 --- a/css/hopscotch.less +++ b/css/hopscotch.less @@ -52,6 +52,7 @@ div#hopscotch-bubble { } h3 { + font-family: @bubbleFontFamily; font-weight: bold; margin: 0 @bubblePadding 0 0; padding: 0; @@ -63,6 +64,7 @@ div#hopscotch-bubble { -webkit-font-smoothing: antialiased; /* to fix text flickering */ p { + font-family: @bubbleFontFamily; line-height: 17px; margin: 10px 0; padding: 0; diff --git a/index.html b/index.html index b305810e..e5d25c04 100644 --- a/index.html +++ b/index.html @@ -19,13 +19,19 @@ background-color: #fff; border: 5px solid #000; padding: 20px; - position: absolute; + position: fixed; top: 0; right: 0; + z-index: 10; } #debug h3 { margin: 10px 0; } + #debug-output, + #debug-output p { + margin: 0; + padding: 0; + } .img-container { text-align: center; } @@ -81,21 +87,46 @@