-
Notifications
You must be signed in to change notification settings - Fork 8
/
tutorial.css
105 lines (90 loc) · 1.72 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
94
95
96
97
98
99
100
101
102
103
104
105
.example_frame {
width: 125%;
height: 125%;
-ms-zoom: .8;
-moz-transform-origin: 0 0;
-moz-transform: scale(.8);
-o-transform: scale(.8);
-o-transform-origin: 0 0;
-webkit-transform: scale(.8);
-webkit-transform-origin: 0 0;
}
/*
Your basic centered image
*/
.knit_image {
display: block;
margin-left: auto;
margin-right: auto;
}
/*
This will place a small black border around an image and also add some padding
to the top and bottom of an image.
*/
.knit_border {
display: block;
border: solid black;
border-radius: 5px;
box-shadow: 10px 10px 20px -5px gray;
margin-top: 10px;
margin-bottom: 20px;
}
/*
Defining widths for displaying window sizes. The small window looks a bit silly
in the center, so it's placed to the left. These are used with .knit_border and
.knit_image
*/
.big_window {
width: 90%;
}
.med_window {
width: 75%;
}
.small_window {
width: 50%;
margin-left: 0;
}
.rmd_example_outer {
width: 100%;
}
.rmd_example_inner {
width: 50%;
float: left;
height: 100%
}
.rmd_example_code {
height: 100%
}
.rmd_example_result {
background-color: lightyellow;
border-style: dotted;
border-width: 3px;
border-color: #007fff;
padding: 10px 20px;
margin: 0px 0px 20px 0px;
zoom: 1;
-moz-transform: scale(1);
}
#exercise {
display: block;
width: 100%;
font-weight: bold;
background: #e6ffff;
margin-left: auto;
margin-right: auto;
padding: 20px 25px;
border-width: 3px;
border-style: solid;
border-color: #1695A3;
border-radius: 20px;
/*box-shadow: 10px 10px 20px -5px gray;*/
}
div.r-help-page {
background-color: #f9f9f9;
border-bottom: #ddd 1px solid;
margin-bottom: 10px;
padding: 10px;
}
div.r-help-page:hover {
background-color: #f4f4f4;
}