forked from PeerJ/paper-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticle.scss
121 lines (99 loc) · 1.64 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
---
---
body {
font-size: 15px;
font-family: 'Source Sans Pro', sans-serif;
}
@media screen {
html, body, article, .column {
height: 100%;
overflow: hidden;
}
article {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
min-width: 70em;
}
.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;
}
#sidebar > div > * {
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;
}
}
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%;
}
// authors in authors list
#authors-list span:not(:last-child):after {
content: ", ";
}
.author {
margin: 2rem 0;
}
figure img {
max-width: 100%;
}
@media print {
a[href]:after {
content: none;
}
}