domain-jekyll 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/_includes/TwitterEmbed.html +5 -0
- data/_includes/YoutubeEmbed.html +4 -0
- data/_sass/domain/_author.scss +2 -2
- data/_sass/domain/_backtotop.scss +4 -4
- data/_sass/domain/_codecopy.scss +35 -35
- data/_sass/domain/_content.scss +0 -1
- data/_sass/domain/_contextmenu.scss +84 -84
- data/_sass/domain/_embed.scss +20 -0
- data/_sass/domain/_highlight.scss +25 -27
- data/_sass/domain/_media.scss +13 -8
- data/_sass/domain/_normalize.scss +217 -260
- data/_sass/domain/_pagination.scss +17 -15
- data/_sass/domain/_search.scss +0 -2
- data/_sass/domain/_sidenote.scss +1 -1
- data/_sass/domain/_tag.scss +4 -2
- data/_sass/domain/_toc.scss +24 -24
- data/_sass/domain/_tooltip.scss +114 -115
- data/_sass/domain/_util.scss +262 -267
- data/_sass/domain/skin/_dark.scss +22 -28
- data/_sass/domain/skin/_light.scss +2 -9
- data/_sass/domain.scss +1 -0
- data/assets/.DS_Store +0 -0
- metadata +5 -2
    
        data/_sass/domain/_toc.scss
    CHANGED
    
    | @@ -1,32 +1,32 @@ | |
| 1 1 | 
             
            /* ==========================================================================
         | 
| 2 2 | 
             
               Table of Contents
         | 
| 3 3 | 
             
               ========================================================================== */
         | 
| 4 | 
            -
             | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 4 | 
            +
            #markdown-toc::before {
         | 
| 5 | 
            +
              content: "Table of Contents";
         | 
| 6 | 
            +
              font-weight: bold;
         | 
| 7 | 
            +
              text-align: center;
         | 
| 8 | 
            +
            }
         | 
| 9 9 |  | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 10 | 
            +
            #markdown-toc li {
         | 
| 11 | 
            +
              margin-left: 1rem;
         | 
| 12 | 
            +
              list-style: decimal;
         | 
| 13 | 
            +
            }
         | 
| 14 14 |  | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 15 | 
            +
            #markdown-toc li * {
         | 
| 16 | 
            +
              padding-left: 3px;
         | 
| 17 | 
            +
            }
         | 
| 18 18 |  | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 19 | 
            +
            #markdown-toc {
         | 
| 20 | 
            +
              border: 1px solid #aaa;
         | 
| 21 | 
            +
              padding: 1.5em;
         | 
| 22 | 
            +
              list-style: decimal;
         | 
| 23 | 
            +
              display: inline-block;
         | 
| 24 | 
            +
            }
         | 
| 25 25 |  | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 26 | 
            +
            #markdown-toc a {
         | 
| 27 | 
            +
              text-decoration: none;
         | 
| 28 | 
            +
            }
         | 
| 29 29 |  | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 30 | 
            +
            #markdown-toc a:hover {
         | 
| 31 | 
            +
              text-decoration: underline;
         | 
| 32 | 
            +
            }
         | 
    
        data/_sass/domain/_tooltip.scss
    CHANGED
    
    | @@ -1,118 +1,117 @@ | |
