-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.css
172 lines (163 loc) · 3.31 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
body, input, select, textarea, button {
font-family: Calibri, "Apple Lisong", Ubuntu, sans-serif;
}
body, h1, h2, h3, h4, h5, h6, ul, ol, p {
margin: 0px;
padding: 0px;
}
body {
background-color: #fff;
max-width: 800px;
margin: 0px auto;
}
h1 {
font-size: 20pt;
}
h2 {
font-size: 16pt;
}
h3 {
font-size: 14pt;
}
h4 {
font-size: 12pt;
}
input, select, textarea, button {
font-size: 12pt;
}
h1 {
background-color: #ddd;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eee), color-stop(1, #ccc));
background-image: -moz-linear-gradient(-90deg, #eee, #ccc);
background-image: -o-linear-gradient(-90deg, #eee, #ccc);
padding: 10px;
margin-bottom: 8px;
box-shadow: 1px 1px 2px #666;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
color: #336;
}
p {
margin-left: 16px;
margin-right: 8px;
margin-bottom: 16px;
}
div.now {
position: absolute;
top: 0;
right: 0;
font-size: 8pt;
}
ul {
padding-left: 0px;
margin: 0px 8px;
}
li {
list-style-type: none;
margin-bottom: 8px;
}
li a {
text-decoration: none;
color: black;
}
li p>a, a.link {
text-decoration: underline;
color: #0000a0;
}
li a.alttype {
float: right;
font-weight: bold;
padding-right: 5px;
padding-left: 5px;
margin-left: 5px;
}
li a.print {
border-right: solid 8px #a0a000;
}
li a.reveal {
border-right: solid 8px #a0a000;
}
li a.source {
border-right: solid 8px #00a000;
}
li h2 {
padding: 4px 0px 4px 8px;
margin: 12px 0px 4px 0px;
border-left: solid 8px #ddd;
}
li.menu:hover, li.deck:hover {
background-color: #eee;
box-shadow: 1px 1px 2px #666;
}
li.menu h2 {
border-left: solid 8px #00a0d0;
}
li.submenu h2 {
border-left: none;
font-size: 14pt;
}
li.deck h2 {
border-left: solid 8px #a0a000;
}
li.demo h2, li.app h2 {
border-left: solid 8px #00a000;
}
li p, li table {
margin-left: 16px;
margin-right: 8px;
color: #666;
font-style: italic;
}
li img {
float: right;
}
/* Pages where all subitems are expanded into a single page. Used for Exercises. */
ul.expand2>li {
list-style-type: square;
margin-left: 30px;
}
ul.expand2>li>h2 {
font-weight: normal;
font-size: 12pt;
padding-left: 0px;
}
/* The footer element is used for linking demos to their source files at Github */
body > ul {
margin-bottom: 40px;
}
footer {
margin-top: 30px;
font-size: 10pt;
color: #666;
padding: 10px;
background-color: #ddd;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eee), color-stop(1, #ccc));
background-image: -moz-linear-gradient(-90deg, #eee, #ccc);
background-image: -o-linear-gradient(-90deg, #eee, #ccc);
box-shadow: 1px 1px 2px #666;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
width: 780px;
margin: 0% -400px;
position: fixed;
left: 50%;
bottom: 0%;
}
@media (min-width: 801px) {
body {
overflow-y: scroll;
}
}
@media (max-width: 800px) {
h1 {
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
footer {
border-top-left-radius: 0px;
border-top-right-radius: 0px;
width: 100%;
margin: 0px;
left: 0%;
}
}