| @@ -1,182 +1,182 @@ | ||
| 1 | -#preview { | |
| 2 | - position: relative; | |
| 3 | -} | |
| 4 | - | |
| 5 | -#preview .inner pre { | |
| 6 | - border: 2px solid #ccd0d4; | |
| 7 | - margin-bottom: 2em; | |
| 8 | -} | |
| 9 | - | |
| 10 | -/** <pre> tag */ | |
| 11 | -#preview pre { | |
| 12 | - padding: 1em 2em 1em 2em; | |
| 13 | - margin: 0; | |
| 14 | - position: relative; | |
| 15 | -} | |
| 16 | - | |
| 17 | -/** 'Copy' button and JS. */ | |
| 18 | -.copy-the-code-inside-wrap .copy-the-code-button { | |
| 19 | - position: absolute; | |
| 20 | - right: 0; | |
| 21 | - top: 0; | |
| 22 | -} | |
| 23 | - | |
| 24 | -.copy-the-code-inside .copy-the-code-button { | |
| 25 | - position: absolute; | |
| 26 | - right: 0; | |
| 27 | - top: 0; | |
| 28 | -} | |
| 29 | -.copy-the-code-wrap { | |
| 30 | - display: block; | |
| 31 | - position: relative; | |
| 32 | -} | |
| 33 | - | |
| 34 | -.copy-the-code-button { | |
| 35 | - background: #e1e3e8; | |
| 36 | - padding: 10px 20px; | |
| 37 | - cursor: pointer; | |
| 38 | - box-shadow: none; | |
| 39 | - color: #424242; | |
| 40 | - font-size: 14px; | |
| 41 | - font-weight: normal; | |
| 42 | - border-radius: 0; | |
| 43 | - text-transform: capitalize; | |
| 44 | - border: none; | |
| 45 | - outline: none; | |
| 46 | -} | |
| 47 | - | |
| 48 | -.copy-the-code-button:hover { | |
| 49 | - background: #d0d1d6; | |
| 50 | -} | |
| 51 | - | |
| 52 | -.copy-the-code-outside + * { | |
| 53 | - margin-top: 0; | |
| 54 | -} | |
| 55 | - | |
| 56 | -.copy-the-code-outside { | |
| 57 | - text-align: right; | |
| 58 | -} | |
| 59 | - | |
| 60 | -/** Styles */ | |
| 61 | -.copy-the-code-button[style="svg-icon"] { | |
| 62 | - background: transparent; | |
| 63 | - padding: 10; | |
| 64 | -} | |
| 65 | - | |
| 66 | -.copy-the-code-button[style="svg-icon"] svg { | |
| 67 | - height: auto; | |
| 68 | - width: 20px; | |
| 69 | - fill: #23282d; | |
| 70 | -} | |
| 71 | - | |
| 72 | -.copy-the-code-button[style="cover"] { | |
| 73 | - position: absolute; | |
| 74 | - left: 0; | |
| 75 | - right: 0; | |
| 76 | - top: 0; | |
| 77 | - bottom: 0; | |
| 78 | - width: 100%; | |
| 79 | - opacity: 0; | |
| 80 | - background: rgba(0, 0, 0, 0.5); | |
| 81 | - font-weight: bold; | |
| 82 | - color: #fff; | |
| 83 | - transition: all 0.3s ease-in-out; | |
| 84 | -} | |
| 85 | - | |
| 86 | -pre:hover .copy-the-code-button[style="cover"] { | |
| 87 | - opacity: 1; | |
| 88 | -} | |
| 89 | - | |
| 90 | -/** TOC */ | |
| 91 | -.table-of-contents ol { | |
| 92 | - margin: 0 0 0 15px; | |
| 93 | -} | |
| 94 | - | |
| 95 | -.table-of-contents li { | |
| 96 | - margin: 10px 0 10px 0; | |
| 97 | -} | |
| 98 | - | |
| 99 | -.table-of-contents ol ol { | |
| 100 | - list-style: disc; | |
| 101 | - margin: 10px; | |
| 102 | -} | |
| 103 | - | |
| 104 | -/** | |
| 105 | - * Pro Features | |
| 106 | - */ | |
| 107 | - #post-body-content { | |
| 108 | - float: none; | |
| 109 | - flex: 1; | |
| 110 | -} | |
| 111 | - | |
| 112 | -#post-body.columns-2 #postbox-container-1 { | |
| 113 | - float: none; | |
| 114 | - width: 365px; | |
| 115 | - margin: 0; | |
| 116 | -} | |
| 117 | - | |
| 118 | -#post-body { | |
| 119 | - display: flex; | |
| 120 | - justify-content: space-between; | |
| 121 | -} | |
| 122 | - | |
| 123 | -#poststuff #post-body.columns-2 { | |
| 124 | - margin: 0; | |
| 125 | -} | |
| 126 | - | |
| 127 | -#ctc-style-form { | |
| 128 | - margin-bottom: 50px; | |
| 129 | - position: relative; | |
| 130 | -} | |
| 131 | - | |
| 132 | -#ctc-style-form input[type="number"] { | |
| 133 | - width: 40px; | |
| 134 | - margin: 0 2px 0 0; | |
| 135 | - padding: 0; | |
| 136 | -} | |
| 137 | - | |
| 138 | -#ctc-style-form input.ctc-btn-font-size, | |
| 139 | -#ctc-style-form input.ctc-btn-line-height { | |
| 140 | - width: 120px; | |
| 141 | -} | |
| 142 | - | |
| 143 | -#ctc-style-form input[type="number"]:last-child { | |
| 144 | - margin: 0; | |
| 145 | -} | |
| 146 | - | |
| 147 | -.upgrade a { | |
| 148 | - background: #00c366; | |
| 149 | - color: white; | |
| 150 | - padding: 10px 30px; | |
| 151 | - display: block; | |
| 152 | - text-align: center; | |
| 153 | - font-weight: 600; | |
| 154 | - border-radius: 20px; | |
| 155 | - text-decoration: none; | |
| 156 | - box-shadow: 0px 0px 20px 11px rgb(0 0 0 / 10%); | |
| 157 | -} | |
| 158 | - | |
| 159 | -/** | |
| 160 | - * Is Free | |
| 161 | - */ | |
| 162 | -#ctc-style-form.is-free:before { | |
| 163 | - content: ''; | |
| 164 | - position: absolute; | |
| 165 | - left: 0; | |
| 166 | - right: 0; | |
| 167 | - bottom: 0; | |
| 168 | - top: 0; | |
| 169 | - background: rgba(0,0,0,.4); | |
| 170 | - z-index: 999; | |
| 171 | -} | |
| 172 | -.is-free .upgrade { | |
| 173 | - z-index: 9999; | |
| 174 | - position: absolute; | |
| 175 | - top: 50%; | |
| 176 | - left: 30%; | |
| 177 | - transform: translate(-20%, -50%); | |
| 178 | -} | |
| 179 | -.is-free .style-cover, | |
| 180 | -.is-free .style-svg-icon { | |
| 181 | - display: none; | |
| 182 | -} | |
| 1 | +#preview { | |
| 2 | + position: relative; | |
| 3 | +} | |
| 4 | + | |
| 5 | +#preview .inner pre { | |
| 6 | + border: 2px solid #ccd0d4; | |
| 7 | + margin-bottom: 2em; | |
| 8 | +} | |
| 9 | + | |
| 10 | +/** <pre> tag */ | |
| 11 | +#preview pre { | |
| 12 | + padding: 1em 2em 1em 2em; | |
| 13 | + margin: 0; | |
| 14 | + position: relative; | |
| 15 | +} | |
| 16 | + | |
| 17 | +/** 'Copy' button and JS. */ | |
| 18 | +.copy-the-code-inside-wrap .copy-the-code-button { | |
| 19 | + position: absolute; | |
| 20 | + right: 0; | |
| 21 | + top: 0; | |
| 22 | +} | |
| 23 | + | |
| 24 | +.copy-the-code-inside .copy-the-code-button { | |
| 25 | + position: absolute; | |
| 26 | + right: 0; | |
| 27 | + top: 0; | |
| 28 | +} | |
| 29 | +.copy-the-code-wrap { | |
| 30 | + display: block; | |
| 31 | + position: relative; | |
| 32 | +} | |
| 33 | + | |
| 34 | +.copy-the-code-button { | |
| 35 | + background: #e1e3e8; | |
| 36 | + padding: 10px 20px; | |
| 37 | + cursor: pointer; | |
| 38 | + box-shadow: none; | |
| 39 | + color: #424242; | |
| 40 | + font-size: 14px; | |
| 41 | + font-weight: normal; | |
| 42 | + border-radius: 0; | |
| 43 | + text-transform: capitalize; | |
| 44 | + border: none; | |
| 45 | + outline: none; | |
| 46 | +} | |
| 47 | + | |
| 48 | +.copy-the-code-button:hover { | |
| 49 | + background: #d0d1d6; | |
| 50 | +} | |
| 51 | + | |
| 52 | +.copy-the-code-outside + * { | |
| 53 | + margin-top: 0; | |
| 54 | +} | |
| 55 | + | |
| 56 | +.copy-the-code-outside { | |
| 57 | + text-align: right; | |
| 58 | +} | |
| 59 | + | |
| 60 | +/** Styles */ | |
| 61 | +.copy-the-code-button[style="svg-icon"] { | |
| 62 | + background: transparent; | |
| 63 | + padding: 10; | |
| 64 | +} | |
| 65 | + | |
| 66 | +.copy-the-code-button[style="svg-icon"] svg { | |
| 67 | + height: auto; | |
| 68 | + width: 20px; | |
| 69 | + fill: #23282d; | |
| 70 | +} | |
| 71 | + | |
| 72 | +.copy-the-code-button[style="cover"] { | |
| 73 | + position: absolute; | |
| 74 | + left: 0; | |
| 75 | + right: 0; | |
| 76 | + top: 0; | |
| 77 | + bottom: 0; | |
| 78 | + width: 100%; | |
| 79 | + opacity: 0; | |
| 80 | + background: rgba(0, 0, 0, 0.5); | |
| 81 | + font-weight: bold; | |
| 82 | + color: #fff; | |
| 83 | + transition: all 0.3s ease-in-out; | |
| 84 | +} | |
| 85 | + | |
| 86 | +pre:hover .copy-the-code-button[style="cover"] { | |
| 87 | + opacity: 1; | |
| 88 | +} | |
| 89 | + | |
| 90 | +/** TOC */ | |
| 91 | +.table-of-contents ol { | |
| 92 | + margin: 0 0 0 15px; | |
| 93 | +} | |
| 94 | + | |
| 95 | +.table-of-contents li { | |
| 96 | + margin: 10px 0 10px 0; | |
| 97 | +} | |
| 98 | + | |
| 99 | +.table-of-contents ol ol { | |
| 100 | + list-style: disc; | |
| 101 | + margin: 10px; | |
| 102 | +} | |
| 103 | + | |
| 104 | +/** | |
| 105 | + * Pro Features | |
| 106 | + */ | |
| 107 | + #post-body-content { | |
| 108 | + float: none; | |
| 109 | + flex: 1; | |
| 110 | +} | |
| 111 | + | |
| 112 | +#post-body.columns-2 #postbox-container-1 { | |
| 113 | + float: none; | |
| 114 | + width: 365px; | |
| 115 | + margin: 0; | |
| 116 | +} | |
| 117 | + | |
| 118 | +#post-body { | |
| 119 | + display: flex; | |
| 120 | + justify-content: space-between; | |
| 121 | +} | |
| 122 | + | |
| 123 | +#poststuff #post-body.columns-2 { | |
| 124 | + margin: 0; | |
| 125 | +} | |
| 126 | + | |
| 127 | +#ctc-style-form { | |
| 128 | + margin-bottom: 50px; | |
| 129 | + position: relative; | |
| 130 | +} | |
| 131 | + | |
| 132 | +#ctc-style-form input[type="number"] { | |
| 133 | + width: 40px; | |
| 134 | + margin: 0 2px 0 0; | |
| 135 | + padding: 0; | |
| 136 | +} | |
| 137 | + | |
| 138 | +#ctc-style-form input.ctc-btn-font-size, | |
| 139 | +#ctc-style-form input.ctc-btn-line-height { | |
| 140 | + width: 120px; | |
| 141 | +} | |
| 142 | + | |
| 143 | +#ctc-style-form input[type="number"]:last-child { | |
| 144 | + margin: 0; | |
| 145 | +} | |
| 146 | + | |
| 147 | +.upgrade a { | |
| 148 | + background: #00c366; | |
| 149 | + color: white; | |
| 150 | + padding: 10px 30px; | |
| 151 | + display: block; | |
| 152 | + text-align: center; | |
| 153 | + font-weight: 600; | |
| 154 | + border-radius: 20px; | |
| 155 | + text-decoration: none; | |
| 156 | + box-shadow: 0px 0px 20px 11px rgb(0 0 0 / 10%); | |
| 157 | +} | |
| 158 | + | |
| 159 | +/** | |
| 160 | + * Is Free | |
| 161 | + */ | |
| 162 | +#ctc-style-form.is-free:before { | |
| 163 | + content: ''; | |
| 164 | + position: absolute; | |
| 165 | + left: 0; | |
| 166 | + right: 0; | |
| 167 | + bottom: 0; | |
| 168 | + top: 0; | |
| 169 | + background: rgba(0,0,0,.4); | |
| 170 | + z-index: 999; | |
| 171 | +} | |
| 172 | +.is-free .upgrade { | |
| 173 | + z-index: 9999; | |
| 174 | + position: absolute; | |
| 175 | + top: 50%; | |
| 176 | + left: 30%; | |
| 177 | + transform: translate(-20%, -50%); | |
| 178 | +} | |
| 179 | +.is-free .style-cover, | |
| 180 | +.is-free .style-svg-icon { | |
| 181 | + display: none; | |
| 182 | +} | |