forked from picosonic/js13k-2018
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
109 lines (99 loc) · 1.42 KB
/
main.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
body
{
position:absolute;
overflow:hidden;
top:0px;
left:0px;
width:100%;
height:100%;
margin:0px;
background-color:black;
color:white;
font-size:0px;
white-space:nowrap;
}
#wrapper
{
transform:translate3d(0, 0, 0);
position:absolute;
overflow-hidden;
left:0px;
top:0px;
width:100%;
height:100%;
margin:0px;
padding:0px;
font-height:0px;
}
#console
{
position:absolute;
overflow:hidden;
top:5%;
left:5%;
width:90%;
height:90%;
box-sizing:border-box;
border:6px solid #e28809;
border-radius:10px;
padding:5px;
background-color:#000;
text-align:left;
}
@keyframes flash_cursor
{
0% { opacity:0; visibility:hidden; }
50% { opacity:1; visibility:visible; }
100% { opactiy:0; visibility:hidden; }
}
#cursor
{
animation-name:flash_cursor;
animation-duration:1.2s;
animation-iteration-count:infinite;
}
#title
{
position:absolute;
overflow:hidden;
top:10px;
left:0px;
width:100%;
padding:5px;
background-color:#000;
text-align:center;
}
#backstory
{
position:absolute;
top:450px;
left:5%;
width:90%;
white-space:normal;
}
#backstory .block
{
width:3px;
height:3px;
}
#background
{
background:linear-gradient(to bottom, #000000 0%,#2a5298 100%);
}
#ui
{
position:fixed;
top:0;
left:0;
right:0;
bottom:0;
text-align:center;
}
.star
{
position:absolute;
display:inline-block;
width:1px;
height:1px;
background-color:white;
}