forked from max-mapper/requirebin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathembed.css
101 lines (96 loc) · 1.37 KB
/
embed.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
/* utils */
html, body {
height: 100%;
}
.stretch {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
iframe {
position: absolute;
}
body {
font: 300 12px "Helvetica Neue", Helvetica, Arial;
overflow: hidden;
}
pre {
padding: 10px;
margin: 0;
border: none;
background-color: transparent;
}
code {
line-height: 14px;
font-size: 10px;
}
/* top bar */
#nav {
display: none;
z-index: 1;
padding: 10px;
height: 30px;
border-bottom: 1px solid #eee;
}
#nav .btn {
display: none;
font-size: 12px;
padding: 5px 7px;
}
#nav .btn.visible {
display: inline-block;
}
.logo {
position: absolute;
right: 5px;
top: 10px;
}
.logo a {
text-decoration: none;
}
.logo img {
width: 150px;
}
/* badge */
#requirebin-badge {
position: absolute;
display: none;
top: -75px;
right: -75px;
width: 100px;
height: 100px;
z-index: 1;
-webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease;
-ms-transition: all 500ms ease;
-o-transition: all 500ms ease;
transition: all 500ms ease;
}
#requirebin-badge:hover {
top: -15px;
right: -15px;
}
/* editors */
#output {
position: absolute;
top: 50px;
overflow: auto;
}
#output > div {
display: none;
}
#output > div.active {
display: block;
}
/* plain mode */
.plain #output {
top: 0;
}
.plain #nav {
display: none;
}
.plain #requirebin-badge {
display: block;
}