Gitlab@Informatics

Skip to content
Snippets Groups Projects
Select Git revision
  • 550d82ae4ea4fd30d8635bf1222f11b630015f72
  • main default protected
2 results

tsconfig.build.tsbuildinfo

Blame
  • styles.css 2.42 KiB
    /* รีเซ็ตค่าเริ่มต้น */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Arial', sans-serif;
    }
    
    body {
      background-color: #f4f4f4;
      color: #333;
      line-height: 1.6;
    }
    
    /* HEADER */
    header {
      background: #0073e6;
      color: #fff;
      padding: 20px;
      text-align: center;
    }
    
    nav {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 10px;
    }
    
    nav a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      padding: 10px 15px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 5px;
      transition: 0.3s;
    }
    
    nav a:hover {
      background: rgba(255, 255, 255, 0.5);
    }
    
    .btn-login {
      margin-left: right; /* ปุ่ม Login จะไปอยู่ที่ขวาสุด */
      background-color: #4CAF50;
      color: white;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
    }
    
    .btn-login:hover {
      background-color: #45a049;
    }
    
    /* SEARCH BAR */
    form {
      display: inline-flex;
      margin-top: 10px;
    }
    
    input[type="text"] {
      padding: 8px;
      border: none;
      border-radius: 5px 0 0 5px;
      width: 200px;
    }