CS4610-FinalProject / FinalProject / src / App.css
App.css
Raw
#root {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  width: 100%; /* add this line */
}

body {
  background-color: #2e2e2e;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  display: flex;
  justify-content: flex-end;
}

ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin: 0 1rem;
}

a {
  text-decoration: none;
  color: white;
}

a:visited {
  color: gray;
}

a:hover {
  color: black;
}

#spotifyHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 1000; /* Optional: Set a high z-index value to ensure the header is on top of other elements */
}


/* Feed Div */

div.user-song {
  border: 5px solid #ccc;
  padding: 20px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

div.user-song {
  margin-top: 0;
  margin-bottom: auto;
}