/** * @file styles/objects/article_details.less * * Copyright (c) 2014-2017 Simon Fraser University * Copyright (c) 2003-2017 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @brief Styles applying to a view of an article with all details * @link templates/frontend/objects/article_details.tpl */ .obj_article_details { > .page_title { margin: 0; } > .subtitle { margin: 0; font-size: @font-lead; line-height: @line-lead; font-weight: @normal; } .row { margin-top: @triple; } .item { padding-top: @double; padding-bottom: @double; > *:first-child { margin-top: 0; } > *:last-child { margin-bottom: 0; } } .sub_item { margin-bottom: @double; &:last-child { margin-bottom: 0; } } .main_entry { .item { .label { margin: 0 0 @double; font-family: @font-heading; font-size: @font-bump; font-weight: @bold; } } .sub_item { .label { font-size: @font-base; } } } .authors { &:extend(.pkp_unstyled_list); li { margin-bottom: @base; } .name { font-weight: bold; display: block; } .orcid { display: block; font-size: @font-tiny; line-height: @double; &:before { content:url('//orcid.org/sites/default/files/images/orcid_16x16.png'); display: inline-block; margin-right: 0.25em; height: @double; vertical-align: middle; } } .affiliation { font-size: @font-sml; color: @text-light; } } .author_bios { .sub_item { .label { margin-bottom: 0; } .value > p:first-child { margin-top: 0; } } } .item.doi { padding-top: 0; .label { font-size: @font-sml; } } .galleys_links { &:extend(.pkp_unstyled_list); li { display: inline-block; } } .copyright { font-size: @font-sml; line-height: @line-sml; a[rel="license"] + p { margin-top: 0; } } .entry_details { margin-left: -@double; margin-right: -@double; border-top: @bg-border; .item { padding: @double; border-bottom: @bg-border; word-wrap: break-word; &:last-child { border-bottom: none; } .label { font-family: @font-heading; font-size: @font-sml; font-weight: @normal; color: @text-light; } } } .citation_display .value { font-size: @font-tiny; } .citation_format_options ul { &:extend(.pkp_unstyled_list all); } // RefWorks form .citation_display form { textarea { max-width: 100%; max-height: 19em; white-space: nowrap; } input[type="submit"] { &:extend(.cmp_button); } } @media(min-width: @screen-phone) { .entry_details { margin-left: -@triple; margin-right: -@triple; } } @media(min-width: @screen-tablet) { .row { margin-left: -@double; margin-right: -@double; border-top: @bg-border; border-bottom: @bg-border; } .main_entry { float: left; width: @screen-tablet-container - @sidebar-width; border-right: @bg-border; } .item { padding: @double; } .entry_details { float: left; width: @sidebar-width; margin: 0 0 0 -1px; // border overlap with main content border-top: none; border-left: @bg-border; .item { margin-right: -1px; // border reach out to edge border-bottom: @bg-border; &:last-child { border-bottom: none; } } } } @media(min-width: @screen-desktop) { .row { margin-left: -@triple; margin-right: -@triple; } .main_entry { width: @screen-desktop-container - (@sidebar-width * 2); } .item { padding: @triple; } } @media(min-width: @screen-lg-desktop) { .main_entry { width: @screen-lg-desktop-container - (@sidebar-width * 2); } } }