aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/static/scholar.css
blob: e0cc2a34c013e4444971b17a3506092231c175b6 (plain)
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
a {
    /* accessibility/contrast */
    color: #28629c;
}
.ui.basic.blue.label {
    color: #28629c!important;
    border-color: #28629c!important;
}
.ui.basic.orange.label {
    color: #c54e00!important;
    border-color: #c54e00!important;
}
.ui.card .meta, .ui.cards>.card .meta {
    color: rgba(0,0,0,0.55);
}

/* bnewbold: fix light grey bars in header, and "rounded" header */
nav.ui.inverted.menu .item:before { background: none; }
nav.ui.menu { border-radius: 0; }

.ui.button.serp-button {
    border-radius: 0;
    margin-bottom: 0.4em;
    text-align: left;
}

.ui.blue.button.serp-button {
    background-color: #6b6ebb;
}

.ui.labeled.icon.button.serp-button {
    padding-left: 3.0em!important;
    padding-right: 1em!important;
    width: 14em;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
}

.ui.labeled.icon.button.serp-button .menu.fulltext-thumbnail {
    left: calc(-100% + 0.3em);
    margin-top: -2.4em;
    background-color: black;
    min-width: 186px;
    border: 3px solid black;
    border-bottom: 0;
    box-shadow: none;
}

.ui.labeled.icon.button.serp-button .menu.fulltext-thumbnail:after {
    z-index: -1;
    background-color: black;
}

.action-bar {
    display: flex;
    justify-content: center;
    column-gap: 0.3em;
    min-width: 14em;
    max-width: 15em;
}

@media only screen and (max-width: 767px) {
    .mobile-hide { display: none !important; }
    .ui.items>.item>.image:not(.ui) { width: auto };
}
@media only screen and (min-width: 768px) {
    .mobile-only { display: none !important; }
}
@media only screen and (max-width: 991px) {
    .tablet-hide { display: none !important; }
    .ui.items>.item>.image:not(.ui) { width: auto };
    .ui.grid>[class*="fourteen wide"].column.serp-column {
    width: 100% !important;
    box-shadow: none !important;
    }
}
@media only screen and (min-width: 992px) {
    .tablet-only { display: none !important; }
}
@media only screen and (min-width: 1200px) {
    .ui.container {
    font-size: 16px;
    line-height: 20px;
    }
    div.fulltext-link {
    width: 180px;
    }
    div.biblio-record {
    padding-left: 1.1em;
    }
}

.ui.serp.card {
    max-width: 180px;
    margin-bottom: 0.2em;
    border-radius: 0;
}
.hit-count {
    font-weight: bold;
    line-height: 1.28571429em;
}

.biblio-record .biblio-title {
    margin-bottom: 0.1em;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.2em;
}
.biblio-record .biblio-title a {
    color: #2224c7;
}
.biblio-record .release-type {
    text-transform: uppercase;
    font-weight: bold;
}
.biblio-record .original-title {
    font-style: italic;
    font-weight: normal;
}
.biblio-record .author-row {
    margin-top: 0;
    margin-bottom: 0.2em;
    font-size: 1.1em;
}
.biblio-record .release-stage {
    color: brown;
    font-weight: bold;
    text-transform: uppercase;
}
.biblio-record details > summary {
    list-style-type: none;
    color: #28629c;
    text-decoration: underline;
    margin-left: 0.3em;
}
.biblio-record details > summary::-webkit-details-marker {
    display: none;
}

