},
];
- var t = '<div class="content">';
+ var t = '<div class="caption "><a href="#/closeview" role="button" aria-label="Close" aria-keyshortcuts="Escape" class="button back">'+ getSpriteIcon('interface-close') +'</div>'
+ t += '<div class="content">';
t += '<header>';
t += '<h1>' + this.fluidbook.l10n.__('A user experience optimized for accessibility') + '</h1>';
t += '<p>' + this.fluidbook.l10n.__('This interactive Fluidbook has been thoughtfully designed to support accessibility and inclusivity. We are actively working towards compliance with the WCAG 2.2 accessibility standards, aiming to meet both Level A and AA criteria.') + '</p>';
left: 50% !important;
transform: translateX(-50%) !important;
}
+
+ @media @smartphone {
+ width: 100% !important;
+ max-height: 100% !important;
+ top: 0 !important;
+ }
+
+ .caption {
+ background-color: #fff;
+
+ a.back, a.back:hover, a.back:focus {
+ background-color: #000;
+ }
+ }
+
.content {
background-color: #fff;
color: #000;
text-align: left;
padding: 65px;
+
@media @small {
- padding: 35px;
+ padding: 15px;
+ }
+
+ @media @smartphone {
+ max-height: calc(100vh - 40px) !important;
+ }
+
+ &::-webkit-scrollbar-track {
+ background-color: #000;
+ }
+
+ &::-webkit-scrollbar-thumb {
+ background-color: #fff;
+ }
+
+ &::-webkit-scrollbar {
+ width: 10px;
+ }
+
+ scrollbar-color: #000 #fff;
+
+ .ps__rail-y {
+ background-color: #fff;
+ opacity: 1;
+
+ .ps__thumb-y {
+ background-color: #000;
+ width: 11px;
+ }
}
section {
margin-bottom: 64px;
@media @small {
- font-size: 60px;
+ font-size: 50px;
word-break: break-word;
}
}
@import "book-variables";
+@smartphone: ~"screen and (max-width: 334px)";
@small: ~"screen and (max-width: 640px)";
@medium: ~"screen and (max-width: 800px)";
@large: ~"screen and (min-width: 1280px)";
\ No newline at end of file