Skip to content

Commit 3c0a2d9

Browse files
committed
[DOI: 10.5281/zenodo.278222] Added version (2017.02) to all pages via CSS
1 parent 0a0352b commit 3c0a2d9

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
@@ -298,3 +298,25 @@ ol {
298298
span.fold-unfold {
299299
margin-left: 1em;
300300
opacity: 0.5; }
301+
302+
/* version added automatically */
303+
div.navbar-header:hover::before {
304+
content: "[DOI: 10.5281/zenodo.278222] ";
305+
}
306+
div.navbar-header::before {
307+
content: "Version 2017.02";
308+
font-size: 10px;
309+
font-family: monospace;
310+
font-weight: bold;
311+
line-height: 1;
312+
/* */
313+
position: fixed;
314+
right: 0;
315+
top: 0;
316+
z-index: 10;
317+
/* */
318+
color: white;
319+
background: rgb(43, 57, 144);
320+
padding: 3px;
321+
border: 1px solid white;
322+
}

0 commit comments

Comments
 (0)