/** * @file less/pages/htmlGalley.less * * Copyright (c) 2014-2020 Simon Fraser University * Copyright (c) 2003-2020 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @brief Styles applying to the page for viewing HTML galley */ // container .galley_view { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow-y: hidden; & iframe { width: 100%; height: 100%; border: none; padding-top: 30px; } } .header_view { background-color: #000; position: relative; z-index: 2; } .header_view .return { position: absolute; top: 0; left: 0; height: 30px; width: 30px; line-height: 30px; text-align: center; background-color: @primary-colour; &:before { content: "\21b5"; display: inline-block; color: #000; } } .header_view .title { margin-left: 30px; padding-left: 10px; display: block; text-overflow: ellipsis; color: white; height: 30px; line-height: 30px; max-width: 100%; overflow: hidden; white-space: nowrap; } .header_view .cmp_notification { padding: 0; color: #fff; a { color: #fff; } } .pkp_screen_reader { position: absolute !important; left: -5000px; } // inner HTML @media (min-width: 1200px) { .without_own_css body { padding-left: 15%; padding-right: 15%; } }