-
Notifications
You must be signed in to change notification settings - Fork 606
/
site.css
147 lines (143 loc) · 2.95 KB
/
site.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
body {
padding-top: 100px; /* required for fixed header */
}
#header {
background: #f9f9f9;
margin-bottom: 10px;
border-bottom: 1px solid lightgray;
}
.navbar-brand {
padding-top: 0;
padding-bottom: 0;
}
.navbar-brand a, navbar-brand a:visited {
color: black;
font-size: 38px;
}
.navbar-brand a:hover {
text-decoration: none;
}
#header ul.nav {
display: inline-block;
}
#header ul.nav {
float: right;
margin-top: 20px;
margin-right: 20px;
}
@media screen and (min-width: 992px) {
/* without this, the right-most menu goes off the page */
#header ul.nav {
margin-right: 75px;
}
}
@media screen and (min-width: 768px) and (max-width: 992px) {
/* The topnav drops down to the next line between these sizes. We must accomodate. */
body {
padding-top: 130px;
}
/* center the menu and logo */
.navbar-brand {
float: none;
text-align: center;
max-width: none;
}
#header ul.nav {
float: none;
display: table; /* shrink to fit */
margin-left: auto; /* center */
margin-right: auto;
}
}
@media screen and (max-width: 768px) {
#header .nav-collapse.in li, #header .nav-collapse.collapsing li {
float: none;
}
#header .nav-collapse.in .nav, #header .nav-collapse.collapsing .nav {
float: none;
}
}
code {
white-space: pre-wrap;
color: black;
background: transparent;
}
#demodiv {
width: 100%;
height: 320px;
margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
/* aspect ratio is weird on phones */
#demodiv {
height: 200px;
}
}
.dygraph-axis-label {
font-size: 12px;
}
.dygraph-title {
font-size: 16px;
}
h1{
margin-top: 20px;
margin-bottom: 20px;
}
pre{
background: #f9f9f9;
}
/*
#main {
margin-top: 30px;
}
.row {
margin-top: 30px;
}
*/
.row.smalltop {
margin-top: 10px;
}
/* maybe just used on annotations.html ? */
.thinborder {
border-width: 1px;
border-spacing: 0px;
border-style: solid;
border-color: black;
border-collapse: collapse;
}
.thinborder td,
.thinborder th {
border-width: 1px;
padding: 5px;
border-style: solid;
border-color: black;
}
#current-release {
font-size: 18px;
background: #f9f9f9;
/*
padding: 10px 15px;
border: 1px dashed black;
*/
display: table;
margin-bottom: 50px;
}
#current-release p:last-child {
margin-bottom: 0;
}
/* When you visit dygraphs.com/options.html#errorBars, the fixed top nav
* obscures the top 100px of content for that anchor. This is a workaround.
* See http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors
*/
a[name] {
padding-top: 100px; /* matches body { padding-top } */
margin-top: -100px; /* matches body { padding-top } */
display: inline-block; /* required for webkit browsers */
}
@media screen and (min-width: 768px) and (max-width: 992px) {
a[name] {
padding-top: 130px; /* matches body { padding-top } */
margin-top: -130px; /* matches body { padding-top } */
display: inline-block; /* required for webkit browsers */
}
}