mirror of
https://github.com/jambonz/next-static-site.git
synced 2026-10-16 08:24:21 +00:00
* Adding latest news and banners * Adding first draft of cypress specs and github actions workflow * Adding sticky position for top banner * Tweak styles for new latest news section * Tweak styles for text__layout innerHTML * Fix Cypress homepage test spec * Fix mobile navi z-index with sticky top banner * Fix sticky banner z-index bug with mobile navi * Refactor markdown tools to support pages beyond developer docs * Adjust TADHACK text max-widths for small mobile * initial changes for open source copy * more copy * more copy * updated open source structure * minor * typo * more copy * Adjust styles for Open Source markdown small text * Update readme and remove floats from docs webhooks markdown * Add readme notes on Cypress and flesh out navi spec tests * Fix main navi highlight when on sub-sections of markdown pages Co-authored-by: Dave Horton <daveh@beachdognet.com>
71 lines
1011 B
SCSS
71 lines
1011 B
SCSS
.markdown {
|
|
padding-top: 64px;
|
|
padding-bottom: 96px;
|
|
|
|
@media (max-width: $width-tablet-1) {
|
|
padding-top: 16px;
|
|
padding-bottom: 64px;
|
|
}
|
|
|
|
&__wrap {
|
|
display: flex;
|
|
|
|
@media (max-width: $width-tablet-1) {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
&__navi {
|
|
max-width: 224px;
|
|
width: 100%;
|
|
margin-right: 16px;
|
|
|
|
@media (max-width: $width-tablet-1) {
|
|
max-width: 100%;
|
|
margin: 0 0 48px;
|
|
}
|
|
}
|
|
|
|
&__item {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
&__label {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
|
|
svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
stroke: $jambonz;
|
|
margin-right: 8px;
|
|
transform: translateY(-2px) translateX(-2px);
|
|
}
|
|
}
|
|
|
|
&__sublist {
|
|
padding-left: 28px;
|
|
display: none;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
&__subitem {
|
|
margin-bottom: 8px;
|
|
|
|
&:first-child {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
a {
|
|
line-height: 1.5;
|
|
|
|
&.active {
|
|
@include font-bold();
|
|
}
|
|
}
|
|
}
|
|
} |