Untitled

 avatar
user_0795081
plain_text
a year ago
5.3 kB
3
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>kolegij</title>
    <link rel="stylesheet" href="D:\Preuzimanja\django_projekt\django_projekt\projekt\projekt\css\kolegij.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/css/bootstrap.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;600&display=swap" rel="stylesheet">
</head>
<body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark navbar-custom">
        <img src="D:\Preuzimanja\django_projekt\django_projekt\projekt\static\pictures\FB_Algebra-logo.jpg" alt="Logo" height="40">
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
        aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse justify-content-between" id="navbarNav">
        <ul class="navbar-nav">
          <li class="nav-item">
            <a class="nav-link" href="/projekt/projekt/html/pocetna.html">Naslovna</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/projekt/projekt/html/kolegij.html">Kolegiji</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="/projekt/projekt/html/ja.html">Ja</a>
          </li>
        </ul>
      </div>
    </nav>
  <style>
    body {
      margin: 0;
      padding: 0;
      background-color: orange;
    }

    #black-section {
      height: 3cm;
      background-color: black;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
    }

    #algebra-container {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    #algebra-text {
      color: white;
      font-size: 20px;
    }

    .black-button {
      padding: 10px 15px;
      color: white;
      background-color: black;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 20px;
      font-weight: normal;
    }

    #orange-buttons {
      display: flex;
      align-items: center;
      gap: 3cm;
      padding: 20px;
      margin-left: 1cm;
    }

    .orange-button {
      padding: 10px 15px;
      color: white;
      font-family: 'Inter';
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      outline: none !important;
      box-shadow: none !important;
      background-color: #E27526;
      background-color: #E27526 !important;
      font-family: 'Inter';
      font-weight: 900;
      font-size: 30px;
      line-height: 54px;
      text-shadow: 0px 4px 15px #000000;
      margin-left: 100px;
    }

    .bubble-container {
      margin-top: 10px;
      margin-left: 1.5cm;
    }

    .bubble-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 10px;
    }

    .bubble {
      display: inline-block;
      padding: 10px 17px;
      border-radius: 40px;
      background-color: #c21b67;
      color: white;
      font-size: 25px;
      font-family: 'Inter';
      max-width: max-content;
      margin-right: 2cm;
    }

    .bubble-row .bubble:first-child {
      background-color: black;
    }
  </style>
</head>

  <div id="orange-buttons">
    <button class="orange-button" id="profesori-text">Profesori</button>
    <button class="orange-button" id="uredi-button">Uredi</button>
    <button class="orange-button" id="kolegiji-text">Kolegiji</button>
  </div>

  <div class="bubble-container">
    <div class="bubble-row">
      <span class="bubble">Pero Perić</span>
      <span class="bubble">Baze Podataka 1</span>
      <span class="bubble">Baze Podataka 2</span>
      <span class="bubble">Baze Podataka 3</span>
    </div>
    <div class="bubble-row">
      <span class="bubble">Marko Mandić</span>
      <span class="bubble">Matematika 1</span>
      <span class="bubble">Matematika 2</span>
    </div>
    <div class="bubble-row">
      <span class="bubble">Ana Anić</span>
      <span class="bubble">Programiranje 1</span>
      <span class="bubble">Programiranje 2</span>
      <span class="bubble">Napredno Programiranje</span>
    </div>
    <div class="bubble-row">
      <span class="bubble">Zoran Zorić</span>
      <span class="bubble">Web programiranje 1</span>
      <span class="bubble">Web programiranje 2</span>
      <span class="bubble">HTML 3</span>
    </div>
    <div class="bubble-row">
      <span class="bubble">Maja Majić</span>
      <span class="bubble">Engleski 1</span>
      <span class="bubble">Engleski 2</span>
      <span class="bubble">Engleski 3</span>
    </div>
  </div>

  <script>
    const buttonUredi = document.getElementById("uredi-button");
    buttonUredi.addEventListener("click", () => {
      buttonUredi.textContent = buttonUredi.textContent === "Uredi" ? "Spremi" : "Uredi";
    });
  </script>
</body>
</html>