forked from curran/model-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
96 lines (79 loc) · 1.71 KB
/
Copy pathstyles.css
File metadata and controls
96 lines (79 loc) · 1.71 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
/**
* CSS for the example viewer application.
*
* Curran Kelleher 3/5/2014.
*/
/**** Begin styles for all views. ****/
body {
font-family: Sans-Serif;
}
p, li {
font-size: 1.2em;
}
/* Center the title part of the page. */
.centered {
text-align: center;
}
.title {
font-size: 7em;
}
/* Make the title large and move it down a little so it is more vertically centered. */
.page-title {
font-size: 4em;
display: inline-block;
margin-bottom: 0px;
}
.side-title {
display: inline;
}
/**** Begin styles for the details view only. ****/
/**
* Style code editors on the details view.
* Autoresize code from http://codemirror.net/demo/resize.html
*/
.CodeMirror {
border: 1px solid #eee;
height: auto;
font-size: 1.2em;
}
.CodeMirror-scroll {
height: auto;
overflow-y: hidden;
overflow-x: hidden;
/* Limit height for the case of large JSON files */
max-height: 2000px;
}
/* Size the iFrame that contains the running example. */
.exampleFrame {
width: 100%;
height: 500px;
border: 1px lightgray solid;
margin-bottom: 10px;
}
.docsFrame {
width: 100%;
height: 100%;
}
/* Style the example entries on the home page. */
.example {
/* Add space below each example so the examples
* appear to be more visually grouped with their titles. */
margin-bottom: 10px;
/* Make the examples flow from left to right,
* rather than top to bottom. */
float: left;
padding-right: 10px;
}
/* Make example titles appear close to their corresponding image. */
.example p {
margin-bottom: 0px;
}
/* Put a light border around the example image. */
.example img {
border: 1px lightgray solid;
}
/* Style the names of source code files. */
.file-name {
font-size: 1.5em;
padding-top: 15px;
}