-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
109 lines (96 loc) · 2.38 KB
/
index.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
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
html, body {
height: 100%;
}
html {
/*display: table;*/
/*margin: auto;*/
}
body {
/*display: table-cell;
vertical-align: middle;*/
margin: 0;
padding: 0;
overflow: hidden;
background-color: #254f96;
/*background-image: url('http://media0.giphy.com/media/10D60NnXkMIaHe/giphy.gif');*/
background-size: cover;
}
/*div {
text-align: justify;
}*/
@font-face {
font-family: 'digital-7regular';
src: url('assets/digital-7-webfont.woff2') format('woff2'), url('assets/digital-7-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.center {
height: 900px;
position: relative;
}
.center div {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
#nummer {
font-family: 'digital-7regular';
color: #fff;
font-weight: 500;
font-size: 400px;
/*margin: auto;*/
}
@media all and (min-width: 1100px) {
#nummer {
font-size: 900px;
}
}
@media all and (min-width: 960px) and (max-width: 1099px) {
#nummer {
font-size: 800px;
}
}
@media all and (max-width: 959px) and (min-width: 600px) {
#nummer {
font-size: 600px;
}
}
#logo {
/*float: left;*/
position: fixed;
top: 10px;
left: 10px;
background: url(assets/logo.png);
background-size: 140px;
background-repeat: no-repeat;
width: 150px;
height: 200px;
}
#sv {
font-family: Ubuntu, sans-serif;
position: fixed;
bottom: 10px;
right: 10px;
color: #f88a00;
font-size: 20px;
}
#bg {
position: fixed;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
}
#bg img {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
min-width: 50%;
min-height: 50%;
}