Show sourcecode
The following files exists in this folder. Click to view.
public_html/gamla-kurser/webbutv1/projekt/projekt-framtidens-infrastruktur/css/
style.css
148 lines ASCII Windows (CRLF)
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
@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;
}