main.css (2998B)
1 body { 2 font: 16px/1.4 "proxima-nova", "Helvetica Neue", Arial, Helvetica, sans-serif; 3 } 4 5 .container { 6 margin: 0 auto; 7 margin: 0 auto; 8 width: 800px; 9 } 10 11 .header, .footer { 12 color: #fff; 13 background: #329894; 14 overflow: hidden; 15 } 16 17 .cta { 18 margin: 10px 0; 19 text-align: center; 20 } 21 22 .cta a { 23 border-radius: 3px; 24 display: inline-block; 25 font-weight: 600; 26 margin: 0 10px; 27 padding: 8px 24px; 28 text-decoration: none; 29 } 30 31 .header { 32 padding: 40px 0 0; 33 } 34 35 .logo { 36 color: #fff; 37 font-size: 45px; 38 margin: 0; 39 } 40 41 .tagline { 42 font-size: 28px; 43 font-weight: 300; 44 padding: 20px 0; 45 text-align: center; 46 } 47 48 .tagline em { 49 font-weight: 600; 50 } 51 52 .header .cta a { 53 border: 3px solid; 54 color: #fff; 55 } 56 57 .header .cta a:hover { 58 background: rgba(255, 255, 255, 0.1); 59 } 60 61 .demo { 62 box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); 63 font-size: 22px; 64 margin: 50px 0 0; 65 } 66 67 .demo, 68 .demo-left, 69 .demo-right { 70 height: 260px; 71 } 72 73 .demo-left, 74 .demo-right { 75 box-sizing: border-box; 76 float: left; 77 padding: 20px 30px; 78 width: 50%; 79 } 80 81 .demo-instructions { 82 line-height: 1.5; 83 margin-bottom: 10px; 84 opacity: 0.8; 85 } 86 87 .demo-left { 88 background: #444; 89 } 90 91 .demo-left textarea { 92 background: #000; 93 border: none; 94 box-sizing: border-box; 95 color: #fff; 96 font: 14px Menlo, monospace; 97 height: 160px; 98 padding: 10px; 99 resize: none; 100 width: 100%; 101 } 102 103 .demo-right { 104 background: #fff; 105 color: #444; 106 } 107 108 #demo-output { 109 font-size: 18px; 110 padding: 10px 0; 111 overflow: auto; 112 } 113 114 .main { 115 background: #fff2e7; 116 box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); 117 min-height: 400px; 118 position: relative; 119 padding: 30px 0; 120 } 121 122 .subtagline { 123 color: #329894; 124 font-size: 24px; 125 font-weight: 600; 126 padding: 20px 0; 127 text-align: center; 128 } 129 130 .features { 131 font-size: 20px; 132 margin: 0 auto; 133 width: 540px; 134 } 135 136 .features > li { 137 margin: 10px 0; 138 } 139 140 .main .examples { 141 margin: 40px 0; 142 } 143 144 .main .example { 145 font-size: 15px; 146 text-align: center; 147 margin: 30px 0; 148 } 149 150 .main .comparison-labels { 151 width: 100%; 152 height: 40px; 153 } 154 155 .main .comparison-labels .left, 156 .main .comparison-labels .right { 157 box-sizing: border-box; 158 width: 50%; 159 float: left; 160 height: 40px; 161 text-align: center; 162 font-size: 20px; 163 } 164 165 .main .comparison { 166 background-image: url(katex-comparison.gif); 167 background-position: 50% 50%; 168 background-size: cover; 169 box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); 170 height: 340px; 171 width: 100%; 172 } 173 174 .main .cta { 175 padding-top: 50px; 176 } 177 178 .main .cta a { 179 border: 3px solid; 180 color: #329894; 181 } 182 183 .main .cta a:hover { 184 background: rgba(50, 152, 148, 0.1); 185 } 186 187 .footer { 188 padding: 30px 0; 189 font-size: 21px; 190 } 191 192 .ka-logo { 193 float: right; 194 } 195 196 .ka-logo img { 197 border: none; 198 vertical-align: -1px; 199 } 200 201 .credits { 202 float: left; 203 font-size: 16px; 204 } 205 206 .credits a { 207 color: white; 208 } 209 210 .errorMessage { 211 color: red; 212 }