Skip to content

Commit 489b284

Browse files
committed
[DOI: 10.5281/zenodo.838768] Added version (2017.08) to all pages via CSS
1 parent b95b528 commit 489b284

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

assets/css/lesson.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,3 +318,25 @@ ol {
318318
span.fold-unfold {
319319
margin-left: 1em;
320320
opacity: 0.5; }
321+
322+
/* version added automatically */
323+
div.navbar-header:hover::before {
324+
content: "[DOI: 10.5281/zenodo.838768] ";
325+
}
326+
div.navbar-header::before {
327+
content: "Version 2017.08";
328+
font-size: 10px;
329+
font-family: monospace;
330+
font-weight: bold;
331+
line-height: 1;
332+
/* */
333+
position: fixed;
334+
right: 0;
335+
top: 0;
336+
z-index: 10;
337+
/* */
338+
color: white;
339+
background: rgb(43, 57, 144);
340+
padding: 3px;
341+
border: 1px solid white;
342+
}

0 commit comments

Comments
 (0)