/** * SPDX-License-Identifier: ISC * * Copyright (C) 2019 rsiddharth * * This file is part of nfsw. */ @font-face { font-family: roboto-black; src: url('./fonts/roboto-black.ttf'); } @font-face { font-family: roboto-medium; src: url('./fonts/roboto-medium.ttf'); } @font-face { font-family: roboto-regular; src: url('./fonts/roboto-regular.ttf'); } .msg-block { font-family: roboto-black; background: rgb(158,0,0); color: rgb(255,255,255); margin-bottom: 14px; } .msg-block p { margin: 0 0 0 0; padding: 10px; } .auth-grid { display: grid; grid-template-rows: 29vh 225px 29vh; grid-template-columns: auto 370px auto; } .auth-grid-item { grid-column-start: 2; grid-column-end: 3; grid-row-start: 2; grid-row-end: 3; } header h1 { font-family: roboto-black; font-size: 35px; } .form-group { display: flex; flex-direction: row; justify-content: space-between; padding-bottom: 10px; } .button-group { display: flex; flex-direction: row; justify-content: flex-start; } .button-group .back a { font-size: 40px; text-decoration: none; color: rgb(10,10,10); } label { font-family: roboto-medium; font-size: 20px; flex-basis: auto; } input[type="text"], input[type="password"] { font-family: roboto-regular; font-size: 20px; border: 3px solid rgb(10,10,10); flex-basis: auto; } input[type="text"], input[type="password"] { font-family: roboto-regular; font-size: 20px; border: 3px solid rgb(10,10,10); outline: none; flex-basis: auto; } input[type="submit"] { font-family: roboto-medium; font-size: 20px; border: 1px solid rgb(10, 10,10); background-color: rgb(10,10,10); color: rgb(240,240,240); border-radius: 5px; padding: 11px 13px 11px 13px; cursor: pointer; } @media (min-width: 100px) and (max-width: 650px) { .auth-grid { grid-template-columns: auto 80vw auto; } .form-group { flex-direction: column; } .button { width: 75vw; } }