-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
56 lines (50 loc) · 1.02 KB
/
style.css
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
/* This CSS-file defines a common appearance for all html files */
body {
padding: 0;
margin: 0;
background-color: #0d0f40;
}
.centeredCanvasDiv {
position: absolute;
width: 800px;
height: 608px;
top: 50%;
left: 50%;
margin-left: -401px; /* margin is -0.5 * width, since we set a border, we have to subtract one px more */
margin-top: -305px;
border-radius: 3px;
border: 1px solid #ccc;
}
.centeredCanvas {
position: absolute;
top: 0;
left: 0;
}
.centeredDiv {
position: absolute;
width: 800px;
height: 608px;
top: 50%;
left: 50%;
margin-left: -401px;
margin-top: -305px;
background-color: black;
color: white;
-webkit-font-smoothing: antialiased;
border-radius: 3px;
border: 1px solid #ccc;
}
.logoParagraph {
margin-top: 20px;
/* logo is 573px wide */
margin-left: 113px;
}
.buttonParagraph {
margin-top: 5px;
margin-left: 73px;
}
.myForm {
width: 400px;
height: 120px;
margin-left: 235px;
}