├── .gitignore ├── Backend ├── api │ ├── controllers │ │ ├── codeInvicta.controller.js │ │ └── registration.controller.js │ ├── middlewares │ │ └── recaptcha.js │ ├── models │ │ ├── codeInvicta.js │ │ └── registration.js │ └── routes │ │ ├── codeInvicta.routes.js │ │ └── registration.routes.js └── utils │ └── logResponses.js ├── Frontend ├── css │ ├── index.css │ └── spacing.css ├── img │ ├── about.svg │ ├── bg.png │ ├── bottom-splash.png │ ├── coding.png │ ├── community.svg │ ├── dcoder.png │ ├── devsoc21-new.png │ ├── favicon.svg │ ├── laptop-blogging.png │ ├── main-bg.png │ ├── medium.png │ ├── techchronicle.svg │ └── writefull_logo.svg └── js │ └── index.js ├── LICENSE ├── README.md ├── app.js ├── index.html ├── package-lock.json ├── package.json └── sitemap.xml /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | node_modules 3 | .vscode -------------------------------------------------------------------------------- /Backend/api/controllers/codeInvicta.controller.js: -------------------------------------------------------------------------------- 1 | const mongoose = require("mongoose"); 2 | 3 | const CodeInvicta = require("../models/codeInvicta"); 4 | 5 | exports.add = async (req, res) => { 6 | const { name, email, registration_number, mobile_number, campus } = req.body; 7 | if ( 8 | !email || 9 | !registration_number || 10 | !email || 11 | !mobile_number || 12 | !campus 13 | ) { 14 | res.status(400).json({ 15 | success: false, 16 | message: "Please provide all the required fields", 17 | }); 18 | } else { 19 | try { 20 | const registered = await CodeInvicta.findOne({ 21 | email 22 | }) 23 | if(registered){ 24 | res.status(403).json({ 25 | success: false, 26 | message: "Already registered!" 27 | }) 28 | } 29 | let codeInvicta = new CodeInvicta({ 30 | _id: new mongoose.Types.ObjectId(), 31 | email, 32 | name, 33 | registration_number, 34 | mobile_number, 35 | campus, 36 | }); 37 | let result = await codeInvicta.save(); 38 | res.status(201).json({ 39 | success: true, 40 | message: "Successfully registered", 41 | result, 42 | }); 43 | } catch (err) { 44 | res.status(500).json({ 45 | success: false, 46 | message: "Server Error", 47 | err: err.toString(), 48 | }); 49 | } 50 | } 51 | }; 52 | 53 | exports.getAll = async (req, res) => { 54 | let arr = [] 55 | const codeInvicta = await CodeInvicta.find({}); 56 | if (codeInvicta) { 57 | for(let obj of codeInvicta){ 58 | let flag = 0 59 | for(let itme of arr ){ 60 | if(itme.email == obj.email) 61 | flag =1 62 | } 63 | if(flag == 0){ 64 | arr.push(obj) 65 | } 66 | } 67 | res.status(200).json({ 68 | success: true, 69 | count: arr.length, 70 | arr, 71 | }) 72 | } else { 73 | res.status(404).json({ 74 | success: false, 75 | message: "No registrations found", 76 | }); 77 | } 78 | }; 79 | -------------------------------------------------------------------------------- /Backend/api/controllers/registration.controller.js: -------------------------------------------------------------------------------- 1 | const mongoose = require("mongoose"); 2 | 3 | const Registration = require("../models/registration"); 4 | 5 | exports.add = async (req, res) => { 6 | const { name, email, registration_number, mobile_number, data_link } = req.body; 7 | if ( 8 | !email || 9 | !registration_number || 10 | !email || 11 | !mobile_number || 12 | !data_link 13 | ) { 14 | res.status(400).json({ 15 | success: false, 16 | message: "Please provide all the required fields", 17 | }); 18 | } else { 19 | try { 20 | let registration = new Registration({ 21 | _id: new mongoose.Types.ObjectId(), 22 | email, 23 | name, 24 | registration_number, 25 | mobile_number, 26 | data_link, 27 | }); 28 | let result = await registration.save(); 29 | res.status(201).json({ 30 | success: true, 31 | message: "Successfully registered", 32 | }); 33 | } catch (err) { 34 | res.status(500).json({ 35 | success: false, 36 | message: "Server Error", 37 | err: err.toString(), 38 | }); 39 | } 40 | } 41 | }; 42 | 43 | exports.getAll = async (req, res) => { 44 | const registrations = await Registration.find({}); 45 | if (registrations) { 46 | res.status(200).json({ 47 | success: true, 48 | registrations, 49 | }); 50 | } else { 51 | res.status(404).json({ 52 | success: false, 53 | message: "No registrations found", 54 | }); 55 | } 56 | }; 57 | -------------------------------------------------------------------------------- /Backend/api/middlewares/recaptcha.js: -------------------------------------------------------------------------------- 1 | const request = require("request"); 2 | const recaptchaVerification = async (req, res, next) => { 3 | if(!req.body.captcha){ 4 | return res.status(401).json({ 5 | success: false, 6 | message: "captcha not present", 7 | }); 8 | } 9 | const verifyURL = `https://www.google.com/recaptcha/api/siteverify?secret=${process.env.RECAPTCHA_SECRET}&response=${req.body.captcha}`; 10 | request(verifyURL, (err, response, body) => { 11 | body = JSON.parse(body); 12 | console.log(err); 13 | console.log(body); 14 | try { 15 | if (!body.success || body.score < 0.4) { 16 | flag = 1; 17 | return res.status(401).json({ 18 | success: false, 19 | message: "Something went wrong", 20 | }); 21 | } 22 | if (err) { 23 | return res.status(401).json({ 24 | success: false, 25 | message: err.toString(), 26 | }); 27 | } 28 | next() 29 | } catch (err) { 30 | return res.status(500).json({ 31 | success: false, 32 | error: err, 33 | }); 34 | } 35 | }); 36 | }; 37 | 38 | module.exports = recaptchaVerification; 39 | -------------------------------------------------------------------------------- /Backend/api/models/codeInvicta.js: -------------------------------------------------------------------------------- 1 | const mongoose = require("mongoose"); 2 | 3 | const CodeInvictaSchema = mongoose.Schema({ 4 | _id: mongoose.Schema.Types.ObjectId, 5 | name: { type: String }, 6 | email: { 7 | type: String, 8 | lowercase: true, 9 | match: /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/, 10 | }, 11 | mobile_number: { 12 | type: Number, 13 | match: /^([7-9][0-9]{9})$/g, 14 | }, 15 | registration_number: { type: String }, 16 | campus: { type: String }, 17 | }); 18 | 19 | module.exports = mongoose.model("Code_Invicta", CodeInvictaSchema); 20 | -------------------------------------------------------------------------------- /Backend/api/models/registration.js: -------------------------------------------------------------------------------- 1 | const mongoose = require("mongoose"); 2 | 3 | const registrationSchema = mongoose.Schema({ 4 | _id: mongoose.Schema.Types.ObjectId, 5 | name: { type: String }, 6 | email: { 7 | type: String, 8 | lowercase: true, 9 | match: /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/, 10 | }, 11 | mobile_number: { 12 | type: Number, 13 | match: /^([7-9][0-9]{9})$/g, 14 | }, 15 | registration_number: { type: String }, 16 | data_link: { type: String }, 17 | }); 18 | 19 | module.exports = mongoose.model("Registration", registrationSchema); 20 | -------------------------------------------------------------------------------- /Backend/api/routes/codeInvicta.routes.js: -------------------------------------------------------------------------------- 1 | const express = require("express"); 2 | 3 | const recaptchaVerification = require('../middlewares/recaptcha.js') 4 | 5 | const codeInvitaController = require("../controllers/codeInvicta.controller"); 6 | 7 | const router = express.Router(); 8 | 9 | // Register a user 10 | router.post("/addUser",recaptchaVerification, codeInvitaController.add); 11 | 12 | // Get all registered users 13 | router.get('/all', codeInvitaController.getAll); 14 | 15 | module.exports = router; 16 | -------------------------------------------------------------------------------- /Backend/api/routes/registration.routes.js: -------------------------------------------------------------------------------- 1 | const express = require("express"); 2 | 3 | const recaptchaVerification = require('../middlewares/recaptcha.js') 4 | 5 | const registrationController = require("../controllers/registration.controller"); 6 | 7 | const router = express.Router(); 8 | 9 | // Register a user 10 | router.post("/addUser", recaptchaVerification ,registrationController.add); 11 | 12 | // Get all registered users 13 | router.get('/all', registrationController.getAll); 14 | 15 | module.exports = router; 16 | -------------------------------------------------------------------------------- /Backend/utils/logResponses.js: -------------------------------------------------------------------------------- 1 | module.exports = (req, res, next) => { 2 | var oldWrite = res.write, 3 | oldEnd = res.end; 4 | 5 | var chunks = []; 6 | 7 | res.write = function (chunk) { 8 | chunks.push(chunk); 9 | 10 | return oldWrite.apply(res, arguments); 11 | }; 12 | 13 | res.end = function (chunk) { 14 | if (chunk) chunks.push(chunk); 15 | 16 | var body = Buffer.concat(chunks).toString("utf8"); 17 | console.log(req.path, body); 18 | 19 | oldEnd.apply(res, arguments); 20 | }; 21 | 22 | next(); 23 | }; 24 | -------------------------------------------------------------------------------- /Frontend/css/index.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Oswald&family=Raleway&display=swap'); 2 | /* Defaults */ 3 | 4 | html, body { 5 | overflow-x: hidden; 6 | font-family: 'Raleway', sans-serif; 7 | overflow: -moz-scrollbars-none; 8 | -ms-overflow-style: none; 9 | color: white; 10 | background-image: url("../img/bg.png"); 11 | background-position: center center; 12 | background-size: cover; 13 | height: 100%; 14 | background-color: #293648; 15 | scroll-behavior: smooth; 16 | } 17 | 18 | .navbar-fixed { 19 | position: absolute !important; 20 | } 21 | 22 | #home { 23 | padding-top: 64px; 24 | } 25 | 26 | /* Button Outline */ 27 | 28 | button { 29 | border: none; 30 | outline: none; 31 | box-shadow: none; 32 | } 33 | 34 | /* Loader */ 35 | 36 | #loader { 37 | position: fixed; 38 | width: 96px; 39 | height: 96px; 40 | left: 50%; 41 | top: 50%; 42 | -webkit-transform: translate(-50%, -50%); 43 | -ms-transform: translate(-50%, -50%); 44 | transform: translate(-50%, -50%); 45 | background-color: #293648; 46 | -webkit-box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24); 47 | box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24); 48 | border-radius: 16px; 49 | opacity: 0; 50 | visibility: hidden; 51 | -webkit-transition: opacity 0.2s ease-out, visibility 0s linear 0.2s; 52 | -o-transition: opacity 0.2s ease-out, visibility 0s linear 0.2s; 53 | transition: opacity 0.2s ease-out, visibility 0s linear 0.2s; 54 | z-index: 9000000; 55 | } 56 | 57 | #loader.fullscreen { 58 | padding: 0; 59 | left: 0; 60 | top: 0; 61 | width: 100%; 62 | height: 100%; 63 | -webkit-transform: none; 64 | -ms-transform: none; 65 | transform: none; 66 | background-color: #293648; 67 | border-radius: 0; 68 | -webkit-box-shadow: none; 69 | box-shadow: none; 70 | } 71 | 72 | #loader.show { 73 | -webkit-transition: opacity 0.4s ease-out, visibility 0s linear 0s; 74 | -o-transition: opacity 0.4s ease-out, visibility 0s linear 0s; 75 | transition: opacity 0.4s ease-out, visibility 0s linear 0s; 76 | visibility: visible; 77 | opacity: 1; 78 | } 79 | 80 | #loader .circular { 81 | -webkit-animation: loader-rotate 2s linear infinite; 82 | animation: loader-rotate 2s linear infinite; 83 | position: absolute; 84 | left: calc(50% - 24px); 85 | top: calc(50% - 24px); 86 | display: block; 87 | -webkit-transform: rotate(0deg); 88 | -ms-transform: rotate(0deg); 89 | transform: rotate(0deg); 90 | } 91 | 92 | #loader .path { 93 | stroke-dasharray: 1, 200; 94 | stroke-dashoffset: 0; 95 | -webkit-animation: loader-dash 1.5s ease-in-out infinite; 96 | animation: loader-dash 1.5s ease-in-out infinite; 97 | stroke-linecap: round; 98 | } 99 | 100 | @-webkit-keyframes loader-rotate { 101 | 100% { 102 | -webkit-transform: rotate(360deg); 103 | transform: rotate(360deg); 104 | } 105 | } 106 | 107 | @keyframes loader-rotate { 108 | 100% { 109 | -webkit-transform: rotate(360deg); 110 | transform: rotate(360deg); 111 | } 112 | } 113 | 114 | @-webkit-keyframes loader-dash { 115 | 0% { 116 | stroke-dasharray: 1, 200; 117 | stroke-dashoffset: 0; 118 | } 119 | 50% { 120 | stroke-dasharray: 89, 200; 121 | stroke-dashoffset: -35px; 122 | } 123 | 100% { 124 | stroke-dasharray: 89, 200; 125 | stroke-dashoffset: -136px; 126 | } 127 | } 128 | 129 | @keyframes loader-dash { 130 | 0% { 131 | stroke-dasharray: 1, 200; 132 | stroke-dashoffset: 0; 133 | } 134 | 50% { 135 | stroke-dasharray: 89, 200; 136 | stroke-dashoffset: -35px; 137 | } 138 | 100% { 139 | stroke-dasharray: 89, 200; 140 | stroke-dashoffset: -136px; 141 | } 142 | } 143 | 144 | /* Outline */ 145 | 146 | input { 147 | outline: none !important; 148 | -webkit-box-shadow: none; 149 | box-shadow: none; 150 | color: #ffffff; 151 | } 152 | 153 | input:focus { 154 | outline: none !important; 155 | -webkit-box-shadow: none; 156 | box-shadow: none; 157 | } 158 | 159 | .form-control { 160 | outline: none !important; 161 | -webkit-box-shadow: none; 162 | box-shadow: none; 163 | } 164 | 165 | .form-control:focus { 166 | outline: none !important; 167 | -webkit-box-shadow: none; 168 | box-shadow: none; 169 | } 170 | 171 | button { 172 | outline: none !important; 173 | -webkit-box-shadow: none; 174 | box-shadow: none; 175 | } 176 | 177 | button:focus { 178 | outline: none !important; 179 | -webkit-box-shadow: none; 180 | box-shadow: none; 181 | } 182 | 183 | /* Error Messages */ 184 | 185 | #errorHandler { 186 | color: red; 187 | } 188 | 189 | /* Navbar */ 190 | 191 | .nav-wrapper { 192 | background-color: #141C25; 193 | } 194 | 195 | /* Active Sidebar */ 196 | 197 | #activeSide { 198 | color: white; 199 | } 200 | 201 | .sidenav { 202 | border-right: 15px solid rgba(20, 28, 37, 0.747); 203 | background: #293648; 204 | color: white; 205 | } 206 | 207 | .sidenav-alt-bar { 208 | background: #3A87F1; 209 | } 210 | 211 | #activeSide::after { 212 | content: ""; 213 | position: absolute; 214 | right: 0; 215 | width: 0; 216 | height: 0; 217 | top: 15px; 218 | border-top: 10px solid transparent; 219 | border-bottom: 10px solid transparent; 220 | border-right: 20px solid rgb(20, 28, 37); 221 | } 222 | 223 | /* Divider */ 224 | 225 | .divider { 226 | border: 1px solid #141C25; 227 | width: 100%; 228 | } 229 | 230 | .border-bottom-md { 231 | border-bottom: 2px solid #141C25; 232 | width: 175px; 233 | } 234 | 235 | .border-bottom-sm { 236 | border-bottom: 2px solid #141C25; 237 | width: 120px; 238 | } 239 | 240 | /* Bolder */ 241 | 242 | .bolder { 243 | font-weight: bolder; 244 | } 245 | 246 | /* Navbar Brand */ 247 | 248 | .brand { 249 | font-size: 30px; 250 | } 251 | 252 | /* Hero Carousel */ 253 | 254 | .bg-img-1 { 255 | background-image: url("../img/happy-customer.jpg"); 256 | background-repeat: no-repeat; 257 | background-size: cover; 258 | } 259 | 260 | .bg-img-2 { 261 | background-image: url("../img/group-call.jpg"); 262 | background-repeat: no-repeat; 263 | background-size: cover; 264 | } 265 | 266 | .bg-img-3 { 267 | background-image: url("../img/client-call.jpg"); 268 | background-repeat: no-repeat; 269 | background-size: cover; 270 | } 271 | 272 | @media only screen and (max-width: 980px) { 273 | .carousel.carousel-slider { 274 | height: 20vh; 275 | } 276 | .black-overlay-text-head { 277 | background-color: rgba(0, 0, 0, 0.747); 278 | max-width: 200px; 279 | text-align: center; 280 | } 281 | .black-overlay-text { 282 | background-color: rgba(0, 0, 0, 0.774); 283 | max-width: 250px; 284 | text-align: left; 285 | padding-left: 20px; 286 | } 287 | } 288 | 289 | @media only screen and (min-width: 980px) { 290 | .carousel.carousel-slider { 291 | height: 93.5vh; 292 | } 293 | .black-overlay-text-head { 294 | background-color: rgba(0, 0, 0, 0.747); 295 | max-width: 400px; 296 | text-align: center; 297 | padding: 20px; 298 | } 299 | .black-overlay-text { 300 | background-color: rgba(0, 0, 0, 0.774); 301 | max-width: 500px; 302 | text-align: left; 303 | padding-left: 20px; 304 | padding: 20px; 305 | } 306 | } 307 | 308 | .row.slider-center { 309 | position: absolute; 310 | top: 50%; 311 | width: 100%; 312 | } 313 | 314 | i#next { 315 | position: absolute; 316 | right: 10px; 317 | color: #fff; 318 | background: #634e4e99; 319 | font-size: 35px; 320 | font-weight: 800; 321 | border-radius: 50px; 322 | border: 1px solid; 323 | cursor: pointer; 324 | } 325 | 326 | i#prev { 327 | position: absolute; 328 | left: 20px; 329 | color: #fff; 330 | background: #634e4e99; 331 | font-size: 35px; 332 | font-weight: 800; 333 | border-radius: 50px; 334 | border: 1px solid; 335 | cursor: pointer; 336 | } 337 | 338 | /* Border Radius */ 339 | 340 | .br-10 { 341 | border-radius: 10px; 342 | } 343 | 344 | /* Button(s): TC */ 345 | 346 | .btn-tc, .btn-tc:hover, .btn-tc:focus, .btn-tc:active { 347 | background-color: #3A87F1; 348 | color: white; 349 | border-radius: 30px; 350 | min-width: 200px; 351 | max-width: 350px; 352 | min-height: 45px; 353 | max-height: 55px; 354 | } 355 | 356 | .btn-action, .btn-action:hover, .btn-action:focus { 357 | background-color: rgb(0, 0, 0); 358 | color: white; 359 | border-radius: 10px; 360 | } 361 | 362 | /* Footer */ 363 | 364 | .page-footer { 365 | background-color: #141C25; 366 | color: white; 367 | } 368 | 369 | #page-footer { 370 | background: #141C25; 371 | color: white; 372 | } 373 | 374 | /* Displays */ 375 | 376 | .d-none { 377 | display: none !important; 378 | } 379 | 380 | .d-inline { 381 | display: inline-block !important; 382 | } 383 | 384 | /* Headings */ 385 | 386 | h2 { 387 | font-size: 1.15rem; 388 | } 389 | 390 | h1 { 391 | font-size: 3rem; 392 | } 393 | 394 | h3 { 395 | font-size: 2.28rem; 396 | } 397 | 398 | .heading-color { 399 | color: rgba(245, 245, 245, 0.925); 400 | text-decoration: underline; 401 | text-decoration-color: #3A87F1; 402 | -moz-text-decoration-color: #3A87F1; 403 | font-family: 'Oswald', sans-serif; 404 | } 405 | 406 | .heading-color-alt { 407 | color: whitesmoke; 408 | text-decoration: underline; 409 | text-decoration-color: #293648; 410 | -moz-text-decoration-color: #293648; 411 | font-family: 'Oswald', sans-serif; 412 | } 413 | 414 | /* Animation Defaults */ 415 | 416 | .animated { 417 | -webkit-animation-name: bounceIn; 418 | -webkit-animation-duration: 4s; 419 | -webkit-animation-iteration-count: infinite; 420 | -webkit-animation-timing-function: ease-out; 421 | -webkit-animation-fill-mode: forwards; 422 | animation-name: bounceIn; 423 | animation-duration: 4s; 424 | animation-iteration-count: 1; 425 | animation-timing-function: ease-out; 426 | animation-fill-mode: forwards; 427 | } 428 | 429 | /* Bounce animation */ 430 | 431 | @-webkit-keyframes bounce { 432 | 0%, 20%, 50%, 80%, 100% { 433 | -webkit-transform: translateY(0); 434 | } 435 | 40% { 436 | -webkit-transform: translateY(-10px); 437 | } 438 | 60% { 439 | -webkit-transform: translateY(-5px); 440 | } 441 | } 442 | 443 | @keyframes bounce { 444 | 20%, 53%, 80%, from, to { 445 | -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1); 446 | animation-timing-function: cubic-bezier(.215, .61, .355, 1); 447 | -webkit-transform: translate3d(0, 0, 0); 448 | transform: translate3d(0, 0, 0) 449 | } 450 | 40%, 43% { 451 | -webkit-animation-timing-function: cubic-bezier(.755, .050, .855, .060); 452 | animation-timing-function: cubic-bezier(.755, .050, .855, .060); 453 | -webkit-transform: translate3d(0, -30px, 0); 454 | transform: translate3d(0, -30px, 0) 455 | } 456 | 70% { 457 | -webkit-animation-timing-function: cubic-bezier(.755, .050, .855, .060); 458 | animation-timing-function: cubic-bezier(.755, .050, .855, .060); 459 | -webkit-transform: translate3d(0, -15px, 0); 460 | transform: translate3d(0, -15px, 0) 461 | } 462 | 90% { 463 | -webkit-transform: translate3d(0, -4px, 0); 464 | transform: translate3d(0, -4px, 0) 465 | } 466 | } 467 | 468 | bounce { 469 | -webkit-animation-name: bounce; 470 | animation-name: bounce; 471 | -webkit-transform-origin: center bottom; 472 | transform-origin: center bottom 473 | } 474 | 475 | /* Dark Sections */ 476 | 477 | #about, #rules-prizes { 478 | background-color: rgba(20, 28, 37, 0.671); 479 | } 480 | 481 | .bg-custom { 482 | background-color: rgba(20, 28, 37, 0.671); 483 | } 484 | 485 | /* Collapsible */ 486 | 487 | .collapsible-header { 488 | background-color: #293648; 489 | font-weight: bolder; 490 | border-color: #293648; 491 | border-bottom-color: #ffffff; 492 | } 493 | 494 | .collapsible-body { 495 | background-color: #141C25; 496 | font-weight: bolder; 497 | border-color: #293648; 498 | } 499 | 500 | .collapsible { 501 | border-color: #293648; 502 | } 503 | 504 | /* Medium */ 505 | 506 | .medium { 507 | background-color: rgb(255, 255, 255); 508 | border-radius: 10px; 509 | } 510 | 511 | .medium:hover { 512 | background-color: rgba(255, 255, 255, 0.774); 513 | border-radius: 10px; 514 | } 515 | 516 | /* Rounded Image */ 517 | 518 | .rounded-img { 519 | border-radius: 50%; 520 | } 521 | 522 | .rounded-img-team { 523 | border-radius: 50%; 524 | height: 230px; 525 | margin-top: 30px; 526 | overflow: hidden; 527 | } 528 | 529 | /* Line Height */ 530 | 531 | h5, h6 { 532 | line-height: 1.8rem; 533 | } 534 | 535 | @media screen and (max-width: 600px) { 536 | .medium { 537 | width: 200px !important; 538 | } 539 | } -------------------------------------------------------------------------------- /Frontend/css/spacing.css: -------------------------------------------------------------------------------- 1 | .m-0 { 2 | margin: 0 !important 3 | } 4 | 5 | .mt-0, 6 | .my-0 { 7 | margin-top: 0 !important 8 | } 9 | 10 | .mr-0, 11 | .mx-0 { 12 | margin-right: 0 !important 13 | } 14 | 15 | .mb-0, 16 | .my-0 { 17 | margin-bottom: 0 !important 18 | } 19 | 20 | .ml-0, 21 | .mx-0 { 22 | margin-left: 0 !important 23 | } 24 | 25 | .m-1 { 26 | margin: .25rem !important 27 | } 28 | 29 | .mt-1, 30 | .my-1 { 31 | margin-top: .25rem !important 32 | } 33 | 34 | .mr-1, 35 | .mx-1 { 36 | margin-right: .25rem !important 37 | } 38 | 39 | .mb-1, 40 | .my-1 { 41 | margin-bottom: .25rem !important 42 | } 43 | 44 | .ml-1, 45 | .mx-1 { 46 | margin-left: .25rem !important 47 | } 48 | 49 | .m-2 { 50 | margin: .5rem !important 51 | } 52 | 53 | .mt-2, 54 | .my-2 { 55 | margin-top: .5rem !important 56 | } 57 | 58 | .mr-2, 59 | .mx-2 { 60 | margin-right: .5rem !important 61 | } 62 | 63 | .mb-2, 64 | .my-2 { 65 | margin-bottom: .5rem !important 66 | } 67 | 68 | .ml-2, 69 | .mx-2 { 70 | margin-left: .5rem !important 71 | } 72 | 73 | .m-3 { 74 | margin: 1rem !important 75 | } 76 | 77 | .mt-3, 78 | .my-3 { 79 | margin-top: 1rem !important 80 | } 81 | 82 | .mr-3, 83 | .mx-3 { 84 | margin-right: 1rem !important 85 | } 86 | 87 | .mb-3, 88 | .my-3 { 89 | margin-bottom: 1rem !important 90 | } 91 | 92 | .ml-3, 93 | .mx-3 { 94 | margin-left: 1rem !important 95 | } 96 | 97 | .m-4 { 98 | margin: 1.5rem !important 99 | } 100 | 101 | .mt-4, 102 | .my-4 { 103 | margin-top: 1.5rem !important 104 | } 105 | 106 | .mr-4, 107 | .mx-4 { 108 | margin-right: 1.5rem !important 109 | } 110 | 111 | .mb-4, 112 | .my-4 { 113 | margin-bottom: 1.5rem !important 114 | } 115 | 116 | .ml-4, 117 | .mx-4 { 118 | margin-left: 1.5rem !important 119 | } 120 | 121 | .m-5 { 122 | margin: 3rem !important 123 | } 124 | 125 | .mt-5, 126 | .my-5 { 127 | margin-top: 3rem !important 128 | } 129 | 130 | .mr-5, 131 | .mx-5 { 132 | margin-right: 3rem !important 133 | } 134 | 135 | .mb-5, 136 | .my-5 { 137 | margin-bottom: 3rem !important 138 | } 139 | 140 | .ml-5, 141 | .mx-5 { 142 | margin-left: 3rem !important 143 | } 144 | 145 | .p-0 { 146 | padding: 0 !important 147 | } 148 | 149 | .pt-0, 150 | .py-0 { 151 | padding-top: 0 !important 152 | } 153 | 154 | .pr-0, 155 | .px-0 { 156 | padding-right: 0 !important 157 | } 158 | 159 | .pb-0, 160 | .py-0 { 161 | padding-bottom: 0 !important 162 | } 163 | 164 | .pl-0, 165 | .px-0 { 166 | padding-left: 0 !important 167 | } 168 | 169 | .p-1 { 170 | padding: .25rem !important 171 | } 172 | 173 | .pt-1, 174 | .py-1 { 175 | padding-top: .25rem !important 176 | } 177 | 178 | .pr-1, 179 | .px-1 { 180 | padding-right: .25rem !important 181 | } 182 | 183 | .pb-1, 184 | .py-1 { 185 | padding-bottom: .25rem !important 186 | } 187 | 188 | .pl-1, 189 | .px-1 { 190 | padding-left: .25rem !important 191 | } 192 | 193 | .p-2 { 194 | padding: .5rem !important 195 | } 196 | 197 | .pt-2, 198 | .py-2 { 199 | padding-top: .5rem !important 200 | } 201 | 202 | .pr-2, 203 | .px-2 { 204 | padding-right: .5rem !important 205 | } 206 | 207 | .pb-2, 208 | .py-2 { 209 | padding-bottom: .5rem !important 210 | } 211 | 212 | .pl-2, 213 | .px-2 { 214 | padding-left: .5rem !important 215 | } 216 | 217 | .p-3 { 218 | padding: 1rem !important 219 | } 220 | 221 | .pt-3, 222 | .py-3 { 223 | padding-top: 1rem !important 224 | } 225 | 226 | .pr-3, 227 | .px-3 { 228 | padding-right: 1rem !important 229 | } 230 | 231 | .pb-3, 232 | .py-3 { 233 | padding-bottom: 1rem !important 234 | } 235 | 236 | .pl-3, 237 | .px-3 { 238 | padding-left: 1rem !important 239 | } 240 | 241 | .p-4 { 242 | padding: 1.5rem !important 243 | } 244 | 245 | .pt-4, 246 | .py-4 { 247 | padding-top: 1.5rem !important 248 | } 249 | 250 | .pr-4, 251 | .px-4 { 252 | padding-right: 1.5rem !important 253 | } 254 | 255 | .pb-4, 256 | .py-4 { 257 | padding-bottom: 1.5rem !important 258 | } 259 | 260 | .pl-4, 261 | .px-4 { 262 | padding-left: 1.5rem !important 263 | } 264 | 265 | .p-5 { 266 | padding: 3rem !important 267 | } 268 | 269 | .pt-5, 270 | .py-5 { 271 | padding-top: 3rem !important 272 | } 273 | 274 | .pr-5, 275 | .px-5 { 276 | padding-right: 3rem !important 277 | } 278 | 279 | .pb-5, 280 | .py-5 { 281 | padding-bottom: 3rem !important 282 | } 283 | 284 | .pl-5, 285 | .px-5 { 286 | padding-left: 3rem !important 287 | } 288 | 289 | .m-n1 { 290 | margin: -.25rem !important 291 | } 292 | 293 | .mt-n1, 294 | .my-n1 { 295 | margin-top: -.25rem !important 296 | } 297 | 298 | .mr-n1, 299 | .mx-n1 { 300 | margin-right: -.25rem !important 301 | } 302 | 303 | .mb-n1, 304 | .my-n1 { 305 | margin-bottom: -.25rem !important 306 | } 307 | 308 | .ml-n1, 309 | .mx-n1 { 310 | margin-left: -.25rem !important 311 | } 312 | 313 | .m-n2 { 314 | margin: -.5rem !important 315 | } 316 | 317 | .mt-n2, 318 | .my-n2 { 319 | margin-top: -.5rem !important 320 | } 321 | 322 | .mr-n2, 323 | .mx-n2 { 324 | margin-right: -.5rem !important 325 | } 326 | 327 | .mb-n2, 328 | .my-n2 { 329 | margin-bottom: -.5rem !important 330 | } 331 | 332 | .ml-n2, 333 | .mx-n2 { 334 | margin-left: -.5rem !important 335 | } 336 | 337 | .m-n3 { 338 | margin: -1rem !important 339 | } 340 | 341 | .mt-n3, 342 | .my-n3 { 343 | margin-top: -1rem !important 344 | } 345 | 346 | .mr-n3, 347 | .mx-n3 { 348 | margin-right: -1rem !important 349 | } 350 | 351 | .mb-n3, 352 | .my-n3 { 353 | margin-bottom: -1rem !important 354 | } 355 | 356 | .ml-n3, 357 | .mx-n3 { 358 | margin-left: -1rem !important 359 | } 360 | 361 | .m-n4 { 362 | margin: -1.5rem !important 363 | } 364 | 365 | .mt-n4, 366 | .my-n4 { 367 | margin-top: -1.5rem !important 368 | } 369 | 370 | .mr-n4, 371 | .mx-n4 { 372 | margin-right: -1.5rem !important 373 | } 374 | 375 | .mb-n4, 376 | .my-n4 { 377 | margin-bottom: -1.5rem !important 378 | } 379 | 380 | .ml-n4, 381 | .mx-n4 { 382 | margin-left: -1.5rem !important 383 | } 384 | 385 | .m-n5 { 386 | margin: -3rem !important 387 | } 388 | 389 | .mt-n5, 390 | .my-n5 { 391 | margin-top: -3rem !important 392 | } 393 | 394 | .mr-n5, 395 | .mx-n5 { 396 | margin-right: -3rem !important 397 | } 398 | 399 | .mb-n5, 400 | .my-n5 { 401 | margin-bottom: -3rem !important 402 | } 403 | 404 | .ml-n5, 405 | .mx-n5 { 406 | margin-left: -3rem !important 407 | } 408 | 409 | .m-auto { 410 | margin: auto !important 411 | } 412 | 413 | .mt-auto, 414 | .my-auto { 415 | margin-top: auto !important 416 | } 417 | 418 | .mr-auto, 419 | .mx-auto { 420 | margin-right: auto !important 421 | } 422 | 423 | .mb-auto, 424 | .my-auto { 425 | margin-bottom: auto !important 426 | } 427 | 428 | .ml-auto, 429 | .mx-auto { 430 | margin-left: auto !important 431 | } 432 | 433 | @media (min-width:576px) { 434 | .m-sm-0 { 435 | margin: 0 !important 436 | } 437 | 438 | .mt-sm-0, 439 | .my-sm-0 { 440 | margin-top: 0 !important 441 | } 442 | 443 | .mr-sm-0, 444 | .mx-sm-0 { 445 | margin-right: 0 !important 446 | } 447 | 448 | .mb-sm-0, 449 | .my-sm-0 { 450 | margin-bottom: 0 !important 451 | } 452 | 453 | .ml-sm-0, 454 | .mx-sm-0 { 455 | margin-left: 0 !important 456 | } 457 | 458 | .m-sm-1 { 459 | margin: .25rem !important 460 | } 461 | 462 | .mt-sm-1, 463 | .my-sm-1 { 464 | margin-top: .25rem !important 465 | } 466 | 467 | .mr-sm-1, 468 | .mx-sm-1 { 469 | margin-right: .25rem !important 470 | } 471 | 472 | .mb-sm-1, 473 | .my-sm-1 { 474 | margin-bottom: .25rem !important 475 | } 476 | 477 | .ml-sm-1, 478 | .mx-sm-1 { 479 | margin-left: .25rem !important 480 | } 481 | 482 | .m-sm-2 { 483 | margin: .5rem !important 484 | } 485 | 486 | .mt-sm-2, 487 | .my-sm-2 { 488 | margin-top: .5rem !important 489 | } 490 | 491 | .mr-sm-2, 492 | .mx-sm-2 { 493 | margin-right: .5rem !important 494 | } 495 | 496 | .mb-sm-2, 497 | .my-sm-2 { 498 | margin-bottom: .5rem !important 499 | } 500 | 501 | .ml-sm-2, 502 | .mx-sm-2 { 503 | margin-left: .5rem !important 504 | } 505 | 506 | .m-sm-3 { 507 | margin: 1rem !important 508 | } 509 | 510 | .mt-sm-3, 511 | .my-sm-3 { 512 | margin-top: 1rem !important 513 | } 514 | 515 | .mr-sm-3, 516 | .mx-sm-3 { 517 | margin-right: 1rem !important 518 | } 519 | 520 | .mb-sm-3, 521 | .my-sm-3 { 522 | margin-bottom: 1rem !important 523 | } 524 | 525 | .ml-sm-3, 526 | .mx-sm-3 { 527 | margin-left: 1rem !important 528 | } 529 | 530 | .m-sm-4 { 531 | margin: 1.5rem !important 532 | } 533 | 534 | .mt-sm-4, 535 | .my-sm-4 { 536 | margin-top: 1.5rem !important 537 | } 538 | 539 | .mr-sm-4, 540 | .mx-sm-4 { 541 | margin-right: 1.5rem !important 542 | } 543 | 544 | .mb-sm-4, 545 | .my-sm-4 { 546 | margin-bottom: 1.5rem !important 547 | } 548 | 549 | .ml-sm-4, 550 | .mx-sm-4 { 551 | margin-left: 1.5rem !important 552 | } 553 | 554 | .m-sm-5 { 555 | margin: 3rem !important 556 | } 557 | 558 | .mt-sm-5, 559 | .my-sm-5 { 560 | margin-top: 3rem !important 561 | } 562 | 563 | .mr-sm-5, 564 | .mx-sm-5 { 565 | margin-right: 3rem !important 566 | } 567 | 568 | .mb-sm-5, 569 | .my-sm-5 { 570 | margin-bottom: 3rem !important 571 | } 572 | 573 | .ml-sm-5, 574 | .mx-sm-5 { 575 | margin-left: 3rem !important 576 | } 577 | 578 | .p-sm-0 { 579 | padding: 0 !important 580 | } 581 | 582 | .pt-sm-0, 583 | .py-sm-0 { 584 | padding-top: 0 !important 585 | } 586 | 587 | .pr-sm-0, 588 | .px-sm-0 { 589 | padding-right: 0 !important 590 | } 591 | 592 | .pb-sm-0, 593 | .py-sm-0 { 594 | padding-bottom: 0 !important 595 | } 596 | 597 | .pl-sm-0, 598 | .px-sm-0 { 599 | padding-left: 0 !important 600 | } 601 | 602 | .p-sm-1 { 603 | padding: .25rem !important 604 | } 605 | 606 | .pt-sm-1, 607 | .py-sm-1 { 608 | padding-top: .25rem !important 609 | } 610 | 611 | .pr-sm-1, 612 | .px-sm-1 { 613 | padding-right: .25rem !important 614 | } 615 | 616 | .pb-sm-1, 617 | .py-sm-1 { 618 | padding-bottom: .25rem !important 619 | } 620 | 621 | .pl-sm-1, 622 | .px-sm-1 { 623 | padding-left: .25rem !important 624 | } 625 | 626 | .p-sm-2 { 627 | padding: .5rem !important 628 | } 629 | 630 | .pt-sm-2, 631 | .py-sm-2 { 632 | padding-top: .5rem !important 633 | } 634 | 635 | .pr-sm-2, 636 | .px-sm-2 { 637 | padding-right: .5rem !important 638 | } 639 | 640 | .pb-sm-2, 641 | .py-sm-2 { 642 | padding-bottom: .5rem !important 643 | } 644 | 645 | .pl-sm-2, 646 | .px-sm-2 { 647 | padding-left: .5rem !important 648 | } 649 | 650 | .p-sm-3 { 651 | padding: 1rem !important 652 | } 653 | 654 | .pt-sm-3, 655 | .py-sm-3 { 656 | padding-top: 1rem !important 657 | } 658 | 659 | .pr-sm-3, 660 | .px-sm-3 { 661 | padding-right: 1rem !important 662 | } 663 | 664 | .pb-sm-3, 665 | .py-sm-3 { 666 | padding-bottom: 1rem !important 667 | } 668 | 669 | .pl-sm-3, 670 | .px-sm-3 { 671 | padding-left: 1rem !important 672 | } 673 | 674 | .p-sm-4 { 675 | padding: 1.5rem !important 676 | } 677 | 678 | .pt-sm-4, 679 | .py-sm-4 { 680 | padding-top: 1.5rem !important 681 | } 682 | 683 | .pr-sm-4, 684 | .px-sm-4 { 685 | padding-right: 1.5rem !important 686 | } 687 | 688 | .pb-sm-4, 689 | .py-sm-4 { 690 | padding-bottom: 1.5rem !important 691 | } 692 | 693 | .pl-sm-4, 694 | .px-sm-4 { 695 | padding-left: 1.5rem !important 696 | } 697 | 698 | .p-sm-5 { 699 | padding: 3rem !important 700 | } 701 | 702 | .pt-sm-5, 703 | .py-sm-5 { 704 | padding-top: 3rem !important 705 | } 706 | 707 | .pr-sm-5, 708 | .px-sm-5 { 709 | padding-right: 3rem !important 710 | } 711 | 712 | .pb-sm-5, 713 | .py-sm-5 { 714 | padding-bottom: 3rem !important 715 | } 716 | 717 | .pl-sm-5, 718 | .px-sm-5 { 719 | padding-left: 3rem !important 720 | } 721 | 722 | .m-sm-n1 { 723 | margin: -.25rem !important 724 | } 725 | 726 | .mt-sm-n1, 727 | .my-sm-n1 { 728 | margin-top: -.25rem !important 729 | } 730 | 731 | .mr-sm-n1, 732 | .mx-sm-n1 { 733 | margin-right: -.25rem !important 734 | } 735 | 736 | .mb-sm-n1, 737 | .my-sm-n1 { 738 | margin-bottom: -.25rem !important 739 | } 740 | 741 | .ml-sm-n1, 742 | .mx-sm-n1 { 743 | margin-left: -.25rem !important 744 | } 745 | 746 | .m-sm-n2 { 747 | margin: -.5rem !important 748 | } 749 | 750 | .mt-sm-n2, 751 | .my-sm-n2 { 752 | margin-top: -.5rem !important 753 | } 754 | 755 | .mr-sm-n2, 756 | .mx-sm-n2 { 757 | margin-right: -.5rem !important 758 | } 759 | 760 | .mb-sm-n2, 761 | .my-sm-n2 { 762 | margin-bottom: -.5rem !important 763 | } 764 | 765 | .ml-sm-n2, 766 | .mx-sm-n2 { 767 | margin-left: -.5rem !important 768 | } 769 | 770 | .m-sm-n3 { 771 | margin: -1rem !important 772 | } 773 | 774 | .mt-sm-n3, 775 | .my-sm-n3 { 776 | margin-top: -1rem !important 777 | } 778 | 779 | .mr-sm-n3, 780 | .mx-sm-n3 { 781 | margin-right: -1rem !important 782 | } 783 | 784 | .mb-sm-n3, 785 | .my-sm-n3 { 786 | margin-bottom: -1rem !important 787 | } 788 | 789 | .ml-sm-n3, 790 | .mx-sm-n3 { 791 | margin-left: -1rem !important 792 | } 793 | 794 | .m-sm-n4 { 795 | margin: -1.5rem !important 796 | } 797 | 798 | .mt-sm-n4, 799 | .my-sm-n4 { 800 | margin-top: -1.5rem !important 801 | } 802 | 803 | .mr-sm-n4, 804 | .mx-sm-n4 { 805 | margin-right: -1.5rem !important 806 | } 807 | 808 | .mb-sm-n4, 809 | .my-sm-n4 { 810 | margin-bottom: -1.5rem !important 811 | } 812 | 813 | .ml-sm-n4, 814 | .mx-sm-n4 { 815 | margin-left: -1.5rem !important 816 | } 817 | 818 | .m-sm-n5 { 819 | margin: -3rem !important 820 | } 821 | 822 | .mt-sm-n5, 823 | .my-sm-n5 { 824 | margin-top: -3rem !important 825 | } 826 | 827 | .mr-sm-n5, 828 | .mx-sm-n5 { 829 | margin-right: -3rem !important 830 | } 831 | 832 | .mb-sm-n5, 833 | .my-sm-n5 { 834 | margin-bottom: -3rem !important 835 | } 836 | 837 | .ml-sm-n5, 838 | .mx-sm-n5 { 839 | margin-left: -3rem !important 840 | } 841 | 842 | .m-sm-auto { 843 | margin: auto !important 844 | } 845 | 846 | .mt-sm-auto, 847 | .my-sm-auto { 848 | margin-top: auto !important 849 | } 850 | 851 | .mr-sm-auto, 852 | .mx-sm-auto { 853 | margin-right: auto !important 854 | } 855 | 856 | .mb-sm-auto, 857 | .my-sm-auto { 858 | margin-bottom: auto !important 859 | } 860 | 861 | .ml-sm-auto, 862 | .mx-sm-auto { 863 | margin-left: auto !important 864 | } 865 | } 866 | 867 | @media (min-width:768px) { 868 | .m-md-0 { 869 | margin: 0 !important 870 | } 871 | 872 | .mt-md-0, 873 | .my-md-0 { 874 | margin-top: 0 !important 875 | } 876 | 877 | .mr-md-0, 878 | .mx-md-0 { 879 | margin-right: 0 !important 880 | } 881 | 882 | .mb-md-0, 883 | .my-md-0 { 884 | margin-bottom: 0 !important 885 | } 886 | 887 | .ml-md-0, 888 | .mx-md-0 { 889 | margin-left: 0 !important 890 | } 891 | 892 | .m-md-1 { 893 | margin: .25rem !important 894 | } 895 | 896 | .mt-md-1, 897 | .my-md-1 { 898 | margin-top: .25rem !important 899 | } 900 | 901 | .mr-md-1, 902 | .mx-md-1 { 903 | margin-right: .25rem !important 904 | } 905 | 906 | .mb-md-1, 907 | .my-md-1 { 908 | margin-bottom: .25rem !important 909 | } 910 | 911 | .ml-md-1, 912 | .mx-md-1 { 913 | margin-left: .25rem !important 914 | } 915 | 916 | .m-md-2 { 917 | margin: .5rem !important 918 | } 919 | 920 | .mt-md-2, 921 | .my-md-2 { 922 | margin-top: .5rem !important 923 | } 924 | 925 | .mr-md-2, 926 | .mx-md-2 { 927 | margin-right: .5rem !important 928 | } 929 | 930 | .mb-md-2, 931 | .my-md-2 { 932 | margin-bottom: .5rem !important 933 | } 934 | 935 | .ml-md-2, 936 | .mx-md-2 { 937 | margin-left: .5rem !important 938 | } 939 | 940 | .m-md-3 { 941 | margin: 1rem !important 942 | } 943 | 944 | .mt-md-3, 945 | .my-md-3 { 946 | margin-top: 1rem !important 947 | } 948 | 949 | .mr-md-3, 950 | .mx-md-3 { 951 | margin-right: 1rem !important 952 | } 953 | 954 | .mb-md-3, 955 | .my-md-3 { 956 | margin-bottom: 1rem !important 957 | } 958 | 959 | .ml-md-3, 960 | .mx-md-3 { 961 | margin-left: 1rem !important 962 | } 963 | 964 | .m-md-4 { 965 | margin: 1.5rem !important 966 | } 967 | 968 | .mt-md-4, 969 | .my-md-4 { 970 | margin-top: 1.5rem !important 971 | } 972 | 973 | .mr-md-4, 974 | .mx-md-4 { 975 | margin-right: 1.5rem !important 976 | } 977 | 978 | .mb-md-4, 979 | .my-md-4 { 980 | margin-bottom: 1.5rem !important 981 | } 982 | 983 | .ml-md-4, 984 | .mx-md-4 { 985 | margin-left: 1.5rem !important 986 | } 987 | 988 | .m-md-5 { 989 | margin: 3rem !important 990 | } 991 | 992 | .mt-md-5, 993 | .my-md-5 { 994 | margin-top: 3rem !important 995 | } 996 | 997 | .mr-md-5, 998 | .mx-md-5 { 999 | margin-right: 3rem !important 1000 | } 1001 | 1002 | .mb-md-5, 1003 | .my-md-5 { 1004 | margin-bottom: 3rem !important 1005 | } 1006 | 1007 | .ml-md-5, 1008 | .mx-md-5 { 1009 | margin-left: 3rem !important 1010 | } 1011 | 1012 | .p-md-0 { 1013 | padding: 0 !important 1014 | } 1015 | 1016 | .pt-md-0, 1017 | .py-md-0 { 1018 | padding-top: 0 !important 1019 | } 1020 | 1021 | .pr-md-0, 1022 | .px-md-0 { 1023 | padding-right: 0 !important 1024 | } 1025 | 1026 | .pb-md-0, 1027 | .py-md-0 { 1028 | padding-bottom: 0 !important 1029 | } 1030 | 1031 | .pl-md-0, 1032 | .px-md-0 { 1033 | padding-left: 0 !important 1034 | } 1035 | 1036 | .p-md-1 { 1037 | padding: .25rem !important 1038 | } 1039 | 1040 | .pt-md-1, 1041 | .py-md-1 { 1042 | padding-top: .25rem !important 1043 | } 1044 | 1045 | .pr-md-1, 1046 | .px-md-1 { 1047 | padding-right: .25rem !important 1048 | } 1049 | 1050 | .pb-md-1, 1051 | .py-md-1 { 1052 | padding-bottom: .25rem !important 1053 | } 1054 | 1055 | .pl-md-1, 1056 | .px-md-1 { 1057 | padding-left: .25rem !important 1058 | } 1059 | 1060 | .p-md-2 { 1061 | padding: .5rem !important 1062 | } 1063 | 1064 | .pt-md-2, 1065 | .py-md-2 { 1066 | padding-top: .5rem !important 1067 | } 1068 | 1069 | .pr-md-2, 1070 | .px-md-2 { 1071 | padding-right: .5rem !important 1072 | } 1073 | 1074 | .pb-md-2, 1075 | .py-md-2 { 1076 | padding-bottom: .5rem !important 1077 | } 1078 | 1079 | .pl-md-2, 1080 | .px-md-2 { 1081 | padding-left: .5rem !important 1082 | } 1083 | 1084 | .p-md-3 { 1085 | padding: 1rem !important 1086 | } 1087 | 1088 | .pt-md-3, 1089 | .py-md-3 { 1090 | padding-top: 1rem !important 1091 | } 1092 | 1093 | .pr-md-3, 1094 | .px-md-3 { 1095 | padding-right: 1rem !important 1096 | } 1097 | 1098 | .pb-md-3, 1099 | .py-md-3 { 1100 | padding-bottom: 1rem !important 1101 | } 1102 | 1103 | .pl-md-3, 1104 | .px-md-3 { 1105 | padding-left: 1rem !important 1106 | } 1107 | 1108 | .p-md-4 { 1109 | padding: 1.5rem !important 1110 | } 1111 | 1112 | .pt-md-4, 1113 | .py-md-4 { 1114 | padding-top: 1.5rem !important 1115 | } 1116 | 1117 | .pr-md-4, 1118 | .px-md-4 { 1119 | padding-right: 1.5rem !important 1120 | } 1121 | 1122 | .pb-md-4, 1123 | .py-md-4 { 1124 | padding-bottom: 1.5rem !important 1125 | } 1126 | 1127 | .pl-md-4, 1128 | .px-md-4 { 1129 | padding-left: 1.5rem !important 1130 | } 1131 | 1132 | .p-md-5 { 1133 | padding: 3rem !important 1134 | } 1135 | 1136 | .pt-md-5, 1137 | .py-md-5 { 1138 | padding-top: 3rem !important 1139 | } 1140 | 1141 | .pr-md-5, 1142 | .px-md-5 { 1143 | padding-right: 3rem !important 1144 | } 1145 | 1146 | .pb-md-5, 1147 | .py-md-5 { 1148 | padding-bottom: 3rem !important 1149 | } 1150 | 1151 | .pl-md-5, 1152 | .px-md-5 { 1153 | padding-left: 3rem !important 1154 | } 1155 | 1156 | .m-md-n1 { 1157 | margin: -.25rem !important 1158 | } 1159 | 1160 | .mt-md-n1, 1161 | .my-md-n1 { 1162 | margin-top: -.25rem !important 1163 | } 1164 | 1165 | .mr-md-n1, 1166 | .mx-md-n1 { 1167 | margin-right: -.25rem !important 1168 | } 1169 | 1170 | .mb-md-n1, 1171 | .my-md-n1 { 1172 | margin-bottom: -.25rem !important 1173 | } 1174 | 1175 | .ml-md-n1, 1176 | .mx-md-n1 { 1177 | margin-left: -.25rem !important 1178 | } 1179 | 1180 | .m-md-n2 { 1181 | margin: -.5rem !important 1182 | } 1183 | 1184 | .mt-md-n2, 1185 | .my-md-n2 { 1186 | margin-top: -.5rem !important 1187 | } 1188 | 1189 | .mr-md-n2, 1190 | .mx-md-n2 { 1191 | margin-right: -.5rem !important 1192 | } 1193 | 1194 | .mb-md-n2, 1195 | .my-md-n2 { 1196 | margin-bottom: -.5rem !important 1197 | } 1198 | 1199 | .ml-md-n2, 1200 | .mx-md-n2 { 1201 | margin-left: -.5rem !important 1202 | } 1203 | 1204 | .m-md-n3 { 1205 | margin: -1rem !important 1206 | } 1207 | 1208 | .mt-md-n3, 1209 | .my-md-n3 { 1210 | margin-top: -1rem !important 1211 | } 1212 | 1213 | .mr-md-n3, 1214 | .mx-md-n3 { 1215 | margin-right: -1rem !important 1216 | } 1217 | 1218 | .mb-md-n3, 1219 | .my-md-n3 { 1220 | margin-bottom: -1rem !important 1221 | } 1222 | 1223 | .ml-md-n3, 1224 | .mx-md-n3 { 1225 | margin-left: -1rem !important 1226 | } 1227 | 1228 | .m-md-n4 { 1229 | margin: -1.5rem !important 1230 | } 1231 | 1232 | .mt-md-n4, 1233 | .my-md-n4 { 1234 | margin-top: -1.5rem !important 1235 | } 1236 | 1237 | .mr-md-n4, 1238 | .mx-md-n4 { 1239 | margin-right: -1.5rem !important 1240 | } 1241 | 1242 | .mb-md-n4, 1243 | .my-md-n4 { 1244 | margin-bottom: -1.5rem !important 1245 | } 1246 | 1247 | .ml-md-n4, 1248 | .mx-md-n4 { 1249 | margin-left: -1.5rem !important 1250 | } 1251 | 1252 | .m-md-n5 { 1253 | margin: -3rem !important 1254 | } 1255 | 1256 | .mt-md-n5, 1257 | .my-md-n5 { 1258 | margin-top: -3rem !important 1259 | } 1260 | 1261 | .mr-md-n5, 1262 | .mx-md-n5 { 1263 | margin-right: -3rem !important 1264 | } 1265 | 1266 | .mb-md-n5, 1267 | .my-md-n5 { 1268 | margin-bottom: -3rem !important 1269 | } 1270 | 1271 | .ml-md-n5, 1272 | .mx-md-n5 { 1273 | margin-left: -3rem !important 1274 | } 1275 | 1276 | .m-md-auto { 1277 | margin: auto !important 1278 | } 1279 | 1280 | .mt-md-auto, 1281 | .my-md-auto { 1282 | margin-top: auto !important 1283 | } 1284 | 1285 | .mr-md-auto, 1286 | .mx-md-auto { 1287 | margin-right: auto !important 1288 | } 1289 | 1290 | .mb-md-auto, 1291 | .my-md-auto { 1292 | margin-bottom: auto !important 1293 | } 1294 | 1295 | .ml-md-auto, 1296 | .mx-md-auto { 1297 | margin-left: auto !important 1298 | } 1299 | } 1300 | 1301 | @media (min-width:992px) { 1302 | .m-lg-0 { 1303 | margin: 0 !important 1304 | } 1305 | 1306 | .mt-lg-0, 1307 | .my-lg-0 { 1308 | margin-top: 0 !important 1309 | } 1310 | 1311 | .mr-lg-0, 1312 | .mx-lg-0 { 1313 | margin-right: 0 !important 1314 | } 1315 | 1316 | .mb-lg-0, 1317 | .my-lg-0 { 1318 | margin-bottom: 0 !important 1319 | } 1320 | 1321 | .ml-lg-0, 1322 | .mx-lg-0 { 1323 | margin-left: 0 !important 1324 | } 1325 | 1326 | .m-lg-1 { 1327 | margin: .25rem !important 1328 | } 1329 | 1330 | .mt-lg-1, 1331 | .my-lg-1 { 1332 | margin-top: .25rem !important 1333 | } 1334 | 1335 | .mr-lg-1, 1336 | .mx-lg-1 { 1337 | margin-right: .25rem !important 1338 | } 1339 | 1340 | .mb-lg-1, 1341 | .my-lg-1 { 1342 | margin-bottom: .25rem !important 1343 | } 1344 | 1345 | .ml-lg-1, 1346 | .mx-lg-1 { 1347 | margin-left: .25rem !important 1348 | } 1349 | 1350 | .m-lg-2 { 1351 | margin: .5rem !important 1352 | } 1353 | 1354 | .mt-lg-2, 1355 | .my-lg-2 { 1356 | margin-top: .5rem !important 1357 | } 1358 | 1359 | .mr-lg-2, 1360 | .mx-lg-2 { 1361 | margin-right: .5rem !important 1362 | } 1363 | 1364 | .mb-lg-2, 1365 | .my-lg-2 { 1366 | margin-bottom: .5rem !important 1367 | } 1368 | 1369 | .ml-lg-2, 1370 | .mx-lg-2 { 1371 | margin-left: .5rem !important 1372 | } 1373 | 1374 | .m-lg-3 { 1375 | margin: 1rem !important 1376 | } 1377 | 1378 | .mt-lg-3, 1379 | .my-lg-3 { 1380 | margin-top: 1rem !important 1381 | } 1382 | 1383 | .mr-lg-3, 1384 | .mx-lg-3 { 1385 | margin-right: 1rem !important 1386 | } 1387 | 1388 | .mb-lg-3, 1389 | .my-lg-3 { 1390 | margin-bottom: 1rem !important 1391 | } 1392 | 1393 | .ml-lg-3, 1394 | .mx-lg-3 { 1395 | margin-left: 1rem !important 1396 | } 1397 | 1398 | .m-lg-4 { 1399 | margin: 1.5rem !important 1400 | } 1401 | 1402 | .mt-lg-4, 1403 | .my-lg-4 { 1404 | margin-top: 1.5rem !important 1405 | } 1406 | 1407 | .mr-lg-4, 1408 | .mx-lg-4 { 1409 | margin-right: 1.5rem !important 1410 | } 1411 | 1412 | .mb-lg-4, 1413 | .my-lg-4 { 1414 | margin-bottom: 1.5rem !important 1415 | } 1416 | 1417 | .ml-lg-4, 1418 | .mx-lg-4 { 1419 | margin-left: 1.5rem !important 1420 | } 1421 | 1422 | .m-lg-5 { 1423 | margin: 3rem !important 1424 | } 1425 | 1426 | .mt-lg-5, 1427 | .my-lg-5 { 1428 | margin-top: 3rem !important 1429 | } 1430 | 1431 | .mr-lg-5, 1432 | .mx-lg-5 { 1433 | margin-right: 3rem !important 1434 | } 1435 | 1436 | .mb-lg-5, 1437 | .my-lg-5 { 1438 | margin-bottom: 3rem !important 1439 | } 1440 | 1441 | .ml-lg-5, 1442 | .mx-lg-5 { 1443 | margin-left: 3rem !important 1444 | } 1445 | 1446 | .p-lg-0 { 1447 | padding: 0 !important 1448 | } 1449 | 1450 | .pt-lg-0, 1451 | .py-lg-0 { 1452 | padding-top: 0 !important 1453 | } 1454 | 1455 | .pr-lg-0, 1456 | .px-lg-0 { 1457 | padding-right: 0 !important 1458 | } 1459 | 1460 | .pb-lg-0, 1461 | .py-lg-0 { 1462 | padding-bottom: 0 !important 1463 | } 1464 | 1465 | .pl-lg-0, 1466 | .px-lg-0 { 1467 | padding-left: 0 !important 1468 | } 1469 | 1470 | .p-lg-1 { 1471 | padding: .25rem !important 1472 | } 1473 | 1474 | .pt-lg-1, 1475 | .py-lg-1 { 1476 | padding-top: .25rem !important 1477 | } 1478 | 1479 | .pr-lg-1, 1480 | .px-lg-1 { 1481 | padding-right: .25rem !important 1482 | } 1483 | 1484 | .pb-lg-1, 1485 | .py-lg-1 { 1486 | padding-bottom: .25rem !important 1487 | } 1488 | 1489 | .pl-lg-1, 1490 | .px-lg-1 { 1491 | padding-left: .25rem !important 1492 | } 1493 | 1494 | .p-lg-2 { 1495 | padding: .5rem !important 1496 | } 1497 | 1498 | .pt-lg-2, 1499 | .py-lg-2 { 1500 | padding-top: .5rem !important 1501 | } 1502 | 1503 | .pr-lg-2, 1504 | .px-lg-2 { 1505 | padding-right: .5rem !important 1506 | } 1507 | 1508 | .pb-lg-2, 1509 | .py-lg-2 { 1510 | padding-bottom: .5rem !important 1511 | } 1512 | 1513 | .pl-lg-2, 1514 | .px-lg-2 { 1515 | padding-left: .5rem !important 1516 | } 1517 | 1518 | .p-lg-3 { 1519 | padding: 1rem !important 1520 | } 1521 | 1522 | .pt-lg-3, 1523 | .py-lg-3 { 1524 | padding-top: 1rem !important 1525 | } 1526 | 1527 | .pr-lg-3, 1528 | .px-lg-3 { 1529 | padding-right: 1rem !important 1530 | } 1531 | 1532 | .pb-lg-3, 1533 | .py-lg-3 { 1534 | padding-bottom: 1rem !important 1535 | } 1536 | 1537 | .pl-lg-3, 1538 | .px-lg-3 { 1539 | padding-left: 1rem !important 1540 | } 1541 | 1542 | .p-lg-4 { 1543 | padding: 1.5rem !important 1544 | } 1545 | 1546 | .pt-lg-4, 1547 | .py-lg-4 { 1548 | padding-top: 1.5rem !important 1549 | } 1550 | 1551 | .pr-lg-4, 1552 | .px-lg-4 { 1553 | padding-right: 1.5rem !important 1554 | } 1555 | 1556 | .pb-lg-4, 1557 | .py-lg-4 { 1558 | padding-bottom: 1.5rem !important 1559 | } 1560 | 1561 | .pl-lg-4, 1562 | .px-lg-4 { 1563 | padding-left: 1.5rem !important 1564 | } 1565 | 1566 | .p-lg-5 { 1567 | padding: 3rem !important 1568 | } 1569 | 1570 | .pt-lg-5, 1571 | .py-lg-5 { 1572 | padding-top: 3rem !important 1573 | } 1574 | 1575 | .pr-lg-5, 1576 | .px-lg-5 { 1577 | padding-right: 3rem !important 1578 | } 1579 | 1580 | .pb-lg-5, 1581 | .py-lg-5 { 1582 | padding-bottom: 3rem !important 1583 | } 1584 | 1585 | .pl-lg-5, 1586 | .px-lg-5 { 1587 | padding-left: 3rem !important 1588 | } 1589 | 1590 | .m-lg-n1 { 1591 | margin: -.25rem !important 1592 | } 1593 | 1594 | .mt-lg-n1, 1595 | .my-lg-n1 { 1596 | margin-top: -.25rem !important 1597 | } 1598 | 1599 | .mr-lg-n1, 1600 | .mx-lg-n1 { 1601 | margin-right: -.25rem !important 1602 | } 1603 | 1604 | .mb-lg-n1, 1605 | .my-lg-n1 { 1606 | margin-bottom: -.25rem !important 1607 | } 1608 | 1609 | .ml-lg-n1, 1610 | .mx-lg-n1 { 1611 | margin-left: -.25rem !important 1612 | } 1613 | 1614 | .m-lg-n2 { 1615 | margin: -.5rem !important 1616 | } 1617 | 1618 | .mt-lg-n2, 1619 | .my-lg-n2 { 1620 | margin-top: -.5rem !important 1621 | } 1622 | 1623 | .mr-lg-n2, 1624 | .mx-lg-n2 { 1625 | margin-right: -.5rem !important 1626 | } 1627 | 1628 | .mb-lg-n2, 1629 | .my-lg-n2 { 1630 | margin-bottom: -.5rem !important 1631 | } 1632 | 1633 | .ml-lg-n2, 1634 | .mx-lg-n2 { 1635 | margin-left: -.5rem !important 1636 | } 1637 | 1638 | .m-lg-n3 { 1639 | margin: -1rem !important 1640 | } 1641 | 1642 | .mt-lg-n3, 1643 | .my-lg-n3 { 1644 | margin-top: -1rem !important 1645 | } 1646 | 1647 | .mr-lg-n3, 1648 | .mx-lg-n3 { 1649 | margin-right: -1rem !important 1650 | } 1651 | 1652 | .mb-lg-n3, 1653 | .my-lg-n3 { 1654 | margin-bottom: -1rem !important 1655 | } 1656 | 1657 | .ml-lg-n3, 1658 | .mx-lg-n3 { 1659 | margin-left: -1rem !important 1660 | } 1661 | 1662 | .m-lg-n4 { 1663 | margin: -1.5rem !important 1664 | } 1665 | 1666 | .mt-lg-n4, 1667 | .my-lg-n4 { 1668 | margin-top: -1.5rem !important 1669 | } 1670 | 1671 | .mr-lg-n4, 1672 | .mx-lg-n4 { 1673 | margin-right: -1.5rem !important 1674 | } 1675 | 1676 | .mb-lg-n4, 1677 | .my-lg-n4 { 1678 | margin-bottom: -1.5rem !important 1679 | } 1680 | 1681 | .ml-lg-n4, 1682 | .mx-lg-n4 { 1683 | margin-left: -1.5rem !important 1684 | } 1685 | 1686 | .m-lg-n5 { 1687 | margin: -3rem !important 1688 | } 1689 | 1690 | .mt-lg-n5, 1691 | .my-lg-n5 { 1692 | margin-top: -3rem !important 1693 | } 1694 | 1695 | .mr-lg-n5, 1696 | .mx-lg-n5 { 1697 | margin-right: -3rem !important 1698 | } 1699 | 1700 | .mb-lg-n5, 1701 | .my-lg-n5 { 1702 | margin-bottom: -3rem !important 1703 | } 1704 | 1705 | .ml-lg-n5, 1706 | .mx-lg-n5 { 1707 | margin-left: -3rem !important 1708 | } 1709 | 1710 | .m-lg-auto { 1711 | margin: auto !important 1712 | } 1713 | 1714 | .mt-lg-auto, 1715 | .my-lg-auto { 1716 | margin-top: auto !important 1717 | } 1718 | 1719 | .mr-lg-auto, 1720 | .mx-lg-auto { 1721 | margin-right: auto !important 1722 | } 1723 | 1724 | .mb-lg-auto, 1725 | .my-lg-auto { 1726 | margin-bottom: auto !important 1727 | } 1728 | 1729 | .ml-lg-auto, 1730 | .mx-lg-auto { 1731 | margin-left: auto !important 1732 | } 1733 | } 1734 | 1735 | @media (min-width:1200px) { 1736 | .m-xl-0 { 1737 | margin: 0 !important 1738 | } 1739 | 1740 | .mt-xl-0, 1741 | .my-xl-0 { 1742 | margin-top: 0 !important 1743 | } 1744 | 1745 | .mr-xl-0, 1746 | .mx-xl-0 { 1747 | margin-right: 0 !important 1748 | } 1749 | 1750 | .mb-xl-0, 1751 | .my-xl-0 { 1752 | margin-bottom: 0 !important 1753 | } 1754 | 1755 | .ml-xl-0, 1756 | .mx-xl-0 { 1757 | margin-left: 0 !important 1758 | } 1759 | 1760 | .m-xl-1 { 1761 | margin: .25rem !important 1762 | } 1763 | 1764 | .mt-xl-1, 1765 | .my-xl-1 { 1766 | margin-top: .25rem !important 1767 | } 1768 | 1769 | .mr-xl-1, 1770 | .mx-xl-1 { 1771 | margin-right: .25rem !important 1772 | } 1773 | 1774 | .mb-xl-1, 1775 | .my-xl-1 { 1776 | margin-bottom: .25rem !important 1777 | } 1778 | 1779 | .ml-xl-1, 1780 | .mx-xl-1 { 1781 | margin-left: .25rem !important 1782 | } 1783 | 1784 | .m-xl-2 { 1785 | margin: .5rem !important 1786 | } 1787 | 1788 | .mt-xl-2, 1789 | .my-xl-2 { 1790 | margin-top: .5rem !important 1791 | } 1792 | 1793 | .mr-xl-2, 1794 | .mx-xl-2 { 1795 | margin-right: .5rem !important 1796 | } 1797 | 1798 | .mb-xl-2, 1799 | .my-xl-2 { 1800 | margin-bottom: .5rem !important 1801 | } 1802 | 1803 | .ml-xl-2, 1804 | .mx-xl-2 { 1805 | margin-left: .5rem !important 1806 | } 1807 | 1808 | .m-xl-3 { 1809 | margin: 1rem !important 1810 | } 1811 | 1812 | .mt-xl-3, 1813 | .my-xl-3 { 1814 | margin-top: 1rem !important 1815 | } 1816 | 1817 | .mr-xl-3, 1818 | .mx-xl-3 { 1819 | margin-right: 1rem !important 1820 | } 1821 | 1822 | .mb-xl-3, 1823 | .my-xl-3 { 1824 | margin-bottom: 1rem !important 1825 | } 1826 | 1827 | .ml-xl-3, 1828 | .mx-xl-3 { 1829 | margin-left: 1rem !important 1830 | } 1831 | 1832 | .m-xl-4 { 1833 | margin: 1.5rem !important 1834 | } 1835 | 1836 | .mt-xl-4, 1837 | .my-xl-4 { 1838 | margin-top: 1.5rem !important 1839 | } 1840 | 1841 | .mr-xl-4, 1842 | .mx-xl-4 { 1843 | margin-right: 1.5rem !important 1844 | } 1845 | 1846 | .mb-xl-4, 1847 | .my-xl-4 { 1848 | margin-bottom: 1.5rem !important 1849 | } 1850 | 1851 | .ml-xl-4, 1852 | .mx-xl-4 { 1853 | margin-left: 1.5rem !important 1854 | } 1855 | 1856 | .m-xl-5 { 1857 | margin: 3rem !important 1858 | } 1859 | 1860 | .mt-xl-5, 1861 | .my-xl-5 { 1862 | margin-top: 3rem !important 1863 | } 1864 | 1865 | .mr-xl-5, 1866 | .mx-xl-5 { 1867 | margin-right: 3rem !important 1868 | } 1869 | 1870 | .mb-xl-5, 1871 | .my-xl-5 { 1872 | margin-bottom: 3rem !important 1873 | } 1874 | 1875 | .ml-xl-5, 1876 | .mx-xl-5 { 1877 | margin-left: 3rem !important 1878 | } 1879 | 1880 | .p-xl-0 { 1881 | padding: 0 !important 1882 | } 1883 | 1884 | .pt-xl-0, 1885 | .py-xl-0 { 1886 | padding-top: 0 !important 1887 | } 1888 | 1889 | .pr-xl-0, 1890 | .px-xl-0 { 1891 | padding-right: 0 !important 1892 | } 1893 | 1894 | .pb-xl-0, 1895 | .py-xl-0 { 1896 | padding-bottom: 0 !important 1897 | } 1898 | 1899 | .pl-xl-0, 1900 | .px-xl-0 { 1901 | padding-left: 0 !important 1902 | } 1903 | 1904 | .p-xl-1 { 1905 | padding: .25rem !important 1906 | } 1907 | 1908 | .pt-xl-1, 1909 | .py-xl-1 { 1910 | padding-top: .25rem !important 1911 | } 1912 | 1913 | .pr-xl-1, 1914 | .px-xl-1 { 1915 | padding-right: .25rem !important 1916 | } 1917 | 1918 | .pb-xl-1, 1919 | .py-xl-1 { 1920 | padding-bottom: .25rem !important 1921 | } 1922 | 1923 | .pl-xl-1, 1924 | .px-xl-1 { 1925 | padding-left: .25rem !important 1926 | } 1927 | 1928 | .p-xl-2 { 1929 | padding: .5rem !important 1930 | } 1931 | 1932 | .pt-xl-2, 1933 | .py-xl-2 { 1934 | padding-top: .5rem !important 1935 | } 1936 | 1937 | .pr-xl-2, 1938 | .px-xl-2 { 1939 | padding-right: .5rem !important 1940 | } 1941 | 1942 | .pb-xl-2, 1943 | .py-xl-2 { 1944 | padding-bottom: .5rem !important 1945 | } 1946 | 1947 | .pl-xl-2, 1948 | .px-xl-2 { 1949 | padding-left: .5rem !important 1950 | } 1951 | 1952 | .p-xl-3 { 1953 | padding: 1rem !important 1954 | } 1955 | 1956 | .pt-xl-3, 1957 | .py-xl-3 { 1958 | padding-top: 1rem !important 1959 | } 1960 | 1961 | .pr-xl-3, 1962 | .px-xl-3 { 1963 | padding-right: 1rem !important 1964 | } 1965 | 1966 | .pb-xl-3, 1967 | .py-xl-3 { 1968 | padding-bottom: 1rem !important 1969 | } 1970 | 1971 | .pl-xl-3, 1972 | .px-xl-3 { 1973 | padding-left: 1rem !important 1974 | } 1975 | 1976 | .p-xl-4 { 1977 | padding: 1.5rem !important 1978 | } 1979 | 1980 | .pt-xl-4, 1981 | .py-xl-4 { 1982 | padding-top: 1.5rem !important 1983 | } 1984 | 1985 | .pr-xl-4, 1986 | .px-xl-4 { 1987 | padding-right: 1.5rem !important 1988 | } 1989 | 1990 | .pb-xl-4, 1991 | .py-xl-4 { 1992 | padding-bottom: 1.5rem !important 1993 | } 1994 | 1995 | .pl-xl-4, 1996 | .px-xl-4 { 1997 | padding-left: 1.5rem !important 1998 | } 1999 | 2000 | .p-xl-5 { 2001 | padding: 3rem !important 2002 | } 2003 | 2004 | .pt-xl-5, 2005 | .py-xl-5 { 2006 | padding-top: 3rem !important 2007 | } 2008 | 2009 | .pr-xl-5, 2010 | .px-xl-5 { 2011 | padding-right: 3rem !important 2012 | } 2013 | 2014 | .pb-xl-5, 2015 | .py-xl-5 { 2016 | padding-bottom: 3rem !important 2017 | } 2018 | 2019 | .pl-xl-5, 2020 | .px-xl-5 { 2021 | padding-left: 3rem !important 2022 | } 2023 | 2024 | .m-xl-n1 { 2025 | margin: -.25rem !important 2026 | } 2027 | 2028 | .mt-xl-n1, 2029 | .my-xl-n1 { 2030 | margin-top: -.25rem !important 2031 | } 2032 | 2033 | .mr-xl-n1, 2034 | .mx-xl-n1 { 2035 | margin-right: -.25rem !important 2036 | } 2037 | 2038 | .mb-xl-n1, 2039 | .my-xl-n1 { 2040 | margin-bottom: -.25rem !important 2041 | } 2042 | 2043 | .ml-xl-n1, 2044 | .mx-xl-n1 { 2045 | margin-left: -.25rem !important 2046 | } 2047 | 2048 | .m-xl-n2 { 2049 | margin: -.5rem !important 2050 | } 2051 | 2052 | .mt-xl-n2, 2053 | .my-xl-n2 { 2054 | margin-top: -.5rem !important 2055 | } 2056 | 2057 | .mr-xl-n2, 2058 | .mx-xl-n2 { 2059 | margin-right: -.5rem !important 2060 | } 2061 | 2062 | .mb-xl-n2, 2063 | .my-xl-n2 { 2064 | margin-bottom: -.5rem !important 2065 | } 2066 | 2067 | .ml-xl-n2, 2068 | .mx-xl-n2 { 2069 | margin-left: -.5rem !important 2070 | } 2071 | 2072 | .m-xl-n3 { 2073 | margin: -1rem !important 2074 | } 2075 | 2076 | .mt-xl-n3, 2077 | .my-xl-n3 { 2078 | margin-top: -1rem !important 2079 | } 2080 | 2081 | .mr-xl-n3, 2082 | .mx-xl-n3 { 2083 | margin-right: -1rem !important 2084 | } 2085 | 2086 | .mb-xl-n3, 2087 | .my-xl-n3 { 2088 | margin-bottom: -1rem !important 2089 | } 2090 | 2091 | .ml-xl-n3, 2092 | .mx-xl-n3 { 2093 | margin-left: -1rem !important 2094 | } 2095 | 2096 | .m-xl-n4 { 2097 | margin: -1.5rem !important 2098 | } 2099 | 2100 | .mt-xl-n4, 2101 | .my-xl-n4 { 2102 | margin-top: -1.5rem !important 2103 | } 2104 | 2105 | .mr-xl-n4, 2106 | .mx-xl-n4 { 2107 | margin-right: -1.5rem !important 2108 | } 2109 | 2110 | .mb-xl-n4, 2111 | .my-xl-n4 { 2112 | margin-bottom: -1.5rem !important 2113 | } 2114 | 2115 | .ml-xl-n4, 2116 | .mx-xl-n4 { 2117 | margin-left: -1.5rem !important 2118 | } 2119 | 2120 | .m-xl-n5 { 2121 | margin: -3rem !important 2122 | } 2123 | 2124 | .mt-xl-n5, 2125 | .my-xl-n5 { 2126 | margin-top: -3rem !important 2127 | } 2128 | 2129 | .mr-xl-n5, 2130 | .mx-xl-n5 { 2131 | margin-right: -3rem !important 2132 | } 2133 | 2134 | .mb-xl-n5, 2135 | .my-xl-n5 { 2136 | margin-bottom: -3rem !important 2137 | } 2138 | 2139 | .ml-xl-n5, 2140 | .mx-xl-n5 { 2141 | margin-left: -3rem !important 2142 | } 2143 | 2144 | .m-xl-auto { 2145 | margin: auto !important 2146 | } 2147 | 2148 | .mt-xl-auto, 2149 | .my-xl-auto { 2150 | margin-top: auto !important 2151 | } 2152 | 2153 | .mr-xl-auto, 2154 | .mx-xl-auto { 2155 | margin-right: auto !important 2156 | } 2157 | 2158 | .mb-xl-auto, 2159 | .my-xl-auto { 2160 | margin-bottom: auto !important 2161 | } 2162 | 2163 | .ml-xl-auto, 2164 | .mx-xl-auto { 2165 | margin-left: auto !important 2166 | } 2167 | } -------------------------------------------------------------------------------- /Frontend/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeChefVIT/TechChronicles/b49c6edd3428b515ebbbc7a46a8fe09b6998b03a/Frontend/img/bg.png -------------------------------------------------------------------------------- /Frontend/img/bottom-splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeChefVIT/TechChronicles/b49c6edd3428b515ebbbc7a46a8fe09b6998b03a/Frontend/img/bottom-splash.png -------------------------------------------------------------------------------- /Frontend/img/coding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeChefVIT/TechChronicles/b49c6edd3428b515ebbbc7a46a8fe09b6998b03a/Frontend/img/coding.png -------------------------------------------------------------------------------- /Frontend/img/community.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Frontend/img/dcoder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeChefVIT/TechChronicles/b49c6edd3428b515ebbbc7a46a8fe09b6998b03a/Frontend/img/dcoder.png -------------------------------------------------------------------------------- /Frontend/img/devsoc21-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeChefVIT/TechChronicles/b49c6edd3428b515ebbbc7a46a8fe09b6998b03a/Frontend/img/devsoc21-new.png -------------------------------------------------------------------------------- /Frontend/img/laptop-blogging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeChefVIT/TechChronicles/b49c6edd3428b515ebbbc7a46a8fe09b6998b03a/Frontend/img/laptop-blogging.png -------------------------------------------------------------------------------- /Frontend/img/main-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeChefVIT/TechChronicles/b49c6edd3428b515ebbbc7a46a8fe09b6998b03a/Frontend/img/main-bg.png -------------------------------------------------------------------------------- /Frontend/img/medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodeChefVIT/TechChronicles/b49c6edd3428b515ebbbc7a46a8fe09b6998b03a/Frontend/img/medium.png -------------------------------------------------------------------------------- /Frontend/img/writefull_logo.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Frontend/js/index.js: -------------------------------------------------------------------------------- 1 | 2 | (function ($) { 3 | "use strict"; 4 | 5 | // Loader 6 | $(function () { 7 | var loader = function () { 8 | setTimeout(function () { 9 | if ($('#loader').length > 0) { 10 | $('#loader').removeClass('show'); 11 | } 12 | }, 1); 13 | }; 14 | loader(); 15 | }); 16 | 17 | // Auto Init 18 | M.AutoInit(); 19 | 20 | // Carousel 21 | var elems = document.querySelectorAll('.carousel'); 22 | var options = { 23 | fullWidth: false, 24 | indicators: false 25 | }; 26 | var instance = M.Carousel.init(elems, options); 27 | setInterval(function () { 28 | $('.carousel').carousel('next'); 29 | }, 5000); 30 | 31 | })(jQuery); 32 | 33 | function submitDraft() { 34 | var email = document.getElementById("email").value; 35 | var registration_number = document.getElementById("registration_number").value; 36 | var name = document.getElementById("name").value; 37 | var mobile_number = document.getElementById("mobile_number").value; 38 | var data_link = document.getElementById("data_link").value; 39 | if (name != "" && registration_number != "" && email != "" && mobile_number != "" && data_link != "") { 40 | document.getElementById("regBtn").disabled = true; 41 | grecaptcha.ready(() => { 42 | grecaptcha.execute('6LdVV3kaAAAAAOdPoch4qj8g5DKmHAAdS9ZmlFlo', { 43 | action: '/' 44 | }).then((token) => { 45 | var data = { 46 | email, 47 | registration_number, 48 | name, 49 | mobile_number, 50 | data_link, 51 | captcha: token 52 | } 53 | var xh = new XMLHttpRequest(); 54 | xh.open("POST", "https://techchronicle.herokuapp.com/register/addUser", true) 55 | xh.setRequestHeader('Content-Type', 'application/json') 56 | xh.send(JSON.stringify(data)) 57 | xh.onload = function () { 58 | if (this.status == 201) { 59 | M.toast({ html: 'We have received your submission 🎉' }); 60 | document.getElementById("regBtn").disabled = false; 61 | } else if (this.status == 400) { 62 | M.toast({ html: 'Seems like you didn\'t enter something 😔' }); 63 | document.getElementById("regBtn").disabled = false; 64 | } else if (this.status == 401) { 65 | M.toast({ html: 'Invalid reCaptcha token 😨' }); 66 | document.getElementById("regBtn").disabled = false; 67 | } 68 | else { 69 | M.toast({ html: 'Oops something seems to be wrong. Our team is finding out what went wrong 😢' }); 70 | document.getElementById("regBtn").disabled = false; 71 | } 72 | } 73 | }); 74 | }); 75 | } 76 | else { 77 | M.toast({ html: 'Seems like you didn\'t enter something 😔' }); 78 | } 79 | } 80 | 81 | console.clear(); -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 CodeChef-VIT 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
3 | 4 | # TechChronicles 5 | 6 | >32 | With :heart: by CodeChef-VIT 33 |
34 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | const express = require("express"); 2 | const mongoose = require("mongoose"); 3 | const bodyParser = require("body-parser"); 4 | require("dotenv").config(); 5 | const cors = require("cors"); 6 | const rateLimit = require("express-rate-limit"); 7 | ////routers 8 | var morgan = require("morgan"); 9 | 10 | const logResponseBody = require("./Backend/utils/logResponses"); 11 | 12 | const app = express(); 13 | 14 | const dbURI = process.env.MONGO_URL; 15 | 16 | mongoose 17 | .connect(dbURI, { 18 | useNewUrlParser: true, 19 | useCreateIndex: true, 20 | useUnifiedTopology: true, 21 | }) 22 | .then(() => console.log("Database Connected")) 23 | .catch((err) => console.log(err)); 24 | 25 | mongoose.Promise = global.Promise; 26 | 27 | app.use(bodyParser.urlencoded({ extended: false })); 28 | app.use(bodyParser.json()); 29 | 30 | /////Rate Limiter 31 | const limiter = rateLimit({ 32 | windowMs: 15 * 60 * 1000, // 15 minutes 33 | max: 150, // limit each IP to 100 requests per windowMs 34 | }); 35 | 36 | // apply to all requests 37 | app.use(limiter); 38 | 39 | app.use(logResponseBody); 40 | app.use(morgan("combined")); 41 | 42 | // Allow CORS 43 | app.use((req, res, next) => { 44 | res.header("Access-Control-Allow-Origin", "*"); 45 | res.header( 46 | "Access-Control-Allow-Headers", 47 | "Origin, X-Requested-With, Content-Type, Accept, Authorization,auth-token" 48 | ); 49 | if (req.method === "OPTIONS") { 50 | res.header("Access-Control-Allow-Methods", "PUT, POST, PATCH, DELETE, GET"); 51 | return res.status(200).json({}); 52 | } 53 | next(); 54 | }); 55 | 56 | app.use(cors()); 57 | 58 | app.use("/register", require('./Backend/api/routes/registration.routes')); 59 | app.use("/codeInvicta", require('./Backend/api/routes/codeInvicta.routes')); 60 | 61 | app.get('/', async (req, res) => { 62 | res.send('Server is running') 63 | }) 64 | 65 | //route not found 66 | app.use((req, res, next) => { 67 | const error = new Error("Route not found"); 68 | error.status = 404; 69 | next(error); 70 | }); 71 | 72 | app.use((error, req, res, next) => { 73 | res.status(error.status || 500); 74 | res.json({ 75 | error: { 76 | message: error.message, 77 | }, 78 | }); 79 | }); 80 | 81 | const PORT = process.env.PORT || 3000; 82 | 83 | app.listen(PORT, () => { 84 | console.log(`Listening on port ${PORT}`); 85 | }); -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 22 | 23 | 24 |