// font stuff @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,200,300,600,700,900); // colour stuff @white: #ffffff; @lightBG: #dce1df; @salmon: #ff6666; @teal: #0096a0; @tealMid: #0ebac7; @tealContrast: #33ffff; @tealShade: #007c85; @darkGrey: #4f585e; @darkmode-header: #060606; @darkmode-BG: #2c2c2e; @darkmode-Card: #1e1f26; body { background: @darkmode-BG; color: @white; font-family: "Source Sans Pro", sans-serif; text-rendering: optimizeLegibility; margin: 0px; } div.header { background-color: @darkmode-header; color: @white; text-align: center; padding: 20px; padding-top: 30px; margin: 0; border-bottom: @teal 2px solid; h1 { margin: 5px; } } div.navbar { overflow: hidden; background-color: #252830; position: sticky; position: -webkit-sticky; top: 0; z-index: 20; border-bottom: darken(@teal, 0) 1px solid; a { float: left; display: block; color: @white; text-align: center; padding: 14px 20px; text-decoration: none; } a.active { background-color: lighten(@darkGrey, 10); } a:hover { background-color: @darkGrey; } a.right { float: right; } .user { fill: @white; height: 16px; max-width: 1.5em; } } div.main { display: flex; } div.modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 21; /* Sit on top */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0, 0, 0); /* Fallback color */ background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */ padding-top: 60px; /* Modal Content/Box */ .modal-content { background-color: lighten(@darkmode-BG, 20); margin: 5px auto; /* 15% from the top and centered */ border: 1px solid lighten(@tealMid, 0); width: 40%; /* Could be more or less, depending on screen size */ input[type="text"], input[type="password"] { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; box-sizing: border-box; } button { background-color: @tealMid; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; width: 100%; } button:hover { opacity: 0.8; } div.container:nth-child(3) { background-color: lighten(@darkmode-BG, 10) } .cancelbtn { width: auto; padding: 10px 18px; background-color: #f44336; } /* Center the image and position the close button */ .imgcontainer { text-align: center; margin: 24px 0 12px 0; position: relative; } img.avatar { width: 40%; border-radius: 50%; aspect-ratio: 1; object-fit: cover; } .container { padding: 16px; } span.psw { float: right; padding-top: 16px; } } /* The Close Button */ .close { /* Position it in the top right corner outside of the modal */ position: absolute; right: 25px; top: 0; color: @teal; font-size: 35px; font-weight: bold; } /* Close button on hover */ .close:hover, .close:focus { color: darken(@teal, 10); cursor: pointer; } /* Add Zoom Animation */ .animate { -webkit-animation: animatezoom 0.6s; animation: animatezoom 0.6s; } @-webkit-keyframes animatezoom { from { -webkit-transform: scale(0); } to { -webkit-transform: scale(1); } } @keyframes animatezoom { from { transform: scale(0); } to { transform: scale(1); } } }