
xml.pef-preview.css Maven / Gradle / Ivy
@font-face {
font-family: odt2braille;
src: url(odt2braille8.ttf);
}
@font-face {
font-family: NotCourierSans;
src: url(NotCourierSans-Bold.ttf);
/* src: url(NotCourierSans-Bold.otf); */
/* ascent-override: 70%; */
/* ascent-override: 30%; */
/* size-adjust: 83%; */
}
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
div#header {
position: fixed;
top: 0;
left: 220px;
width: 100%;
color: #333;
margin: 0px 20px;
border-bottom: 1px solid #CCC;
background-image: linear-gradient(top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.94));
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.94));
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 1)), to(rgba(255, 255, 255, 0.94)));
}
div#main {
min-height: 100%;
margin-left: 250px;
margin-top: 130px;
font-size: 25px;
}
ul#nav {
position: fixed;
top: 0;
left: 0;
background-color: #444;
overflow-x: hidden;
overflow-y: scroll;
height: 100%;
width: 220px;
margin: 0;
padding: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
ul#nav ul {
margin: 0;
padding: 0
}
.nav-volume {
position: relative;
}
.volume-label {
font-weight: bold;
text-align: center;
padding: 10px;
color: #CCC;
background-color: #222;
width: 200px;
}
.volume-label.top {
position: absolute;
top: 0;
left: 0;
}
.volume-label.bottom {
position: absolute;
bottom: 0;
left: 0;
}
.volume-label.fixed {
position: fixed;
top: 0;
left: 0;
}
a.volume-current {
color: inherit;
text-decoration: none;
}
a.volume-current::before {
content: 'Volume ';
}
a.volume-current:hover {
text-decoration: underline;
}
a.volume-next,
a.volume-previous {
display: block;
padding: 10px;
top: 0;
position: absolute;
color: inherit;
text-decoration: none;
}
a.volume-next {
right: 0;
}
a.volume-previous {
left: 0;
}
a.volume-next::after,
a.volume-previous::before {
font-weight: initial;
font-size: 90%;
}
a.volume-next::after {
content: ' >' ;
}
a.volume-previous::before {
content: '< ';
}
a.volume-next:hover,
a.volume-previous:hover {
text-decoration:underline;
}
li.nav-page {
display: block;
position: relative;
}
li.nav-page a {
text-decoration: none;
color: black;
}
li.nav-page:hover {
background-color: #222;
background-image: linear-gradient(top, #444, #222);
background-image: -o-linear-gradient(top, #444, #222);
background-image: -ms-linear-gradient(top, #444, #222);
background-image: -moz-linear-gradient(top, #444, #222);
background-image: -webkit-linear-gradient(top, #444, #222);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#444), to(#222));
}
li.nav-page div.page-number {
float: left;
padding: 20px 10px;
color: #BBB;
font-size: 12px;
vertical-align: center;
}
li.nav-page:hover div.page-number {
color: white;
}
li.nav-page div.page {
display: inline-block;
font-size: 5px;
margin: 10px;
}
span.bookmark {
display: block;
width: 0;
height: 0;
position: relative;
top: -130px;
}
div.page {
display: inline-block;
padding: 0.5em;
border: 1px solid black;
margin: 0.5em;
background-color: white;
box-shadow: 0.2em 0.2em 10px #444;
-moz-box-shadow: 0.2em 0.2em 10px #444;
-webkit-box-shadow: 0.2em 0.2em 10px #444;
}
div.braille-page {
display: block;
}
div.text-page {
display: none;
}
div.row {
font-family: odt2braille, NotCourierSans;
letter-spacing: 0px;
white-space: pre;
letter-spacing: 0px;
font-size: 125%;
height: 1em;
}
div.row[rowgap="1"] {
height: 1.25em;
}
div.row[rowgap="2"] {
height: 1.5em;
}
div.row[rowgap="3"] {
height: 1.75em;
}
div.row[rowgap="4"] {
height: 2em;
}
span.label {
background-color: #999;
border: none;
border-radius: 3px;
color: white;
font-size: 11px;
font-weight: bold;
padding: 1px 4px 2px;
margin: 2px;
margin-right: 5px;
text-shadow: rgba(0, 0, 0, 0.246094) 0px -1px 0px;
}
ul#metadata {
display: none;
width: 100%;
margin: 0px;
padding: 0px 0px 15px 0px;
list-style-type: none;
}
ul#metadata li {
padding: 1px 0px;
}
div#view-buttons {
position: fixed;
top: 0;
right: 0;
margin: 30px;
}
button#view-braille,
button#view-text,
button#view-metadata {
display: block;
float: left;
box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px 0px;
-moz-box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px 0px;
-webkit-box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px 0px;
background-color: #e6e6e6;
background-image: linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
border: 1px solid rgba(0, 0, 0, 0.0976562);
color: #333;
cursor: pointer;
font-size: 13px;
height: 28px;
padding: 4px 10px;
margin: 0px;
}
button#view-braille {
border-bottom-left-radius: 4px;
-webkit-border-top-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
border-right: none;
}
button#view-text {
border-bottom-right-radius: 4px;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
button#view-metadata {
border-bottom-left-radius: 4px;
-webkit-border-top-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
border-top-left-radius: 4px;
border-bottom-right-radius: 4px;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
clear: both;
float: right;
margin-top: 20px;
}
button#view-braille:hover,
button#view-text:hover,
button#view-metadata:hover{
background-image: none;
background-color: #e6e6e6;
}
button#view-braille:active,
button#view-braille.active,
button#view-text:active,
button#view-text.active,
button#view-metadata:active,
button#view-metadata.active {
background-image: none;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy