...
 
Commits (1)
  • Dan Allen's avatar
    update styles for sidebar block · cd5dc115
    Dan Allen authored
    - move background and padding to container div
    - only apply title styles to title for sidebar
    - change background to something more neutral
    - apply semi-bold weight to sidebar title
    - add hack to prevent margin of first child from being collapsed
    cd5dc115
......@@ -419,19 +419,25 @@
margin-top: 0;
}
.doc .sidebarblock .title {
/* color: #4a4a4a; */
.doc .sidebarblock {
background-color: #e1e1e1;
padding: 0.25rem 1.5rem 1rem;
}
.doc .sidebarblock > .content {
/* trick to prevent top margin on first child from being collapsed */
margin-top: -0.25rem;
}
.doc .sidebarblock > .content > .title {
color: #191919;
font-size: 1.2rem;
font-weight: 500;
line-height: 1.3;
margin: 0.75rem 0 -0.25rem;
text-align: center;
}
.doc .sidebarblock > .content {
background-color: #adafa5;
padding: 0.75rem 1.6rem;
}
/* NEEDS REVIEW prevent pre in table from causing article to exceed bounds */
.doc .tableblock pre,
.doc .listingblock.wrap pre {
......