Closed cmc333333 closed 8 years ago
I wasn't super familiar with how ATF is supposed to look so here are a few things I noticed between this and the public version
table of contents is huge.
Also that line below is double thick. I think you may be able to remove
.subpart-heading {
border-top: 1px solid #d1d3d5;
}
to make it uniform (also I feel like there was an issue about this somewhere)
A similar issue affects more things on the second tab.
We must be overriding the template, which was modified in at the end of last week: eregs/regulations-site#408. I'll take a look!
@donjo actually, I'm not seeing these issues locally. Do you have latest -site
(pip install -r requirements.txt) and have you recompiled the frontend?
:facepalm: you're right, I forgot to re-compile when I was moving stuff around. I think it's all good to go.
We had be overriding whole LESS files, which is problematic as we modify -site. Since working on ATF, we've switched to a more layered approach, placing custom styles on top of the base set where it makes sense. This PR removes all of the copy-paste styles and moves custom styles into their own modules.
The strategy isn't perfect, as we relied on the order of inclusion in a few situations, but I've visually compared the modified CSS to the styles on demo.