File tree Expand file tree Collapse file tree 4 files changed +1340
-1
lines changed Expand file tree Collapse file tree 4 files changed +1340
-1
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ let page =
444
444
You need to install the corresponding stylesheets and images into your
445
445
project. The stylesheet files should go to the directory
446
446
` static/css ` .
447
- [ graffiti.css] ( http://ocsigen.org/tuto/files/tutorial/static/css/graffiti.css ) is a custom-made CSS file.
447
+ File [ graffiti.css] ( http://ocsigen.org/tuto/files/tutorial/static/css/graffiti.css ) is a custom-made CSS file.
448
448
449
449
You can then test your application (` make test.byte ` ).
450
450
Original file line number Diff line number Diff line change
1
+
2
+
3
+
4
+
5
+ /****** Switch button (from html_of_wiki) *****/
6
+ /* Update the switch button's content */
7
+ body : not (.reason ) button # reason ::after {
8
+ content : 'Reason' ;
9
+ }
10
+ body .reason button # reason ::after {
11
+ content : 'OCaml' ;
12
+ }
13
+
14
+ /* <pre> is shared among the original and automatically translated code, so we
15
+ * only hide those containing manually translated code, which would otherwise
16
+ * appear as empty boxes (with a background, because <code> is inline). */
17
+ body : not (.reason ) pre .language-reason .manually-translated ,
18
+ body .reason pre .language-ocaml .manually-translated ,
19
+ /* Hide the translated ReasonML code from OCaml users */
20
+ body : not (.reason ) code .language-reason ,
21
+ /* API pages only use <pre> elements for OCaml code... */
22
+ body .reason pre .language-ocaml .standalone ,
23
+ body : not (.reason ) pre .language-reason .standalone ,
24
+ /* Hide the original OCaml code from ReasonML users */
25
+ body .reason code .language-ocaml : not (.error ) {
26
+ display : none
27
+ }
You can’t perform that action at this time.
0 commit comments