Webbserver - Love Blomberg

Show sourcecode

The following files exists in this folder. Click to view.

public_html/gamla-kurser/webbutv1/projekt/projekt-framtidens-infrastruktur/css/

style.css

style.css

148 lines ASCII Windows (CRLF)
@import url('https://fonts.googleapis.com/css2?family=Jersey+20&family=Reddit+Mono:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Cousine%3A400&display=swap&ver=6.2.5');

:root {
  color-scheme: dark;
}

body {
  background-color: rgb(0, 0, 0);
  margin: 0;
}

p {
  font-family: 'Cousine', monospace;
  color: white;
  font-size: larger;
  padding: 2em;
  z-index: 10;
}

#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10;
  opacity: 50%;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 5%;
  margin-top: 5em;
}

.titel {
  font-family: 'Cousine', monospace;
  margin-right: 15%;
  margin-left: 15%;
  font-size: 4vw;
  margin-top: 8rem;
  color: white;
}

.under-titel {
  font-family: 'Cousine', monospace;
  margin-right: 15%;
  margin-left: 15%;
  font-size: 2vw;
  margin-top: 1rem;
  color: white;
}

.header {
  position: fixed;
  z-index: 100;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  width: 100%;
  top: 0;
}

.header a:hover {
  filter: invert(1);
  background-color: black;
}

.header-title {
  display: block;
  padding: 14px 16px;
  float: left;
  text-decoration: none;
  text-align: center;
  font-family: 'Jersey 20', sans-serif;
  font-size: 2rem;
  color: white;
  height: 100%;
  border-bottom-right-radius: 10px;
}

.header-tabs {
  display: flex;
  flex-direction: row;
  float: left;
}

.header-tabs a {
  float: left;
  font-family: 'Cousine', monospace;
  font-size: 1rem;
  margin-left: .5em;
  margin-right: .5em;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 5%;
  margin-right: 5%;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-radius: 12px;
  margin-top: 1em;
}

.card.active {
  transform: scale(1);
}

.card h2 {
  font-family: 'Cousine', monospace;
  color: white;
  font-size: 2em;
  margin-top: 2em;
  margin-bottom: 1em;
}

.card img {
  width: 70%;
  height: 20em;
  object-fit: cover;
  border-radius: 10px;
}

.card ul {
  font-family: 'Cousine', monospace;
  color: white;
  font-size: 1.5em;
  margin-top: 1em;
}