Compare commits
5
Commits
68f57e05a9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91858a8a81 | ||
|
|
d475861f2a | ||
|
|
bdbcf3db8d | ||
|
|
c3e9d19c71 | ||
|
|
40885ea703 |
No files matched your search
+27
@@ -179,6 +179,33 @@ h1, h2, h3 {
|
|||||||
backdrop-filter: none;
|
backdrop-filter: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Portal narrows a card's padding on a small screen; the rule above is
|
||||||
|
unconditional and this sheet loads after portal's, so without this the
|
||||||
|
desktop padding survived onto a phone - 1.8rem of margin either side of
|
||||||
|
a 360px screen, a tenth of the width given to nothing. Same breakpoint
|
||||||
|
portal uses, so the two stay in step. */
|
||||||
|
@media (width <= 40rem) {
|
||||||
|
.alt-card {
|
||||||
|
padding: 1.4rem 1.35rem 1.45rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Portal's phone rule for .hero (3rem on top, 1.25rem either side) is
|
||||||
|
written after its .hero-slides reset and at the same specificity, so
|
||||||
|
on a phone it won: 36px of nothing above the wordmark, and the
|
||||||
|
slideshow pulled 15px in from both edges instead of bleeding to them.
|
||||||
|
The bar and the copy carry their own 1.5rem, so the frame needs none. */
|
||||||
|
.hero-slides {
|
||||||
|
padding: 0 0 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The plain hero (kontakt, takk) has no inner bar, so it keeps a side
|
||||||
|
inset - the bar's 1.5rem, so the wordmark lands on the same edge as
|
||||||
|
on the front page - and sits at the bar's height instead of 3rem down. */
|
||||||
|
.hero:not(.hero-slides) {
|
||||||
|
padding: 1rem 1.5rem 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.alt-card h2 {
|
.alt-card h2 {
|
||||||
font-size: 1.45rem;
|
font-size: 1.45rem;
|
||||||
margin: 0 0 0.35rem;
|
margin: 0 0 0.35rem;
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ slideshow:
|
|||||||
- image: images/bildeserie/14.webp
|
- image: images/bildeserie/14.webp
|
||||||
width: 1050
|
width: 1050
|
||||||
height: 1400
|
height: 1400
|
||||||
caption: Drenering og riktige rammer før kunstgressbanen legges mesterfullt ned helt uten gummikuler
|
caption: Drenering og riktige rammer før kunstgressbanen legges mesterfullt ned, helt uten gummikuler
|
||||||
- image: images/bildeserie/15.webp
|
- image: images/bildeserie/15.webp
|
||||||
width: 2098
|
width: 2098
|
||||||
height: 1400
|
height: 1400
|
||||||
@@ -104,7 +104,7 @@ slideshow:
|
|||||||
- image: images/bildeserie/23.webp
|
- image: images/bildeserie/23.webp
|
||||||
width: 2095
|
width: 2095
|
||||||
height: 1400
|
height: 1400
|
||||||
caption: Nytt kunstgress med varme på Fredrikstad stasjon.
|
caption: Nytt kunstgress med varme på Fredrikstad stadioen.
|
||||||
- image: images/bildeserie/24.webp
|
- image: images/bildeserie/24.webp
|
||||||
width: 1050
|
width: 1050
|
||||||
height: 1400
|
height: 1400
|
||||||
@@ -112,7 +112,7 @@ slideshow:
|
|||||||
- image: images/bildeserie/25.webp
|
- image: images/bildeserie/25.webp
|
||||||
width: 1487
|
width: 1487
|
||||||
height: 1400
|
height: 1400
|
||||||
caption: pH-test av borprøver i betong fra forskjellige dybder
|
caption: PH-test av borprøver i betong fra forskjellige dybder
|
||||||
alternatives:
|
alternatives:
|
||||||
- name: Få kartlagt byggets tilstand
|
- name: Få kartlagt byggets tilstand
|
||||||
description: >
|
description: >
|
||||||
|
|||||||
Reference in new issue
Block a user