1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
/**
* SPDX-License-Identifier: ISC
*
* Copyright (C) 2019 rsiddharth <s@ricketyspace.net>
*
* 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;
}
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;
}
}
|