-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathresearch-article.css
91 lines (76 loc) · 1.38 KB
/
research-article.css
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
:host {
overflow-x: hidden;
}
:host table-of-contents {
margin: 2rem 0;
}
:host article-share {
float: right;
}
::content section:last-of-type {
padding-bottom: 2rem;
}
::content a.citation {
vertical-align: super;
line-height: 0;
font-size: 80%;
}
@media screen and (min-width: 768px) {
html, body, article {
height: 100%;
width: 100%;
margin: 0;
overflow: hidden;
}
::content #references {
padding-bottom: 2rem;
}
:host .column {
height: 100%;
overflow: auto;
position: absolute;
top: 0;
}
:host .column-main {
left: 0;
right: 35%;
padding: 0 2rem;
}
:host .column-sidebar {
left: 65%;
right: 0;
padding: 0;
}
:host .column-sidebar h2,
::content footer h2 {
font-size: 150%;
font-weight: 200;
margin: 2rem 0;
padding: 1rem 1rem;
background: #eee;
}
:host .column-sidebar > div > *:not(h2),
::content footer > div > *:not(h2),
::content footer > section > *:not(h2) {
margin: 0 1.5rem;
}
:host .column-sidebar div:first-of-type h2 {
margin-top: 0;
}
}
@media screen and (max-width: 767px) {
:host {
padding-left: 2rem;
padding-right: 2rem;
padding-bottom: 4rem;
}
:host footer h3, ::content footer h3 {
font-size: 100%;
}
}
@media print {
:host [hidden-print],
::content [hidden-print] {
display: none !important;
}
}