main.css (8288B)
1 .ctrls { 2 position: fixed; /* Set the navbar to fixed position */ 3 top: 0; /* Position the navbar at the top of the page */ 4 width: 100%; 5 height: 50px; /* Full width */ 6 background-color: #121525; 7 } 8 .ctrls ul { 9 list-style: none; 10 padding: 0; 11 margin: 0; 12 box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19); 13 z-index: 998; 14 } 15 16 .ctrls ul li { 17 display: block; 18 position: relative; 19 float: left; 20 } 21 22 /* This hides the dropdowns */ 23 24 .ctrls li ul { 25 display: none; 26 } 27 28 .ctrls ul li a { 29 display: block; 30 padding: 0.8em; 31 text-decoration: none; 32 white-space: nowrap; 33 color: #007aae; 34 overflow-y: auto; 35 } 36 37 .ctrls ul li a:hover { 38 color: #fff; 39 background: #007aae; 40 } 41 42 .ctrls ul { 43 list-style-type: none; 44 padding-right: 40px; 45 } 46 47 .pribtn2 { 48 margin: 0.5em; 49 padding: 0.375rem 0.75rem; 50 display: inline-block !important; 51 text-align: center; 52 white-space: nowrap; 53 vertical-align: middle; 54 text-decoration: none; 55 float: right; 56 color: #f2f2f2; 57 box-sizing: border-box; 58 border: 1px solid; 59 border-color: #f2f2f2; 60 border-radius: 0.25rem; 61 font-size: 1rem; 62 line-height: 1.5; 63 } 64 65 .pribtn2:hover { 66 background-color: #faf7fc; 67 color: #333; 68 } 69 70 .bgc1 { 71 background-color: #000000; 72 } 73 74 .bgc2 { 75 background-color: #1a1e23; 76 } 77 78 @font-face { 79 font-family: "roboto"; 80 src: url("../fonts/Roboto-Regular.eot"); 81 src: url("../fonts/Roboto-Regular.eot?#iefix") format("embedded-opentype"), 82 url("../fonts/Roboto-Regular.woff2") format("woff2"), 83 url("../fonts/Roboto-Regular.woff") format("woff"), 84 url("../fonts/Roboto-Regular.ttf") format("truetype"); 85 font-weight: normal; 86 font-style: normal; 87 } 88 89 html { 90 box-sizing: border-box; 91 height: 100%; 92 } 93 94 *, 95 *:before, 96 *:after { 97 box-sizing: inherit; 98 } 99 100 html, 101 body, 102 div, 103 span, 104 applet, 105 object, 106 iframe, 107 h1, 108 h2, 109 h3, 110 h4, 111 h5, 112 h6, 113 p, 114 blockquote, 115 pre, 116 a, 117 abbr, 118 acronym, 119 address, 120 big, 121 cite, 122 code, 123 del, 124 dfn, 125 em, 126 img, 127 ins, 128 kbd, 129 q, 130 s, 131 samp, 132 small, 133 strike, 134 strong, 135 sub, 136 sup, 137 tt, 138 var, 139 b, 140 u, 141 i, 142 center, 143 dl, 144 dt, 145 dd, 146 ol, 147 ul, 148 li, 149 fieldset, 150 form, 151 label, 152 legend, 153 table, 154 caption, 155 tbody, 156 tfoot, 157 thead, 158 tr, 159 th, 160 td, 161 article, 162 aside, 163 canvas, 164 details, 165 embed, 166 figure, 167 figcaption, 168 footer, 169 header, 170 hgroup, 171 menu, 172 nav, 173 output, 174 ruby, 175 section, 176 summary, 177 time, 178 mark, 179 audio, 180 video { 181 margin: 0; 182 padding: 0; 183 border: 0; 184 vertical-align: baseline; 185 } 186 187 article, 188 aside, 189 details, 190 figcaption, 191 figure, 192 footer, 193 header, 194 hgroup, 195 menu, 196 nav, 197 section { 198 display: block; 199 } 200 201 strong { 202 font-weight: bold; 203 } 204 205 body { 206 line-height: 1; 207 height: 100%; 208 } 209 210 ol, 211 ul { 212 list-style: none; 213 } 214 215 blockquote, 216 q { 217 quotes: none; 218 } 219 220 blockquote:before, 221 blockquote:after, 222 q:before, 223 q:after { 224 content: none; 225 } 226 227 table { 228 border-collapse: collapse; 229 border-spacing: 0; 230 } 231 232 *:focus { 233 outline: 0; 234 } 235 236 input, 237 select, 238 textarea { 239 border: 0; 240 } 241 242 html { 243 height: 100%; 244 } 245 246 body { 247 height: 100%; 248 line-height: 1; 249 background: #1a1e23; 250 font-family: roboto, helvetica, sans-serif, arial, verdana, tahoma; 251 font-size: 16px; 252 color: #000; 253 display: block; 254 } 255 256 a:link { 257 text-decoration: underline; 258 color: #9b59b6; 259 } 260 261 a:visited { 262 text-decoration: underline; 263 color: #9b59b6; 264 } 265 266 a:active { 267 text-decoration: underline; 268 color: #9b59b6; 269 } 270 271 a:hover { 272 text-decoration: underline; 273 color: #9b59b6; 274 } 275 276 h1, 277 h2, 278 h3, 279 h4 { 280 font-weight: normal; 281 font-family: roboto, helvetica, sans-serif, arial, verdana, tahoma; 282 font-size: 26px; 283 color: #9b59b6; 284 margin-bottom: 20px; 285 } 286 287 h1 { 288 font-size: 36px; 289 } 290 291 h2 { 292 font-size: 30px; 293 } 294 295 h3 { 296 font-size: 28px; 297 } 298 299 a.standardBtn, 300 div.standardBtn, 301 button.standardBtn { 302 font-family: roboto, helvetica, arial, tahoma, verdana; 303 color: #fff !important; 304 background: #9b59b6; 305 height: 35px; 306 line-height: 35px; 307 font-size: 12px; 308 text-align: center; 309 padding: 0 25px; 310 display: inline-block; 311 margin: 0 5px 5px 0; 312 outline: 0; 313 border: none; 314 cursor: pointer; 315 text-decoration: none; 316 border-radius: 3px; 317 text-transform: uppercase; 318 } 319 320 @media (max-width: 560px) { 321 button.standardBtn { 322 padding: 0 15px; 323 } 324 } 325 326 a.standardBtn.red, 327 div.standardBtn.red, 328 button.standardBtn.red { 329 background: #e74c3c !important; 330 } 331 332 a.standardBtn.blue, 333 div.standardBtn.blue, 334 button.standardBtn.blue { 335 background: #3498db; 336 } 337 338 a.standardBtn.lg, 339 div.standardBtn.lg, 340 button.standardBtn.lg { 341 height: 45px; 342 line-height: 45px; 343 font-size: 14px; 344 padding: 0 30px; 345 } 346 347 a.standardBtn.relative, 348 div.standardBtn.relative, 349 button.standardBtn.relative { 350 position: relative; 351 } 352 353 .captcha-img { 354 display: inline-block; 355 vertical-align: top; 356 width: 150px; 357 height: 50px; 358 font-size: 0; 359 } 360 361 .captcha-img img { 362 display: block; 363 } 364 365 .captcha-img ~ input[type="text"][name="captcha"] { 366 width: calc(100% - 150px); 367 display: inline-block; 368 vertical-align: top; 369 height: 50px; 370 line-height: 50px; 371 } 372 373 pre { 374 color: #333; 375 font-family: "Courier New", "Courier", Sans-Serif, helvetica, arial, tahoma, 376 verdana, serif !important; 377 font-size: 14px !important; 378 padding: 10px; 379 border: 1px solid #999; 380 max-width: 100%; 381 overflow-x: auto; 382 margin-top: 10px; 383 margin-bottom: 10px; 384 overflow-y: auto; 385 display: block; 386 word-wrap: break-word; 387 white-space: pre-wrap; 388 white-space: -moz-pre-wrap; 389 white-space: -o-pre-wrap; 390 } 391 392 textarea.pgp { 393 font-family: "Courier New", "Courier", Sans-Serif, helvetica, arial, tahoma, 394 verdana, serif !important; 395 font-size: 14px !important; 396 } 397 398 .trophy-grid { 399 display: block; 400 width: 100%; 401 font-size: 0; 402 } 403 404 .trophy-grid > .trophy { 405 width: 150px; 406 display: inline-block; 407 vertical-align: top; 408 text-align: center; 409 padding: 10px 15px; 410 } 411 412 .trophy-grid > .trophy > .icon { 413 display: block; 414 margin: 0 auto 10px auto; 415 background-color: #9b59b6; 416 width: 80px; 417 height: 80px; 418 background-size: 70% 70%; 419 background-position: center center; 420 background-repeat: no-repeat; 421 } 422 423 .trophy-grid > .trophy > .name { 424 font-size: 16px; 425 font-weight: bold; 426 color: #000; 427 } 428 429 select.tall { 430 height: 50px !important; 431 line-height: 50px !important; 432 } 433 434 select[name="cross_post_community"] { 435 display: block; 436 max-width: 100%; 437 width: 100%; 438 height: 40px; 439 padding: 0 10px; 440 line-height: 40px; 441 margin-bottom: 10px; 442 border: 1px solid #ccc; 443 } 444 445 select[name="cross_post_community"]:focus { 446 border: 1px solid #9b59b6; 447 } 448 449 .stat-blocks { 450 display: inline-block; 451 vertical-align: top; 452 width: 100%; 453 text-align: center; 454 font-size: 0; 455 } 456 457 .stat-blocks > div { 458 display: inline-block; 459 vertical-align: middle; 460 width: calc(100% / 3); 461 padding: 10px 20px; 462 } 463 464 .stat-blocks > div > div:first-child { 465 font-size: 42px; 466 margin-bottom: 5px; 467 } 468 469 .stat-blocks > div > div:last-child { 470 font-size: 18px; 471 } 472 473 .suggested_module { 474 text-align: center; 475 font-size: 0; 476 } 477 478 .suggested_module > .suggested { 479 display: inline-block; 480 vertical-align: top; 481 width: calc(100% / 3); 482 padding: 15px 10px; 483 text-align: left; 484 } 485 486 @media (max-width: 720px) { 487 .suggested_module > .suggested { 488 width: 50%; 489 } 490 491 .suggested_module > .suggested:nth-child(3) { 492 display: none; 493 } 494 } 495 496 @media (max-width: 500px) { 497 .suggested_module > .suggested { 498 width: 100%; 499 } 500 .suggested_module > .suggested:nth-child(2) { 501 display: none; 502 } 503 504 .suggested_module > .suggested:nth-child(3) { 505 display: none; 506 } 507 } 508 509 .suggested_module > .suggested > .details { 510 display: inline-block; 511 vertical-align: middle; 512 width: calc(100% - 70px); 513 font-size: 16px; 514 text-align: left; 515 } 516 517 .suggested_module > .suggested > .details > .subname { 518 font-size: 16px; 519 text-decoration: none; 520 color: #000; 521 font-weight: bold; 522 white-space: nowrap; 523 overflow: hidden; 524 text-overflow: ellipsis; 525 width: 100%; 526 display: block; 527 } 528 529 .suggested_module > .suggested > .details > .subscribers { 530 margin: 5px 0; 531 font-size: 14px; 532 color: #999; 533 }