mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
81 lines
2.8 KiB
CSS
81 lines
2.8 KiB
CSS
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab filetype=css: */
|
|
/*!
|
|
* Fancy styles for pdf2htmlEX
|
|
* Copyright 2012,2013 Lu Wang <coolwanglu@gmail.com>
|
|
* https://github.com/coolwanglu/pdf2htmlEX/blob/master/share/LICENSE
|
|
*/
|
|
@keyframes fadein { from { opacity:0;} to { opacity:1;} }
|
|
@-webkit-keyframes fadein { from { opacity:0;} to { opacity:1;} }
|
|
@keyframes swing {
|
|
0% { transform: rotate(0deg); }
|
|
10% { transform: rotate(0deg); }
|
|
90% { transform: rotate(720deg); }
|
|
100%{ transform: rotate(720deg); }
|
|
}
|
|
@-webkit-keyframes swing {
|
|
0% { -webkit-transform: rotate(0deg); }
|
|
10% { -webkit-transform: rotate(0deg); }
|
|
90% { -webkit-transform: rotate(720deg); }
|
|
100%{ -webkit-transform: rotate(720deg); }
|
|
}
|
|
@media screen {
|
|
#sidebar {
|
|
background-color:#2f3236;
|
|
/* modified from http://philbit.com/svgpatterns/#crossstripes */
|
|
background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjNDAzYzNmIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDBMNCA0Wk00IDBMMCA0WiIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2U9IiMxZTI5MmQiPjwvcGF0aD4KPC9zdmc+");
|
|
}
|
|
#outline {
|
|
font-family:Georgia,Times,"Times New Roman",serif;
|
|
font-size:13px;
|
|
margin:2em 1em;
|
|
}
|
|
#outline ul {
|
|
padding:0;
|
|
}
|
|
#outline li {
|
|
list-style-type:none;
|
|
margin:1em 0;
|
|
}
|
|
#outline li > ul {
|
|
margin-left: 1em;
|
|
}
|
|
#outline a,
|
|
#outline a:visited,
|
|
#outline a:hover,
|
|
#outline a:active {
|
|
line-height:1.2;
|
|
color:#e8e8e8;
|
|
text-overflow:ellipsis;
|
|
white-space:nowrap;
|
|
text-decoration:none;
|
|
display:block;
|
|
overflow:hidden;
|
|
outline:0;
|
|
}
|
|
#outline a:hover {
|
|
color:rgb(0,204,255);
|
|
}
|
|
#page-container {
|
|
background-color:#9e9e9e;
|
|
/* http://philbit.com/svgpatterns/#thinstripes */
|
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjOWU5ZTllIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiM4ODgiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=");
|
|
-webkit-transition:left 500ms;
|
|
transition:left 500ms;
|
|
}
|
|
.@CSS_PAGE_FRAME_CN@ {
|
|
margin: 13px auto;
|
|
box-shadow: 1px 1px 3px 1px #333;
|
|
/* Needed by IE to make box-shadow works * https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow */
|
|
border-collapse: separate;
|
|
}
|
|
.@CSS_PAGE_CONTENT_BOX_CN@.opened { /* used by pdf2htmlEX.js, to show/hide pages */
|
|
-webkit-animation: fadein 100ms;
|
|
animation: fadein 100ms;
|
|
}
|
|
.loading-indicator.active {
|
|
-webkit-animation: swing 1.5s ease-in-out 0s infinite alternate none;
|
|
animation: swing 1.5s ease-in-out 0s infinite alternate none;
|
|
}
|
|
}
|
|
/* Fancy CSS END */
|