Rev 8009 | Rev 8236 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
7075 | obado | 1 | /* Utilities.css */ |
2 | |||
3 | .center, .wimscenter{text-align:center;} |
||
8009 | bpr | 4 | /* to check ! */ |
5 | |||
6 | div.wimscenter{ margin:1.5rem 0.5rem 0.2rem 0.5rem; } |
||
7 | |||
7251 | obado | 8 | .blockcenter{ |
9 | margin-right:auto; |
||
10 | margin-left: auto; |
||
11 | } |
||
7075 | obado | 12 | |
6236 | bpr | 13 | .white{background-color: white;} |
7075 | obado | 14 | |
6236 | bpr | 15 | .float_right{ float:right;} |
16 | .float_left{ float:left;} |
||
7075 | obado | 17 | |
8009 | bpr | 18 | .smaller { font-size: 70%;} |
19 | .small { font-size: 90%;} |
||
6238 | bpr | 20 | .bold { font-weight:bold;} |
7075 | obado | 21 | |
6648 | bpr | 22 | .nowrap {white-space:nowrap;overflow: auto;} |
6236 | bpr | 23 | .wims_emph {font-style:italic ; color:#2A67FF;font-weight:bold;} |
24 | .clearall{clear: both;} |
||
7075 | obado | 25 | .inline {display:inline;display:inline-block;} |
6664 | bpr | 26 | |
7075 | obado | 27 | /* use .spacer on <br/> or <div> to add extra spaces */ |
28 | .spacer{ |
||
29 | content: " "; |
||
30 | display: block; |
||
31 | margin: 0.6em; |
||
32 | } |
||
33 | |||
6664 | bpr | 34 | /* default for audio */ |
7075 | obado | 35 | audio.wims_audio { |
36 | width:150px; |
||
6664 | bpr | 37 | margin:10px 0; |
38 | padding:5px; |
||
39 | } |
||
40 | |||
41 | /* default for jsxgraph */ |
||
42 | .jxgbox {margin-left:auto;margin-right:auto;} |
||
43 | .jsxgraph_button {text-align:center;} |
||
6980 | bpr | 44 | .jxgboxchild {margin-left:auto;margin-right:auto;} |
6664 | bpr | 45 | |
6236 | bpr | 46 | /* technical info */ |
7564 | obado | 47 | .wimstech {font-family: monospace, "Courier New";font-size:small} |
48 | |||
6635 | bpr | 49 | /* remark in small */ |
6236 | bpr | 50 | .wims_smallremark {font-size: small;} |
51 | |||
52 | /* use <br class="spacer" /> instead*/ |
||
7964 | obado | 53 | .emptyline { height:20px;} |
54 | .empty { width:5%;} |
||
6236 | bpr | 55 | |
56 | /* citation de contributeurs, de l'auteur*/ |
||
57 | .wims_contribute, .wims_credits { |
||
58 | padding-top: 10px; |
||
59 | padding-right:20px; |
||
60 | text-align:right; |
||
7075 | obado | 61 | color:#555; |
6236 | bpr | 62 | font-weight:bold; |
7075 | obado | 63 | font-size:.8em; |
6236 | bpr | 64 | } |
65 | |||
6310 | bpr | 66 | /* image centre */ |
67 | img.wimscenter { margin-left:auto;margin-right:auto;} |
||
6377 | bpr | 68 | |
7075 | obado | 69 | /* permalink */ |
7572 | obado | 70 | /*#export_media .about { |
7075 | obado | 71 | margin-top: 0; |
72 | background-repeat: no-repeat; |
||
73 | background-position: 0 50%; |
||
74 | padding-left: 28px; |
||
75 | line-height: 28px; |
||
76 | text-align: left; |
||
77 | } |
||
78 | #export_media{ |
||
79 | border: 1px solid #999; |
||
80 | padding: 5px; |
||
7572 | obado | 81 | }*/ |
7075 | obado | 82 | .wims_debug_mode{ |
83 | margin:auto; |
||
84 | width:50%; |
||
85 | font-size:small; |
||
86 | font-family: monospace; |
||
87 | border:1px solid #DFDFDF; |
||
88 | padding:0 .5em 0; |
||
7772 | bpr | 89 | } |
8009 | bpr | 90 | /* Technical instructions in exercises for example*/ |
91 | .wims_instruction { font-style:italic;font-size:small; |
||
8064 | bpr | 92 | margin:1.5rem 0.5rem 0.2rem 0.5rem;color:rgb(100,100,100); |
93 | background-color:rgba(230,230,230,0.3); |
||
94 | border:1px solid silver; |
||
8009 | bpr | 95 | } |
8064 | bpr | 96 | .wims_instruction, .wims_instruction h2{padding:.3rem .4rem;} |
97 | .wims_instruction h2{display:inline-block;font-size:0.8em;margin:-0.3rem; |
||
98 | background-color:silver;color:rgb(80,80,80)} |
||
7888 | obado | 99 | |
8064 | bpr | 100 | |
7888 | obado | 101 | /* ## Layout Classes ## */ |
102 | |||
103 | /* fullwidth : Takes maximum width available */ |
||
104 | .fullwidth{ |
||
105 | /*box-sizing: border-box;*/ |
||
106 | min-width:95%; |
||
107 | clear: both; |
||
7772 | bpr | 108 | } |
7888 | obado | 109 | |
110 | /* fullwidth : Takes half size */ |
||
111 | .halfwidth{ |
||
112 | width:50%; |
||
113 | box-sizing: border-box; |
||
114 | /*float: left;*/ |
||
115 | vertical-align: top; |
||
116 | } |
||
117 | |||
118 | /* |
||
8009 | bpr | 119 | Flexbox : a way to uniformize multiple box automatically |
7888 | obado | 120 | See more at http://css-tricks.com/snippets/css/a-guide-to-flexbox/ |
121 | */ |
||
122 | .flex_box{ |
||
123 | display: flex; |
||
124 | flex-flow: row wrap; |
||
125 | justify-content: space-around; |
||
126 | list-style:none; |
||
127 | margin:auto; |
||
128 | padding: 2px; |
||
129 | } |
||
130 | |||
7964 | obado | 131 | .flex_box>li{ |
7888 | obado | 132 | display:inline-block; |
7891 | obado | 133 | margin:2px 0; |
7888 | obado | 134 | } |
135 | |||
7968 | obado | 136 | /* Reset a jquery UI default */ |
137 | .main_body .ui-widget{ |
||
138 | font-size: inherit; |
||
139 | } |
||
140 | |||
141 | .ui-tabs{ |
||
142 | margin-bottom:.5em; |
||
143 | } |
||
144 | |||
145 | .main_body .ui-tabs .ui-tabs-panel{ |
||
146 | padding:.5em; |
||
147 | } |
||
148 | |||
8009 | bpr | 149 | .wims_instruction { |
150 | |||
151 | } |