Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added frontend/src/assets/Designer (2).jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/Designer (3).jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/Designer (4).jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 68 additions & 15 deletions frontend/src/pages/Techniques/TechniqueDetailed.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,74 @@
.technique-background {
margin: -32px;
padding: 32px;

.technique-detailed-top::before {
content: "";

position: absolute;
inset: 0;

background: linear-gradient(
to bottom,
rgba(0, 0, 0, 0.45) 0%,
rgba(0, 0, 0, 0.20) 40%,
rgba(0, 0, 0, 0.10) 70%,
#001819 100%
);

z-index: 0;
}

.technique-detailed-top {
position: relative;

display: grid;
grid-template-columns: 2fr 1fr;
gap: 24px;

width: calc(100% + 168px);

margin-top: -68px;
margin-left: -84px;
margin-right: -84px;
border-radius: 0 0 16px 16px;

background-image: url("../../assets/deltaworks-earth-7641871.jpg");
background-size: cover;
background-position: center;

padding: 64px 69px;

/* viser toppen av bildet */
background-position: center top;

background-repeat: no-repeat;
}

.technique-detailed-top > * {
position: relative;
z-index: 1;
}

/* Tablet */
@media (max-width: 1200px) {
.technique-detailed-top {
margin-left: -20px;
margin-right: -20px;

width: calc(100% + 40px);

padding: 32px;
}
}

/* Mobil */
@media (max-width: 768px) {
.technique-detailed-top {
width: 100%;

margin-left: 0;
margin-right: 0;

padding: 24px;

grid-template-columns: 1fr;
}
}

.technique-detailed-page {
Expand All @@ -21,16 +83,6 @@
width: min(1400px, calc(100% - 64px));
}

.technique-detailed-top {
position: relative;

display: grid;
grid-template-columns: 2fr 1fr;
gap: 24px;

overflow: hidden;
}

.technique-detailed-tags {
display: flex;
gap: 12px;
Expand All @@ -42,6 +94,7 @@


.technique-description {
margin-top: -24px;
width: 100%;
}

Expand Down