/* for fulltext search result highlighting */
.search_highlights em {
    {# yellow #}
    {# background-color: #FFFFBB; #}
    font-style: normal;
    font-weight: bold;
}

.search_filters summary::marker {
    display: none;
}
.search_filters summary::-webkit-details-marker {
    display: none;
}

footer p a {
    color: rgba(255, 255, 255, 0.5);
}
footer p a:hover {
    color: rgba(255, 255, 255, 1.0);
    opacity: 1.0;
}

.ui.label.small {
    border-radius: 0;
}

a:hover .ui.card {
    opacity: 0.75;
}

.text-button {
    border: none;
    background-color: inherit;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    display: inline-block;
}

details.access-options summary {
    text-decoration: none;
    color: inherit;
}
details.access-options .menu {
    margin: 0.5em;
    margin-top: 1.5em;
    width: auto;
}
details.access-options .meta {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: underline;
}

details.serp-action-menu[open] > summary .ui.basic.button {
    box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset, 0 1px 4px 0 rgba(34,36,38,.15) inset;
    background: #f8f8f8!important;
}
details.serp-action-menu > summary {
    list-style: none;
}
details.serp-action-menu > summary::-webkit-details-marker {
    display: none;
}
details.serp-action-menu > .citation-menu {
    min-width: 50em;
    height: auto;
    position: absolute;
    display: block;
    background: #fff;
    box-shadow: 0 2px 3px 0 rgba(34,36,38,.15);
    border: 1px solid rgba(34,36,38,.15);
    z-index: 11;
    min-width: 30em;
    border-radius: .28571429rem;
    right: 50%;
    margin-top: -2em;
    margin-right: 1.5em;
    padding: 1em;
}
@media only screen and (max-width: 767px) {
    details.serp-action-menu > .citation-menu {
        overflow-x: scroll;
        width: calc(100vw - 3em);
        height: auto;
        min-width: 0;
        left: 0.5em;
        margin-top: 0em;
    }
}

.translate-dropdown {
  padding-top: 0!important;
  padding-bottom: 0!important;
}

.translate-icon {
  display: inline-block;
  vertical-align: middle;
  height: 1.5em;
  width: 1.5em;
  margin-right: 0.25em;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;utf8,<svg height="1792" viewBox="0 0 1792 1792" width="1792" xmlns="http://www.w3.org/2000/svg"><path d="M782 1078q-1 3-12.5-.5t-31.5-11.5l-20-9q-44-20-87-49-7-5-41-31.5t-38-28.5q-67 103-134 181-81 95-105 110-4 2-19.5 4t-18.5 0q6-4 82-92 21-24 85.5-115t78.5-118q17-30 51-98.5t36-77.5q-8-1-110 33-8 2-27.5 7.5t-34.5 9.5-17 5q-2 2-2 10.5t-1 9.5q-5 10-31 15-23 7-47 0-18-4-28-21-4-6-5-23 6-2 24.5-5t29.5-6q58-16 105-32 100-35 102-35 10-2 43-19.5t44-21.5q9-3 21.5-8t14.5-5.5 6 .5q2 12-1 33 0 2-12.5 27t-26.5 53.5-17 33.5q-25 50-77 131l64 28q12 6 74.5 32t67.5 28q4 1 10.5 25.5t4.5 30.5zm-205-486q3 15-4 28-12 23-50 38-30 12-60 12-26-3-49-26-14-15-18-41l1-3q3 3 19.5 5t26.5 0 58-16q36-12 55-14 17 0 21 17zm698 129l63 227-139-42zm-1108 800l694-232v-1032l-694 233v1031zm1241-317l102 31-181-657-100-31-216 536 102 31 45-110 211 65zm-503-962l573 184v-380zm311 1323l158 13-54 160-40-66q-130 83-276 108-58 12-91 12h-84q-79 0-199.5-39t-183.5-85q-8-7-8-16 0-8 5-13.5t13-5.5q4 0 18 7.5t30.5 16.5 20.5 11q73 37 159.5 61.5t157.5 24.5q95 0 167-14.5t157-50.5q15-7 30.5-15.5t34-19 28.5-16.5zm448-1079v1079l-774-246q-14 6-375 127.5t-368 121.5q-13 0-18-13 0-1-1-3v-1078q3-9 4-10 5-6 20-11 106-35 149-50v-384l558 198q2 0 160.5-55t316-108.5 161.5-53.5q20 0 20 21v418z" fill="white"/></svg>');
}