-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamples.css
74 lines (63 loc) · 1.1 KB
/
examples.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
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body {
font: normal 62.5%/1.6em Helvetica, Arial, sans-serif;
position: relative;
overflow: hidden;
}
h1, p {
margin: 0;
padding: 1em;
font-size: 1.2em;
}
h1 {
margin-top: 1em;
font-size: 1.5em;
}
#header,
#layout,
#footer {
width: 100%;
}
#header {
top: 0;
left: 0;
bottom: 0;
right: 0;
height: 14.8em;
border-bottom: .3em solid #333;
position: absolute;
z-index: 10;
}
#layout {
height: 100%;
padding-bottom: 15em;
overflow: hidden;
position: relative;
z-index: 1;
}
#footer {
width: 100%;
height: 14.7em;
border-top: .3em solid #333;
margin-top: -15em;
overflow: hidden;
position: relative;
z-index: 5;
}
#layout,
.border-box {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
.scrollable {
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}