forked from PeerJ/paper-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
article.scss
154 lines (124 loc) · 2.06 KB
/
article.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
---
---
body {
font-size: 15px;
font-family: 'Source Sans Pro', sans-serif;
}
iframe {
border: 0;
}
#sidebar {
overflow-x: hidden;
}
#abstract h2 {
display: none;
}
.column {
padding: 0 2rem 5rem;
}
@media screen and (min-width: 768px) {
html, body, article, .column {
height: 100%;
overflow: hidden;
}
article {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
}
.column {
height: 100%;
overflow: auto;
}
#main {
-webkit-flex: 2;
-moz-flex: 2;
-ms-flex: 2;
-o-flex: 2;
flex: 2;
padding: 0 2rem 5rem;
}
#sidebar {
-webkit-flex: 1;
-moz-flex: 1;
-ms-flex: 1;
-o-flex: 1;
flex: 1;
padding: 0;
}
#sidebar > div > *,
#sidebar > aside > * {
margin: 0 2rem;
}
#sidebar h2 {
font-size: 150%;
font-weight: 200;
margin: 2rem 0;
padding: 1rem 1rem;
background: #eee;
}
#sidebar div:first-of-type h2 {
margin-top: 0;
}
#abstract {
padding: 1em 0;
}
#metrics h2 {
display: none;
}
.altmetric-embed > div:first-child {
padding-top: 2rem;
padding-bottom: 2rem;
}
.altmetric-embed p {
display: none;
}
}
header {
margin: 4rem 0;
text-align: center;
}
header > * {
margin: 1.5rem 0;
}
h1 {
font-weight: 100;
font-size: 3em;
}
h2 {
font-weight: 100;
margin-top: 4rem;
margin-bottom: 2rem;
}
article p {
font-size: 110%;
color: #333;
}
#abstract p {
font-size: 120%;
}
#abstract p:last-of-type {
margin-bottom: 0;
}
#authors-list {
font-size: 120%;
}
.inline-list span:not(:last-child):after {
content: ", ";
}
.author {
margin: 2rem 0;
}
#figures > div:not(:last-of-type) {
margin-bottom: 4rem;
}
figure img {
max-width: 100%;
}
@media print {
a[href]:after {
content: none;
}
}