blob: 95b55cb6b277a11d8a85c4eff556c92602b0118c (
plain)
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
|
html, body
{
background-color: black;
color: white;
font-family: 'sans-serif';
margin: 0;
padding: 0;
}
a {color: aqua;}
a:link {color: aqua;}
a:visited {color: fuchsia;}
a:hover {color: blue;}
a:active {color: red;}
button
{
background-color: darkgreen;
color: white;
font-family: 'sans-serif';
}
button:hover {color: blue;}
button:active {color: red;}
label
{
background-color:darkgreen;
color: white;
font-family: 'sans-serif';
font-size: 160%;
}
input
{
background-color:darkblue;
color: white;
font-family: 'sans-serif';
font-size: 80%;
}
textarea
{
background-color:darkblue;
color: white;
font-family: 'sans-serif';
font-size: 80%;
/* What idiot thought aligning the label with the bottom of textareas was a good default? */
vertical-align: top;
}
.container
{
position: relative;
text-align: left;
}
.top-left
{
position: absolute;
top: 8px;
left: 16px;
width: 30%;
}
.top-right
{
position: absolute;
top: 8px;
right: 16px;
width: 30%;
}
.centre
{
position: absolute;
top: 50%;
left: 50%;
width: 30%;
transform: translate(-50%, -50%);
}
.bottom-left
{
position: absolute;
bottom: 8px;
left: 16px;
width: 30%;
}
.bottom-right
{
position: absolute;
bottom: 8px;
right: 16px;
width: 30%;
}
|