diff --git a/theme/blueidea/static/css/main.css b/theme/blueidea/static/css/main.css index 000e72c..c82a5f7 100644 --- a/theme/blueidea/static/css/main.css +++ b/theme/blueidea/static/css/main.css @@ -13,7 +13,7 @@ @import url("reset.css"); @import url("pygment.css"); @import url("typogrify.css"); -@import url(//fonts.googleapis.com/css?family=Yanone+Kaffeesatz&subset=latin); +/* @import url(//fonts.googleapis.com/css?family=Yanone+Kaffeesatz&subset=latin); */ /***** Global *****/ /* Body */ diff --git a/theme/my_theme/static/css/main.css b/theme/my_theme/static/css/main.css index 93a3a59..1bb3eeb 100644 --- a/theme/my_theme/static/css/main.css +++ b/theme/my_theme/static/css/main.css @@ -13,6 +13,7 @@ @import url("reset.css"); @import url("pygment.css"); @import url("typogrify.css"); +@import url("tooltip.css"); /* @import url(//fonts.googleapis.com/css?family=Yanone+Kaffeesatz&subset=latin); */ /***** Global *****/ diff --git a/theme/my_theme/static/css/tooltip.css b/theme/my_theme/static/css/tooltip.css new file mode 100644 index 0000000..685558e --- /dev/null +++ b/theme/my_theme/static/css/tooltip.css @@ -0,0 +1,46 @@ + /* Tooltip container */ +.tooltip { + position: relative; + display: inline-block; + border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ +} + +/* Tooltip text */ +.tooltip .tooltiptext { + visibility: hidden; + width: 120px; + background-color: #555; + color: #fff; + text-align: center; + padding: 5px 0; + border-radius: 6px; + + /* Position the tooltip text */ + position: absolute; + z-index: 1; + bottom: 125%; + left: 50%; + margin-left: -60px; + + /* Fade in tooltip */ + opacity: 0; + transition: opacity 0.3s; +} + +/* Tooltip arrow */ +.tooltip .tooltiptext::after { + content: ""; + position: absolute; + top: 100%; + left: 50%; + margin-left: -5px; + border-width: 5px; + border-style: solid; + border-color: #555 transparent transparent transparent; +} + +/* Show the tooltip text when you mouse over the tooltip container */ +.tooltip:hover .tooltiptext { + visibility: visible; + opacity: 1; +} diff --git a/theme/my_theme/templates/base.html b/theme/my_theme/templates/base.html index e0fdfff..3f31793 100644 --- a/theme/my_theme/templates/base.html +++ b/theme/my_theme/templates/base.html @@ -4,6 +4,7 @@ {% block title %}{{ SITENAME }}{%endblock%} + {% if FEED_ALL_ATOM %} {% endif %}