|
1 | 1 | /* --- Import -------------------------------------------------------------- */
|
2 |
| -@import "sidebar.css"; |
3 |
| -@import "code.css"; |
| 2 | +/*@import "sidebar.css";*/ |
| 3 | +/*@import "code.css";*/ |
4 | 4 |
|
5 | 5 |
|
6 | 6 | /* --- Structure ----------------------------------------------------------- */
|
|
9 | 9 | background-color: #f9f9f9;
|
10 | 10 | font-size: 18px;
|
11 | 11 | font-family: "Georgia", serif; //'Source Sans Pro', sans-serif;
|
12 |
| - font-weight: 400; |
| 12 | + font-weight: 40>0; |
13 | 13 | line-height: 1.35em;
|
14 | 14 | margin: 0;
|
15 | 15 | padding: 0;
|
@@ -40,6 +40,108 @@ body {
|
40 | 40 | }
|
41 | 41 |
|
42 | 42 |
|
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +.sidebar-title { |
| 56 | + margin: 0; |
| 57 | + padding: 0; |
| 58 | + padding: 1em 1em; |
| 59 | +} |
| 60 | + |
| 61 | +.sidebar-title a, |
| 62 | +.sidebar-title a:visited { |
| 63 | + color: #000; |
| 64 | + font-variant: small-caps; |
| 65 | + font-weight: 700; |
| 66 | +} |
| 67 | + |
| 68 | +.sidebar-title a:hover { |
| 69 | + text-decoration: none; |
| 70 | + border: 0; |
| 71 | +} |
| 72 | + |
| 73 | +.sidebar .small, |
| 74 | +.sidebar .subtitle { |
| 75 | + display: block; |
| 76 | + font-size: 75%; |
| 77 | + margin-top: -0.5em; |
| 78 | +} |
| 79 | + |
| 80 | +.sidebar .subtitle { |
| 81 | + font-variant: small-caps; |
| 82 | + font-weight: 500; |
| 83 | +} |
| 84 | + |
| 85 | + |
| 86 | +.sidebar ul { |
| 87 | + margin: 0; |
| 88 | + padding: 0; |
| 89 | +} |
| 90 | + |
| 91 | +.sidebar li ul { |
| 92 | + margin-bottom: 0.5em; |
| 93 | +} |
| 94 | + |
| 95 | +.sidebar li { |
| 96 | + font-weight: 500; |
| 97 | + margin: 0; |
| 98 | + padding: 0; |
| 99 | + list-style-type: none; |
| 100 | +} |
| 101 | + |
| 102 | +.sidebar li li { |
| 103 | + line-height: 1.25em; |
| 104 | + margin: 0; |
| 105 | + font-size: 90%; |
| 106 | + font-weight: 300; |
| 107 | + margin-top: 0; |
| 108 | + margin-bottom: 0; |
| 109 | +} |
| 110 | + |
| 111 | +.sidebar li p { |
| 112 | + margin: 0; |
| 113 | + padding: 0; |
| 114 | +} |
| 115 | +.sidebar li a { |
| 116 | + color: #000; |
| 117 | + padding-left: 20px; |
| 118 | + display: block; |
| 119 | + text-decoration: none; |
| 120 | + padding-bottom: .25em; |
| 121 | + padding-top: .25em; |
| 122 | + padding-left: 1em; |
| 123 | +} |
| 124 | + |
| 125 | +.sidebar li li a { |
| 126 | + padding-left: 20px; |
| 127 | + display: block; |
| 128 | + text-decoration: none; |
| 129 | + padding-bottom: 0em; |
| 130 | + padding-top: 0em; |
| 131 | + padding-left: 2em; |
| 132 | +} |
| 133 | + |
| 134 | +.sidebar li a:hover, |
| 135 | +.sidebar li a:active, |
| 136 | +.sidebar li a:focus, |
| 137 | +.sidebar li a:target { |
| 138 | + display: block; |
| 139 | + border: 0; |
| 140 | + text-decoration: none; |
| 141 | + background-color: #f9f9f9; |
| 142 | +} |
| 143 | + |
| 144 | + |
43 | 145 | /* --- Title --------------------------------------------------------------- */
|
44 | 146 | h1.title::before {
|
45 | 147 | content: none;
|
@@ -488,3 +590,123 @@ img {
|
488 | 590 | .figure .legend p {
|
489 | 591 | margin: 0;
|
490 | 592 | }
|
| 593 | + |
| 594 | + |
| 595 | + |
| 596 | + |
| 597 | + |
| 598 | +/* --- Math ---------------------------------------------------------------- */ |
| 599 | +span.formula, |
| 600 | +div.formula { |
| 601 | + color: #955; |
| 602 | + font-family: 'Source Sans Pro', sans-serif; |
| 603 | + font-weight: 300; |
| 604 | +} |
| 605 | + |
| 606 | +/* --- Code ---------------------------------------------------------------- */ |
| 607 | +.proto { |
| 608 | + display: inline-block; |
| 609 | + background-color: #f5f5ff; |
| 610 | + font-size: 90%; |
| 611 | + font-weight: normal; |
| 612 | + font-family: 'Source Code Pro'; |
| 613 | + padding: 0px 8px; |
| 614 | + margin-top: 2px; |
| 615 | + border-radius: 3px; |
| 616 | + border: 1px solid #c0c0ff; |
| 617 | +} |
| 618 | + |
| 619 | +code { |
| 620 | + font-size: 90%; |
| 621 | + font-weight: 500; |
| 622 | + font-family: 'Source Code Pro'; |
| 623 | +} |
| 624 | + |
| 625 | +pre.code { |
| 626 | + display: block; |
| 627 | + font-size: 90%; |
| 628 | + font-family: 'Source Code Pro', monospace; |
| 629 | + font-weight: 400; |
| 630 | + line-height: 125%; |
| 631 | + padding-left: 2.0em; |
| 632 | + padding-top: 0.5em; |
| 633 | + padding-bottom: 0.5em; |
| 634 | + overflow-x: auto; |
| 635 | +} |
| 636 | +pre.code { |
| 637 | + background: #fcfcfc; |
| 638 | + border-top: .5px solid #ccc; |
| 639 | + border-bottom: .5px solid #ccc; |
| 640 | + |
| 641 | + line-height: 1.35em; |
| 642 | + font-size: 75%; |
| 643 | + border-radius: 5.0px; |
| 644 | + border: 0.5px solid #ccc; |
| 645 | +} |
| 646 | + |
| 647 | + |
| 648 | +pre.neutral { |
| 649 | + background: none; |
| 650 | + border: none; |
| 651 | +} |
| 652 | + |
| 653 | +pre.output:before { |
| 654 | + display: block; |
| 655 | + color: #ccc; |
| 656 | + font-weight: bold; |
| 657 | + content: "OUTPUT"; |
| 658 | + float: right; |
| 659 | + margin-right: 1em; |
| 660 | +} |
| 661 | +pre.output { |
| 662 | + background-color: #f9f9f9; |
| 663 | +} |
| 664 | + |
| 665 | + |
| 666 | +pre.math:before { |
| 667 | + display: block; |
| 668 | + color: #ccc; |
| 669 | + font-weight: bold; |
| 670 | + content: "MATH"; |
| 671 | + float: right; |
| 672 | + margin-right: 1em; |
| 673 | +} |
| 674 | +pre.math { |
| 675 | + background-color: #f9f9f9; |
| 676 | +} |
| 677 | + |
| 678 | + |
| 679 | +pre.glsl:before { |
| 680 | + display: block; |
| 681 | + color: #ccf; |
| 682 | + font-weight: bold; |
| 683 | + content: "GLSL"; |
| 684 | + float: right; |
| 685 | + margin-right: 1em; |
| 686 | +} |
| 687 | +pre.glsl { |
| 688 | + background-color: #f9f9ff; |
| 689 | +} |
| 690 | + |
| 691 | +pre.python:before { |
| 692 | + display: block; |
| 693 | + color: #dd9; |
| 694 | + font-weight: bold; |
| 695 | + content: "PYTHON"; |
| 696 | + float: right; |
| 697 | + margin-right: 1em; |
| 698 | +} |
| 699 | +pre.python { |
| 700 | + background-color: #fffff9; |
| 701 | +} |
| 702 | + |
| 703 | + |
| 704 | + |
| 705 | +.function, .class { |
| 706 | + font-weight: 400; |
| 707 | +} |
| 708 | +.comment, .string { |
| 709 | + color: #459; |
| 710 | +} |
| 711 | + |
| 712 | + |
0 commit comments