* { margin: 0px; padding: 0px; box-sizing: border-box; border-radius: 0px; color: #ECB365 } body { border: 5px solid #04293A; background-color: #041C32; display: grid; grid-template-rows: 1.5fr 0.5fr 2.5fr 1fr; width: 275px; padding: 0.5rem; } header { display: grid; grid-template-columns: 8fr 1fr; align-items: baseline; border-bottom: 1px solid #064663; margin-bottom: 0.5rem; } h1 { text-transform: uppercase; font-size: 30pt; } h2 { font-size: 12pt; } #token-area { display: grid; grid-template-rows: 1fr 1fr; margin-bottom: -10px; } #input-area { display: grid; grid-template-columns: 1fr 8fr 1fr; } #token-status { font-size: 1rem; } #token { border: none; background-color: #064663; color: #ECB365; } #token::placeholder { border-width: 1px; background-color: #064663; color: #8d7553; } #submit-token { border: none; background-color: #064663; font-size: 1rem; } #submit-token:hover { background-color: #04293A; } #submit-token:host() { background-color: #041C32; } #settings-area { display: grid; grid-template-rows: repeat(3, 1fr); } .setting { display: grid; grid-template-columns: 1fr 3fr; align-items: center; } .description { display: flex; align-items: center; } footer { border-top: 1px solid #064663; display: grid; grid-template-rows: repeat(3, 1fr); justify-items: right; } a, a:visited { text-decoration: none; color: #2e94c3; } /* The switch - the box around the slider */ .switch { position: relative; display: inline-block; align-items: center; width: 60px; height: 34px; transform: scale(0.65); } /* Hide default HTML checkbox */ .switch input { opacity: 0; width: 0; height: 0; } /* The slider */ .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: .4s; transition: .4s; } .slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; } input:checked + .slider { background-color: #2196F3; } input:focus + .slider { box-shadow: 0 0 1px #2196F3; } input:checked + .slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(26px); } /* Rounded sliders */ .slider.round { border-radius: 34px; } .slider.round:before { border-radius: 50%; }