Gitlab@Informatics

Skip to content
Snippets Groups Projects
Select Git revision
  • 8ba5a29d4e5bf57a2e9b39f2ceb20679f0aadef6
  • main default protected
2 results

styles.css

Blame
  • styles.css 3.08 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);
    }
    
    .login-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background-color: transparent;
      color: white;
      border: 2px solid white;
      padding: 10px 20px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    
    .login-btn:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }
    
    .login-btn i {
      font-size: 18px;
    }
    
    /* SEARCH BAR */
    form {
      display: inline-flex;
      margin-top: 10px;