Browse Source

move model-selector styles to index.css

Alex Cheema 1 năm trước cách đây
mục cha
commit
e68d06f4ef
2 tập tin đã thay đổi với 19 bổ sung21 xóa
  1. 19 0
      tinychat/examples/tinychat/index.css
  2. 0 21
      tinychat/examples/tinychat/index.html

+ 19 - 0
tinychat/examples/tinychat/index.css

@@ -291,3 +291,22 @@ p {
 .monospace {
   font-family: monospace;
 }
+
+.model-selector {
+  display: flex;
+  justify-content: center;
+  padding: 20px 0;
+}
+.model-selector select {
+  padding: 10px 20px;
+  font-size: 16px;
+  border: 1px solid #ccc;
+  border-radius: 5px;
+  background-color: #f8f8f8;
+  cursor: pointer;
+}
+.model-selector select:focus {
+  outline: none;
+  border-color: #007bff;
+  box-shadow: 0 0 0 2px rgba(0,123,255,.25);
+}

+ 0 - 21
tinychat/examples/tinychat/index.html

@@ -30,27 +30,6 @@
 
   <link rel="stylesheet" href="index.css">
   <link rel="stylesheet" href="common.css">
-
-  <style>
-    .model-selector {
-      display: flex;
-      justify-content: center;
-      padding: 20px 0;
-    }
-    .model-selector select {
-      padding: 10px 20px;
-      font-size: 16px;
-      border: 1px solid #ccc;
-      border-radius: 5px;
-      background-color: #f8f8f8;
-      cursor: pointer;
-    }
-    .model-selector select:focus {
-      outline: none;
-      border-color: #007bff;
-      box-shadow: 0 0 0 2px rgba(0,123,255,.25);
-    }
-  </style>
 </head>
 
 <body>