| 1 1 | 
             
            /* ==========================================================================
         | 
| 2 2 | 
             
               Tooltip
         | 
| 3 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 | 
            -
               }
         | 
| 4 | 
            +
            .tooltip {
         | 
| 5 | 
            +
              display: inline;
         | 
| 6 | 
            +
              position: relative;
         | 
| 7 | 
            +
              text-align: left;
         | 
| 8 | 
            +
            }
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            .tooltip bottom {
         | 
| 11 | 
            +
              display: none;
         | 
| 12 | 
            +
            }
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            .tooltip .right {
         | 
| 15 | 
            +
              min-width: 300px;
         | 
| 16 | 
            +
              top: 50%;
         | 
| 17 | 
            +
              left: 100%;
         | 
| 18 | 
            +
              margin-left: 20px;
         | 
| 19 | 
            +
              transform: translate(0, -50%);
         | 
| 20 | 
            +
              padding: 10px 20px;
         | 
| 21 | 
            +
              color: $primary-text-color;
         | 
| 22 | 
            +
              background-color: $primary-bg-color;
         | 
| 23 | 
            +
              font-weight: normal;
         | 
| 24 | 
            +
              font-size: 13px;
         | 
| 25 | 
            +
              border-radius: 8px;
         | 
| 26 | 
            +
              position: absolute;
         | 
| 27 | 
            +
              z-index: 99999999;
         | 
| 28 | 
            +
              box-sizing: border-box;
         | 
| 29 | 
            +
              box-shadow: 0 1px 8px $primary-box-shadow-color;
         | 
| 30 | 
            +
              display: none;
         | 
| 31 | 
            +
            }
         | 
| 32 | 
            +
             | 
| 33 | 
            +
            .tooltip:hover .right {
         | 
| 34 | 
            +
              display: block;
         | 
| 35 | 
            +
            }
         | 
| 36 | 
            +
             | 
| 37 | 
            +
            .tooltip .right i {
         | 
| 38 | 
            +
              position: absolute;
         | 
| 39 | 
            +
              top: 50%;
         | 
| 40 | 
            +
              right: 100%;
         | 
| 41 | 
            +
              margin-top: -12px;
         | 
| 42 | 
            +
              width: 12px;
         | 
| 43 | 
            +
              height: 24px;
         | 
| 44 | 
            +
              overflow: hidden;
         | 
| 45 | 
            +
            }
         | 
| 46 | 
            +
             | 
| 47 | 
            +
            .tooltip .right i::after {
         | 
| 48 | 
            +
              content: '';
         | 
| 49 | 
            +
              position: absolute;
         | 
| 50 | 
            +
              width: 12px;
         | 
| 51 | 
            +
              height: 12px;
         | 
| 52 | 
            +
              left: 0;
         | 
| 53 | 
            +
              top: 50%;
         | 
| 54 | 
            +
              transform: translate(50%,-50%) rotate(-45deg);
         | 
| 55 | 
            +
              background-color: $primary-bg-color;
         | 
| 56 | 
            +
              box-shadow: 0 1px 8px $primary-box-shadow-color;
         | 
| 57 | 
            +
            }
         | 
| 58 | 
            +
             | 
| 59 | 
            +
            .right .tooltip-title {
         | 
| 60 | 
            +
              font-size: 14px;
         | 
| 61 | 
            +
              font-weight: 600;
         | 
| 62 | 
            +
              display: inline-block;
         | 
| 63 | 
            +
            }
         | 
| 64 | 
            +
             | 
| 65 | 
            +
            .right .tooltip-excerpt {
         | 
| 66 | 
            +
              font-size: 12px;
         | 
| 67 | 
            +
              display: inline-block;
         | 
| 68 | 
            +
            }
         | 
| 69 | 
            +
             | 
| 70 | 
            +
            .right .tooltip-excerpt a {
         | 
| 71 | 
            +
              font-size: 12px;
         | 
| 72 | 
            +
            }
         | 
| 73 | 
            +
             | 
| 74 | 
            +
            input.margin-toggle {
         | 
| 75 | 
            +
              display: none;
         | 
| 76 | 
            +
            }
         | 
| 77 | 
            +
             | 
| 78 | 
            +
            .srs-svg {
         | 
| 79 | 
            +
              stroke: $primary-text-color;
         | 
| 80 | 
            +
            }
         | 
| 81 | 
            +
             | 
| 82 | 
            +
            label.sidenote-number {
         | 
| 83 | 
            +
              display: inline;
         | 
| 84 | 
            +
            }
         | 
| 85 | 
            +
             | 
| 86 | 
            +
            label.margin-toggle:not(.sidenote-number) {
         | 
| 87 | 
            +
              display: none;
         | 
| 88 | 
            +
            }
         | 
| 89 | 
            +
             | 
| 90 | 
            +
            .spaced-rep {
         | 
| 91 | 
            +
              display: none;
         | 
| 92 | 
            +
            }
         | 
| 93 | 
            +
             | 
| 94 | 
            +
            input.srs-toggle {
         | 
| 95 | 
            +
              display: none;
         | 
| 96 | 
            +
            }
         | 
| 97 | 
            +
             | 
| 98 | 
            +
            label.srs-toggle {
         | 
| 99 | 
            +
              display: inline;
         | 
| 100 | 
            +
              cursor: pointer;
         | 
| 101 | 
            +
            }
         | 
| 102 | 
            +
             | 
| 103 | 
            +
            .srs-toggle:checked + .spaced-rep {
         | 
| 104 | 
            +
              display: block !important;
         | 
| 105 | 
            +
              left: 1rem;
         | 
| 106 | 
            +
              clear: both;
         | 
| 107 | 
            +
              margin: 1rem 2.5%;
         | 
| 108 | 
            +
              vertical-align: baseline;
         | 
| 109 | 
            +
              position: relative;
         | 
| 110 | 
            +
              padding: 12px;
         | 
| 111 | 
            +
              width: 240px;
         | 
| 112 | 
            +
              background-color: $primary-bg-color;
         | 
| 113 | 
            +
              border: solid 1px $ternary-border-color;
         | 
| 114 | 
            +
              border-radius: 5px;
         | 
| 115 | 
            +
              box-shadow: 1px 1px 15px $secondary-box-shadow-color;
         | 
| 116 | 
            +
              word-wrap: break-word;
         | 
| 117 | 
            +
            }
         |