mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
Fix #157
This commit is contained in:
parent
57c91e427d
commit
00e4700abb
@ -6,6 +6,7 @@
|
||||
<link rel="stylesheet" href="./tpl/css/style.css" media="all">
|
||||
<link rel="stylesheet" href="./tpl/css/style-{{ constant('THEME') }}.css" media="all" title="{{ constant('THEME') }} theme">
|
||||
<link rel="stylesheet" href="./tpl/css/messages.css" media="all">
|
||||
<link rel="stylesheet" href="./tpl/css/print.css" media="print">
|
||||
<link href='//fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
|
||||
<script src="./tpl/js/jquery-2.0.3.min.js"></script>
|
||||
<script type="text/javascript">$(document).ready(function(){$("body").prepend('<a href="#top" class="top_link" title="{% trans "back to top" %}"><img src="./tpl/img/{{ constant("THEME") }}/backtotop.png" alt={% trans "back to top" %}"/></a>');$(".top_link").css({position:"fixed",right:"15px",bottom:"15px",display:"none",padding:"20px",background:"#ccc","-moz-border-radius":"40px","-webkit-border-radius":"40px","border-radius":"40px",opacity:"0.9","z-index":"2000"});$(window).scroll(function(){posScroll=$(document).scrollTop();if(posScroll>=400)$(".top_link").fadeIn(600);else $(".top_link").fadeOut(600)})})</script>
|
19
tpl/css/print.css
Normal file
19
tpl/css/print.css
Normal file
@ -0,0 +1,19 @@
|
||||
body > header,
|
||||
body > footer,
|
||||
a.top_link,
|
||||
div.tools,
|
||||
header div
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
article
|
||||
{
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
div.vieworiginal a::after
|
||||
{
|
||||
margin-left: 5px;
|
||||
content: "("attr(href)")";
|
||||
}
|
Loading…
Reference in New Issue
Block a user