-
Notifications
You must be signed in to change notification settings - Fork 20
/
ferris.css
75 lines (68 loc) · 1.31 KB
/
ferris.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
body.light .does_not_compile,
body.light .panics,
body.light .not_desired_behavior,
body.rust .does_not_compile,
body.rust .panics,
body.rust .not_desired_behavior {
background: #fff1f1;
}
html.rust, html.light{
--sidebar-image: url(../img/RustLangES-light.svg);
}
html.navy, html.ayu, html.coal{
--sidebar-image: url(../img/RustLangES-dark.svg);
}
body{
container-name: body;
}
body.coal .does_not_compile,
body.coal .panics,
body.coal .not_desired_behavior,
body.navy .does_not_compile,
body.navy .panics,
body.navy .not_desired_behavior,
body.ayu .does_not_compile,
body.ayu .panics,
body.ayu .not_desired_behavior {
background: #501f21;
}
.ferris-container {
position: absolute;
z-index: 99;
right: 5px;
top: 30px;
}
.ferris {
vertical-align: top;
margin-left: 0.2em;
height: auto;
}
.ferris-large {
width: 4.5em;
}
.ferris-small {
width: 2.3em;
}
.ferris-explain {
width: 100px;
}
.sidebar-image {
width: var(--sidebar-width);
height: 100px;
background-image: var(--sidebar-image);
background-repeat: no-repeat;
background-size: contain;
position: absolute;
background-position: center;
top: 0;
}
.sidebar .sidebar-scrollbox{
margin-top: 100px;
}
.logo-separator{
height: 100px;
width: var(--sidebar-width);
position: fixed;
z-index: 1;
background: var(--quote-bg);
}