all repos — nirvash @ e7456651350df48a7093462997489ef02f2b4fda

modular CMS using the quartzgun library

static/style.css (raw)

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
body {
  padding: 0;
  margin: 0;
  font-family: sans;
}

.login-body {
  background: url('/static/bg.png');
  background-size: cover;
  background-position: center center;
  height: 100vh;
}

.login {
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  background-color: rgba(0,0,0,0.8);
  padding: 1em;
}

.login h1 {
  font-size: 225%;
  text-transform: uppercase;
  color: lightgray;
}

.login form input {
  display: block;
  margin: 1em;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  border: solid 2px lightgray;
  font-size: 200%;
  color: lightgray;
  padding: 0.2em;
}

.login form input[type="text"], login form input[type="password"] {
  transition: border 1s;
  outline: none;
}

.login form input:focus {
  border: solid 2px cyan;
  outline: none;
}


.login form input[type="submit"] {
  text-transform: uppercase;
  transition: background 1s, color 1s;
}

.login form input[type="submit"]:hover {
  background: lightgray;
  color: black;
}

.login .error {
  positon: relative;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: lightgray;
  border-bottom: 2px solid crimson;
  width: auto;
}