Skip to content

Commit 597d8bc

Browse files
committed
Adding styling for details?
1 parent 0ec036c commit 597d8bc

File tree

2 files changed

+120
-2
lines changed

2 files changed

+120
-2
lines changed

_includes/bibere/paper.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
{%- endif -%}
7575
{%- endfor -%}
7676
{%- endif -%}
77-
<a class="collapse-clicker" onclick="$('#{{ clean_id }}_bibtex').slideToggle(200)">BibTex</a> ]
77+
<a class="collapse-clicker" onclick="$('#{{ clean_id }}_bibtex').slideToggle(200)">&nbsp;BibTex</a> ]
7878
<div class="collapse" id="{{ clean_id }}_bibtex">
7979
<div class="panel panel-info">
8080
<pre class="panel-body details-panel">

css/group.scss

Lines changed: 119 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,122 @@ details {
185185
user-select: none;
186186
-webkit-user-select: none;
187187
touch-action: manipulation;
188-
}
188+
}
189+
190+
191+
$primary: #0064a4;
192+
$link: #666666;
193+
$link-hover: #999999;
194+
195+
$white: #ffffff;
196+
$black: #000000;
197+
198+
.yearGroup {
199+
font-size: 20px;
200+
}
201+
202+
.papers {
203+
padding-left: 5px;
204+
margin: 5px;
205+
}
206+
207+
// .papers li {
208+
// margin: 10px;
209+
// padding-left: 0px;
210+
// }
211+
212+
.mainAuthor {
213+
color:$primary;
214+
font-weight: normal;
215+
}
216+
217+
.mainAuthor a {
218+
color:$primary;
219+
font-weight: bold;
220+
}
221+
222+
.title {
223+
font-weight: bold;
224+
display: block;
225+
}
226+
227+
.venue {
228+
font-style: italic;
229+
}
230+
231+
.emphasisNote {
232+
font-weight: bold;
233+
color: $primary;
234+
}
235+
236+
.note {
237+
font-style: italic;
238+
color: $primary;
239+
}
240+
241+
.abstract {
242+
display: none;
243+
margin-block-start: 1em;
244+
margin-block-end: 1em;
245+
}
246+
247+
.tag {
248+
margin-left: 10px;
249+
padding: 3px;
250+
}
251+
252+
.collapse {
253+
display: none;
254+
}
255+
256+
.details-panel {
257+
margin: 2px;
258+
padding: 2px;
259+
font-size: 12px;
260+
}
261+
262+
.tag_Conference {
263+
background-color: $primary;
264+
color: $white;
265+
}
266+
267+
.tag_Journal {
268+
background-color: $primary;
269+
color: $white;
270+
}
271+
272+
.tag_Workshop {
273+
background-color: $link;
274+
color: $white;
275+
}
276+
277+
.tag_Chapter {
278+
background-color: $link-hover;
279+
color: $black;
280+
}
281+
282+
.tag_Demo {
283+
background-color: $link-hover;
284+
color: $black;
285+
}
286+
287+
288+
/* .link a {
289+
display: inline-block;
290+
} */
291+
292+
293+
/* .details-panel-body {
294+
margin: 0px;
295+
border: 0px;
296+
padding: 10px;
297+
font-size: 12px;
298+
}
299+
300+
.details-panel-body:before {
301+
content: "";
302+
}
303+
304+
.details-panel-body:after {
305+
content: "";
306+
} */

0 commit comments

Comments
 (0)