ngoctuanai commited on
Commit
e156eee
·
verified ·
1 Parent(s): 815405f

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +14 -39
index.html CHANGED
@@ -8,10 +8,11 @@
8
  <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
9
  <title>Welcome to My AI Projects</title>
10
  <style>
11
- body {
12
- font-family: 'Roboto', sans-serif;
13
  margin: 0;
14
  padding: 0;
 
15
  background-color: #f0f0f0;
16
  }
17
  .header {
@@ -27,36 +28,16 @@
27
  .container {
28
  max-width: 1100px;
29
  margin: auto;
30
- padding: auto;
31
- }
32
- .card {
33
- border-radius: 15px;
34
- margin-bottom: 20px;
35
- border: none;
36
- box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
37
- transition: all 0.3s ease;
38
- }
39
- .card:hover {
40
- box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
41
- transform: scale(1.03);
42
- }
43
- .card .btn {
44
- border-radius: 15px;
45
- background-color: #007bff;
46
- color: white;
47
- transition: all 0.3s ease;
48
- }
49
- .card .btn:hover {
50
- box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
51
- background-color: #0056b3;
52
  }
53
- .tab-pane {
54
- height: auto;
55
- overflow: auto;
56
  }
57
  .tab-pane iframe {
58
- width: 100%;
59
- height: 100%;
 
60
  }
61
  footer {
62
  background-color: #343a40;
@@ -72,7 +53,7 @@
72
  transition: opacity 0.5s ease-in-out;
73
  }
74
  footer:hover {
75
- opacity: 1;
76
  }
77
  </style>
78
  </head>
@@ -94,16 +75,10 @@
94
  </ul>
95
  <div class="tab-content" id="myTabContent">
96
  <div class="tab-pane fade show active" id="ai-chat" role="tabpanel" aria-labelledby="ai-chat-tab">
97
- <iframe src="ai-chat.html" frameborder="0" style="width:100%; height:100%;"></iframe>
98
  </div>
99
  <div class="tab-pane fade" id="ai-drawing" role="tabpanel" aria-labelledby="ai-drawing-tab">
100
-
101
- <div class="tab-content" id="myTabContent">
102
- <div class="tab-pane fade show active" id="ai-drawing" role="tabpanel" aria-labelledby="ai-drawing-tab">
103
- <iframe src="ai-drawing.html" frameborder="0" style="width:100%; height:100%;"></iframe>
104
- </div>
105
- <div class="tab-pane fade" id="ai-drawing" role="tabpanel" aria-labelledby="ai-drawing-tab">
106
-
107
  </div>
108
  </div>
109
  </div>
@@ -116,4 +91,4 @@
116
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
117
  </body>
118
 
119
- </html>
 
8
  <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
9
  <title>Welcome to My AI Projects</title>
10
  <style>
11
+ html, body {
12
+ height: 100%;
13
  margin: 0;
14
  padding: 0;
15
+ font-family: 'Roboto', sans-serif;
16
  background-color: #f0f0f0;
17
  }
18
  .header {
 
28
  .container {
29
  max-width: 1100px;
30
  margin: auto;
31
+ padding: 0 15px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  }
33
+ .tab-content {
34
+ height: calc(100vh - 220px); /* trừ header + nav + margin */
35
+ overflow: hidden;
36
  }
37
  .tab-pane iframe {
38
+ width: 100%;
39
+ height: 100%;
40
+ border: none;
41
  }
42
  footer {
43
  background-color: #343a40;
 
53
  transition: opacity 0.5s ease-in-out;
54
  }
55
  footer:hover {
56
+ opacity: 1;
57
  }
58
  </style>
59
  </head>
 
75
  </ul>
76
  <div class="tab-content" id="myTabContent">
77
  <div class="tab-pane fade show active" id="ai-chat" role="tabpanel" aria-labelledby="ai-chat-tab">
78
+ <iframe src="ai-chat.html"></iframe>
79
  </div>
80
  <div class="tab-pane fade" id="ai-drawing" role="tabpanel" aria-labelledby="ai-drawing-tab">
81
+ <iframe src="ai-drawing.html"></iframe>
 
 
 
 
 
 
82
  </div>
83
  </div>
84
  </div>
 
91
  <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
92
  </body>
93
 
94
+ </html>