-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (83 loc) · 1.52 KB
/
style.css
File metadata and controls
99 lines (83 loc) · 1.52 KB
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
* {
box-sizing: border-box;
}
html {
border-top: 2px solid #fff;
font-size: calc(1vw + 12px);
height: 100%;
}
body {
background: #f7f4f1;
font-family: 'Fira Sans', sans-serif;
font-weight: normal;
text-shadow: 0px 1px 0px rgba(255,255,255,0.75);
padding: 1em;
margin: 0;
height: 100%;
display: flex;
flex-direction: column;
}
.huge, .large, h2, h3, h4 {
font-weight: normal;
}
h1 {
text-align: center;
font-style: italic;
font-weight: 800;
margin: .5em 0;
font-size: 2.5em;
}
.vernum {
font-size: 1.25em;
}
.branch, .relnotes {
font-size: .8em;
}
#flex-container {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-flow: row wrap;
justify-content: space-around;
flex: 1;
padding: 0 1em;
}
.version {
background-repeat: no-repeat;
background-position: top center;
background-size: 90%;;
padding-top: 17vw;
text-align: center;
width: 17vw;
min-width: 160px; /* Branch logo width */
}
#stable {
background-image: url('images/rust-logo-blk.svg');
}
#beta {
background-image: url('images/rust-logo-beta.svg');
}
#nightly {
background-image: url('images/rust-logo-nightly.svg');
}
#next-release {
text-align: center;
}
.brand {
display: block;
overflow: hidden;
position: absolute;
top: 1em;
left: 1em;
background-image: url(images/rust-logo-blk.svg);
background-repeat: no-repeat;
text-indent: -9999px;
width: 6em;
height: 3em;
background-size: contain;
}
footer p {
margin: 0;
font-size: 0.6em;
}