/
tutorial.css
93 lines (78 loc) · 1.86 KB
/
tutorial.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
body {
margin: 3em;
padding: 0;
font-family: Arial, Verdana, sans-serif;
font-size: 14px;
font-weight: normal;
color: #333;
background-color: #e5e6e9;
}
article {
width: 55em;
}
a:link, a:visited {
color: #39f;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header p {
color: #aaafbb;
background-color: rgba(250,252,255,0.25);
margin: 0;
padding: 0.8em;
line-height: 1.6em;
font-size: 0.9em;
}
header p strong {
color: #808999;
}
h1, h2 {
color: rgba(255,255,255,0.9);
font-size: 2em;
margin-bottom: 0.05em;
padding: 0.5em;
background-color: #333;
text-shadow: 1px 2px 2px rgba(0,0,0,0.7);
box-shadow: 0 0.4em 0.6em rgba(40,150,255,0.2);
border-bottom: solid 3px #39f;
border-top: solid 2px #666;
border-radius: 0.25em 0.25em 2px 2px;
background: -moz-linear-gradient(top, #555 0%, #333 50%, #222 52%, #222 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555), color-stop(50%,#333), color-stop(54%,#222), color-stop(100%,#222)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #555 0%,#333 50%,#222 52%,#222 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #555 0%,#333 50%,#222 52%,#222 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #555 0%,#333 50%,#222 52%,#222 100%); /* IE10+ */
background: linear-gradient(to bottom, #555 0%,#333 50%,#222 52%,#222 100%); /* W3C */
}
h2 {
color: rgba(255,255,255,0.7);
font-size: 1.5em;
}
div.demo {
border: solid 2px rgba(255,255,255,0.4);
}
div.demo p {
margin: 0;
padding: 4px;
font-size: 0.9em;
}
textarea {
width: 100%;
height: 60px;
}
div.demo p a {
float: right;
}
iframe.demo {
background-color: rgba(255,255,255,0.25);
border: none;
margin-right: 8px;
}
code {
color: black;
background-color: rgba(255,255,255,0.5);
padding: 1px;
border-radius: 3px;
}