Commit cd5dc115 authored by Dan Allen's avatar Dan Allen

update styles for sidebar block

- 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
parent ba61f99e
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment