Преглед изворни кода

feature over full width

bugfix/microsites
Florian Eisenmenger пре 2 година
родитељ
комит
5387622b87
1 измењених фајлова са 20 додато и 0 уклоњено
  1. +20
    -0
      gfi-ihk-2024/stories/sections/feature/feature.scss

+ 20
- 0
gfi-ihk-2024/stories/sections/feature/feature.scss Прегледај датотеку

@@ -9,6 +9,26 @@
padding: var(--section-padding) 0; padding: var(--section-padding) 0;
border-bottom: var(--border-width) solid var(--theme-color-secondary); border-bottom: var(--border-width) solid var(--theme-color-secondary);
margin: var(--section-margin) auto; margin: var(--section-margin) auto;
position: relative;

&:after {
content: "";
background: var(--theme-color-primary);
border-bottom: var(--border-width) solid var(--theme-color-secondary);
position: absolute;
left: 50%;
top: 0;
width: 100vw;
height: calc(100% + var(--border-width));
margin: 0 -50vw;
z-index: -1;
}
.has-sidebar & {
padding: var(--section-padding);
&:after {
display: none;
}
}


h2 { h2 {
margin-bottom: 0.4em; margin-bottom: 0.4em;


Loading…
Откажи
Сачувај