Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

1.4 KB
Raw Blame
@use "_variables" as *;
@use "_mixins" as *;
@use "_form-mixins" as *;

.results-container {
  min-height: 40vh;
}

input[type="text"] {
  @include peertube-input-text(300px);
}

.channel {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid pvar(--input-border-color);
  min-height: 130px;
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metadata {
  display: flex;
  flex-direction: column;
  min-width: 1px;

  @include margin-right(auto);
}

.video-channel-names {
  width: fit-content;
  display: flex;
  align-items: baseline;
  color: pvar(--fg);

  @include disable-default-a-behaviour;
}

.display-name {
  font-weight: $font-semibold;

  @include font-size(18px);
}

.handle,
.followers,
.videos-info {
  @include font-size(14px);
}

.handle {
  color: pvar(--fg-300);
  margin-bottom: 0.5rem;
}

.followers {
  color: pvar(--fg);
}

.chart-container {
  flex: 1 1 auto;
  min-width: 240px;
  max-width: 600px;

  // Sync this value with the template
  height: 120px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 0.5rem;
}

@media screen and (max-width: $small-view) {
  .channel-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 1rem;
  }

  .metadata {
    align-items: center;

    @include margin-right(unset);
  }

  .buttons {
    text-align: center;
  }
}