soiz1 commited on
Commit
1d5389d
·
verified ·
1 Parent(s): ef527e7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +21 -15
index.html CHANGED
@@ -10,14 +10,18 @@
10
  <link rel="icon" href="icon.png" type="image/png">
11
  <script src="https://cdn.jsdelivr.net/npm/video-frames@1/dist/videoframes.umd.min.js"></script>
12
  <style>
13
- body {
14
- display: flex;
15
- flex-direction: column;
16
- align-items: center;
17
- color: #00ffcc;
18
- font-family: "M PLUS Rounded 1c", monospace;
19
- overflow-x: hidden;
20
- }
 
 
 
 
21
 
22
  h1 {
23
  color: #00aaff;
@@ -523,13 +527,15 @@
523
  0% { opacity: 0.2; }
524
  100% { opacity: 0.8; }
525
  }
526
- .wave-container {
527
- position: fixed;
528
- width: 100%;
529
- height: 100%;
530
- z-index: -1;
531
- }
532
-
 
 
533
  /* グリッド線を最背面に */
534
  .grid-lines {
535
  position: absolute;
 
10
  <link rel="icon" href="icon.png" type="image/png">
11
  <script src="https://cdn.jsdelivr.net/npm/video-frames@1/dist/videoframes.umd.min.js"></script>
12
  <style>
13
+ body {
14
+ margin: 0;
15
+ padding: 0;
16
+ background-color: #0a192f;
17
+ color: #00ffcc;
18
+ font-family: "M PLUS Rounded 1c", monospace;
19
+ min-height: 100vh;
20
+ display: flex;
21
+ flex-direction: column;
22
+ align-items: center; /* 中央揃え */
23
+ width: 100%; /* 追加 */
24
+ }
25
 
26
  h1 {
27
  color: #00aaff;
 
527
  0% { opacity: 0.2; }
528
  100% { opacity: 0.8; }
529
  }
530
+ .wave-container {
531
+ position: fixed; /* absoluteからfixedに変更 */
532
+ top: 0;
533
+ left: 0;
534
+ width: 100vw; /* 100%から100vwに変更 */
535
+ height: 100vh; /* 100%から100vhに変更 */
536
+ z-index: -1; /* 背景として最背面に */
537
+ overflow: hidden; /* はみ出た部分を非表示 */
538
+ }
539
  /* グリッド線を最背面に */
540
  .grid-lines {
541
  position: absolute;