Skip to content

Commit 08f9e91

Browse files
jardakotesovecbozana
authored andcommitted
pkp/pkp-lib#10392 Masthead styling initial
1 parent 58d869c commit 08f9e91

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ cypress/tests/**/*
22
lib/pkp/cypress/**/*
33
lib/pkp/js/classes/**/*
44
lib/pkp/js/controllers/**/*
5+
plugins/themes/default/**/*
56

67
package.json

plugins/themes/default/styles/index.less

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
@import "pages/indexJournal.less";
3636
@import "pages/category.less";
3737
@import "pages/contact.less";
38+
@import "pages/masthead.less";
3839
@import "pages/issueArchive.less";
3940
@import "pages/login.less";
4041
@import "pages/lostPassword.less";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* @file plugins/themes/default/styles/pages/masthead.less
3+
*
4+
* Copyright (c) 2014-2024 Simon Fraser University
5+
* Copyright (c) 2003-2024 John Willinsky
6+
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
7+
*
8+
* @brief Styles applying to the masthead and editorial history page
9+
* @link templates/frontend/pages/editorialMasthead.tpl
10+
* @link templates/frontend/pages/editorialHistory.tpl
11+
*/
12+
13+
.page_masthead {
14+
h2 {
15+
margin-top: @double;
16+
margin-bottom: @base;
17+
}
18+
19+
.user_listing {
20+
li {
21+
margin-bottom: @double;
22+
}
23+
li > span {
24+
display: block;
25+
}
26+
list-style-type: none;
27+
padding: 0;
28+
margin-top: @half;
29+
30+
.name {
31+
font-weight: bold;
32+
}
33+
34+
.affiliation {
35+
font-size: @font-sml;
36+
color: @text-light;
37+
}
38+
39+
.date_start {
40+
font-size: @font-sml;
41+
color: @text-light;
42+
}
43+
44+
.orcid {
45+
font-size: @font-sml;
46+
}
47+
48+
.orcid_icon {
49+
width: 1.4rem;
50+
height: 1.4rem;
51+
margin: 0;
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)