OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. |
| 7 */ |
| 8 .hidden { |
| 9 display: none; |
| 10 } |
| 11 |
| 12 .highlight { |
| 13 background-color: #eee; |
| 14 font-size: 1.2em; |
| 15 margin: 0 0 30px 0; |
| 16 padding: 0.2em 1.5em; |
| 17 } |
| 18 .warning { |
| 19 color: red; |
| 20 font-weight: 400; |
| 21 } |
| 22 |
| 23 div#errorMsg p { |
| 24 color: #F00; |
| 25 } |
| 26 |
| 27 body { |
| 28 font-family: 'Roboto', sans-serif; |
| 29 font-weight: 300; |
| 30 } |
| 31 |
| 32 a { |
| 33 color: #6fa8dc; |
| 34 font-weight: 300; |
| 35 text-decoration: none; |
| 36 } |
| 37 |
| 38 a:hover { |
| 39 color: #3d85c6; |
| 40 text-decoration: underline; |
| 41 } |
| 42 |
| 43 a#viewSource { |
| 44 display: block; |
| 45 margin: 1.3em 0 0 0; |
| 46 border-top: 1px solid #999; |
| 47 padding: 1em 0 0 0; |
| 48 } |
| 49 |
| 50 div#links a { |
| 51 display: block; |
| 52 line-height: 1.3em; |
| 53 margin: 0 0 1.5em 0; |
| 54 } |
| 55 |
| 56 div.outputSelector { |
| 57 margin: -1.3em 0 2em 0; |
| 58 } |
| 59 |
| 60 @media screen and (min-width: 1000px) { |
| 61 /* hack! to detect non-touch devices */ |
| 62 div#links a { |
| 63 line-height: 0.8em; |
| 64 } |
| 65 } |
| 66 |
| 67 h1 a { |
| 68 font-weight: 300; |
| 69 margin: 0 10px 0 0; |
| 70 white-space: nowrap; |
| 71 } |
| 72 |
| 73 audio { |
| 74 max-width: 100%; |
| 75 } |
| 76 |
| 77 body { |
| 78 font-family: 'Roboto', sans-serif; |
| 79 margin: 0; |
| 80 padding: 1em; |
| 81 word-break: break-word; |
| 82 } |
| 83 |
| 84 button { |
| 85 background-color: #d84a38; |
| 86 border: none; |
| 87 border-radius: 2px; |
| 88 color: white; |
| 89 font-family: 'Roboto', sans-serif; |
| 90 font-size: 0.8em; |
| 91 margin: 0 0 1em 0; |
| 92 padding: 0.5em 0.7em 0.6em 0.7em; |
| 93 } |
| 94 |
| 95 button:active { |
| 96 background-color: #cf402f; |
| 97 } |
| 98 |
| 99 button:hover { |
| 100 background-color: #cf402f; |
| 101 } |
| 102 |
| 103 button[disabled] { |
| 104 color: #ccc; |
| 105 } |
| 106 |
| 107 button[disabled]:hover { |
| 108 background-color: #d84a38; |
| 109 } |
| 110 |
| 111 canvas { |
| 112 background-color: #ccc; |
| 113 max-width: 100%; |
| 114 width: 100%; |
| 115 } |
| 116 |
| 117 code { |
| 118 font-family: 'Roboto', sans-serif; |
| 119 font-weight: 400; |
| 120 } |
| 121 |
| 122 div#container { |
| 123 margin: 0 auto 0 auto; |
| 124 max-width: 40em; |
| 125 padding: 1em 1.5em 1.3em 1.5em; |
| 126 } |
| 127 |
| 128 div#links { |
| 129 padding: 0.5em 0 0 0; |
| 130 } |
| 131 |
| 132 h1 { |
| 133 border-bottom: 1px solid #ccc; |
| 134 font-family: 'Roboto', sans-serif; |
| 135 font-weight: 500; |
| 136 margin: 0 0 0.8em 0; |
| 137 padding: 0 0 0.2em 0; |
| 138 } |
| 139 |
| 140 h2 { |
| 141 color: #444; |
| 142 font-size: 1em; |
| 143 font-weight: 500; |
| 144 line-height: 1.2em; |
| 145 margin: 0 0 0.8em 0; |
| 146 } |
| 147 |
| 148 h3 { |
| 149 border-top: 1px solid #eee; |
| 150 color: #666; |
| 151 font-weight: 500; |
| 152 margin: 20px 0 10px 0; |
| 153 padding: 10px 0 0 0; |
| 154 white-space: nowrap; |
| 155 } |
| 156 |
| 157 html { |
| 158 /* avoid annoying page width change |
| 159 when moving from the home page */ |
| 160 overflow-y: scroll; |
| 161 } |
| 162 |
| 163 img { |
| 164 border: none; |
| 165 max-width: 100%; |
| 166 } |
| 167 |
| 168 input[type=radio] { |
| 169 position: relative; |
| 170 top: -1px; |
| 171 } |
| 172 |
| 173 p { |
| 174 color: #444; |
| 175 font-weight: 300; |
| 176 line-height: 1.6em; |
| 177 } |
| 178 |
| 179 p#data { |
| 180 border-top: 1px dotted #666; |
| 181 font-family: Courier New, monospace; |
| 182 line-height: 1.3em; |
| 183 max-height: 1000px; |
| 184 overflow-y: auto; |
| 185 padding: 1em 0 0 0; |
| 186 } |
| 187 |
| 188 p.borderBelow { |
| 189 border-bottom: 1px solid #aaa; |
| 190 padding: 0 0 20px 0; |
| 191 } |
| 192 |
| 193 section p:last-of-type { |
| 194 margin: 0; |
| 195 } |
| 196 |
| 197 section { |
| 198 border-bottom: 1px solid #eee; |
| 199 margin: 0 0 30px 0; |
| 200 padding: 0 0 20px 0; |
| 201 } |
| 202 |
| 203 section:last-of-type { |
| 204 border-bottom: none; |
| 205 padding: 0 0 1em 0; |
| 206 } |
| 207 |
| 208 select { |
| 209 margin: 0 1em 1em 0; |
| 210 position: relative; |
| 211 top: -1px; |
| 212 } |
| 213 |
| 214 h1 span { |
| 215 white-space: nowrap; |
| 216 } |
| 217 |
| 218 strong { |
| 219 font-weight: 500; |
| 220 } |
| 221 |
| 222 textarea { |
| 223 font-family: 'Roboto', sans-serif; |
| 224 } |
| 225 |
| 226 video { |
| 227 background: #222; |
| 228 margin: 0 0 20px 0; |
| 229 width: 100%; |
| 230 } |
| 231 |
| 232 @media screen and (max-width: 650px) { |
| 233 .highlight { |
| 234 font-size: 1em; |
| 235 margin: 0 0 20px 0; |
| 236 padding: 0.2em 1em; |
| 237 } |
| 238 h1 { |
| 239 font-size: 24px; |
| 240 } |
| 241 } |
| 242 |
| 243 @media screen and (max-width: 550px) { |
| 244 button:active { |
| 245 background-color: darkRed; |
| 246 } |
| 247 h1 { |
| 248 font-size: 22px; |
| 249 } |
| 250 } |
| 251 |
| 252 @media screen and (max-width: 450px) { |
| 253 h1 { |
| 254 font-size: 20px; |
| 255 } |
| 256 } |
| 257 |
| 258 |
OLD | NEW |