|
35 | 35 | const path_to_root = ""; |
36 | 36 | const default_light_theme = "light"; |
37 | 37 | const default_dark_theme = "navy"; |
38 | | - window.path_to_searchindex_js = "searchindex-7160240e.js"; |
| 38 | + window.path_to_searchindex_js = "searchindex-4a935368.js"; |
39 | 39 | </script> |
40 | 40 | <!-- Start loading toc.js asap --> |
41 | 41 | <script src="toc-8186ac84.js"></script> |
@@ -276,7 +276,7 @@ <h2 id="iii-特定の要素クラスのスタイル"><a class="header" href="#ii |
276 | 276 | <p><a href="./html/01_02_CSS_04.html">ここをクリック</a>してみましょう。</p> |
277 | 277 | <hr> |
278 | 278 | <h2 id="iv-特定の状態のスタイル"><a class="header" href="#iv-特定の状態のスタイル">IV. 特定の状態のスタイル</a></h2> |
279 | | -<p>Webページには「ふだんの状態」だけでなく、「マウスが乗ったとき」のような「特別な状態」があります。この特別な状態を <strong><ruby>疑似<rt>ぎじ</rt></ruby>(ぎじ)クラス</strong> と呼びます。</p> |
| 279 | +<p>Webページには「<ruby>普段<rt>ふだん</rt></ruby>の状態」だけでなく、「マウスが乗ったとき」のような「特別な状態」があります。この特別な状態を <strong><ruby>疑似<rt>ぎじ</rt></ruby>(ぎじ)クラス</strong> と呼びます。</p> |
280 | 280 | <p><strong>代表的な<ruby>疑似<rt>ぎじ</rt></ruby>クラス::hover</strong></p> |
281 | 281 | <p>最もよく使われるのが :hover(ホバー)です。これは「要素の上にマウスカーソルが乗ったとき」の状態を指します。</p> |
282 | 282 | <ul> |
@@ -370,6 +370,22 @@ <h2 id="vi-css基礎のまとめ"><a class="header" href="#vi-css基礎のまと |
370 | 370 | <template id=fa-play><span class=fa-svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--! Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. --><path d="M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"/></svg></span></template> |
371 | 371 | <template id=fa-clock-rotate-left><span class=fa-svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. --><path d="M75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75zm181 53c-13.3 0-24 10.7-24 24V256c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65V152c0-13.3-10.7-24-24-24z"/></svg></span></template> |
372 | 372 |
|
| 373 | + <!-- Livereload script (if served using the cli tool) --> |
| 374 | + <script> |
| 375 | + const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:'; |
| 376 | + const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload"; |
| 377 | + const socket = new WebSocket(wsAddress); |
| 378 | + socket.onmessage = function (event) { |
| 379 | + if (event.data === "reload") { |
| 380 | + socket.close(); |
| 381 | + location.reload(); |
| 382 | + } |
| 383 | + }; |
| 384 | + |
| 385 | + window.onbeforeunload = function() { |
| 386 | + socket.close(); |
| 387 | + } |
| 388 | + </script> |
373 | 389 |
|
374 | 390 |
|
375 | 391 | <script> |
|
0 commit comments