ulovliglogning.dk/_scss/module/_sections.scss

113 lines
1.9 KiB
SCSS
Raw Normal View History

2018-01-26 14:52:53 +00:00
section {
position: relative;
2018-02-11 20:07:04 +00:00
padding-top: 5rem;
2018-01-26 14:52:53 +00:00
padding-bottom: 3rem;
box-sizing: border-box;
min-height: 100vh;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
background-size: 100% 30px;
background-repeat: no-repeat;
background-position: bottom;
background-color: $background-primary;
background-image: linear-gradient(
to left bottom,
$background-primary 49%,
$background-alternative 50%
);
&:nth-of-type(even) {
background-color: $background-alternative;
background-image: linear-gradient(
to left bottom,
$background-alternative 49%,
$background-primary 50%
);
}
&:last-of-type {
background-image: none;
}
.content {
box-sizing: border-box;
padding-left: 2rem;
padding-right: 2rem;
}
.paragraphs {
word-break: break-word;
2024-09-04 19:34:01 +00:00
max-width:600px;
2024-09-04 20:17:58 +00:00
padding-bottom: 10rem;
}
2018-01-26 14:52:53 +00:00
2024-09-04 20:17:58 +00:00
blockquote{
padding-left: 1em;
font-style: italic;
background-color: rgba(130, 43, 0, 0.99);
padding: 1em 1em 0.2em 1em;
margin-bottom: 1em;
}
blockquote .signatur{
font-style: normal;
font-weight: 700;
margin-top:1em;
text-align:right;
}
2018-04-09 18:27:31 +00:00
.heading {
h1 {
word-break: break-word;
}
img {
max-width: 100%;
display: block;
margin: 0 auto;
}
}
2018-01-26 14:52:53 +00:00
p {
max-width: 40rem;
}
2018-02-11 20:07:04 +00:00
& > p {
text-align: center;
padding: 2rem 1.5rem;
color: $background-alternative;
a {
color: $background-alternative;
}
}
2018-01-26 14:52:53 +00:00
@include media-breakpoint-up(sm) {
padding: 4rem 0;
.content {
display: flex;
align-items: flex-start;
padding: 0 2rem;
}
.paragraphs {
padding-left: 2rem;
2024-09-04 19:34:01 +00:00
max-width: auto;
2018-01-26 14:52:53 +00:00
}
2018-04-09 18:27:31 +00:00
.heading {
2018-01-26 14:52:53 +00:00
width: 22rem;
text-align: right;
align-items: baseline;
flex-direction:column;
2018-04-09 18:27:31 +00:00
img {
max-width: 100%;
display: block;
margin: 0 auto;
}
2018-01-26 14:52:53 +00:00
}
}
}