Skip to content

Commit

Permalink
Merge pull request pkp#4479 from bozana/i10392
Browse files Browse the repository at this point in the history
pkp/pkp-lib#10392 Masthead styling
  • Loading branch information
bozana authored Oct 22, 2024
2 parents 58d869c + 4bb7aa9 commit 779a496
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 1 deletion.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ cypress/tests/**/*
lib/pkp/cypress/**/*
lib/pkp/js/classes/**/*
lib/pkp/js/controllers/**/*
plugins/themes/default/**/*

package.json
2 changes: 1 addition & 1 deletion lib/pkp
1 change: 1 addition & 0 deletions plugins/themes/default/styles/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
@import "pages/indexJournal.less";
@import "pages/category.less";
@import "pages/contact.less";
@import "pages/masthead.less";
@import "pages/issueArchive.less";
@import "pages/login.less";
@import "pages/lostPassword.less";
Expand Down
56 changes: 56 additions & 0 deletions plugins/themes/default/styles/pages/masthead.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* @file plugins/themes/default/styles/pages/masthead.less
*
* Copyright (c) 2014-2024 Simon Fraser University
* Copyright (c) 2003-2024 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @brief Styles applying to the masthead and editorial history page
* @link templates/frontend/pages/editorialMasthead.tpl
* @link templates/frontend/pages/editorialHistory.tpl
*/

.page_masthead {
h2 {
margin-top: @double;
margin-bottom: @base;
}

.user_listing {
li {
margin-bottom: @double;
}
li > span {
display: block;
}
list-style-type: none;
padding: 0;
margin-top: @half;

.name {
font-weight: bold;
}

.affiliation {
font-size: @font-sml;
color: @text-light;
}

.date_start {
font-size: @font-sml;
color: @text-light;
}

.orcid {
font-size: @font-sml;
margin-left: 0.2rem;
margin-right: 0.2rem;
}

.orcid_icon {
width: 1.4rem;
height: 1.4rem;
margin: 0;
}
}
}

0 comments on commit 779a496

Please sign in to comment.