Skip to content

Instantly share code, notes, and snippets.

@bangpound
Created October 26, 2010 03:52
Show Gist options
  • Save bangpound/646275 to your computer and use it in GitHub Desktop.
Save bangpound/646275 to your computer and use it in GitHub Desktop.
not advised.
@mixin content-section {
#content {
.section {
border: {
color: $regrettable_maroon;
style: solid;
width: 1px; }; }
.region-highlight {
.block {
margin: {
bottom: 0; };
padding: {
bottom: 1.5em; }; } } }
#content-area {
@include trailer(1); }
.region-highlight,
div.breadcrumb,
h1.title,
.region-content-top,
#content-area {
padding: {
left: 14px;
right: 14px; }; }
h1.title {
@include linear-gradient(color_stops(white, #cccccc), top);
color: $regrettable_maroon;
@include adjust-font-size-to(21px);
font-weight: bold; }
.region-content-top {
border: {
color: $regrettable_maroon;
style: solid; };
@include trailing-border(1px); } }
body.node-type-policy-brief {
#comments {
margin: 0; }
#content {
.section,
.region-highlight,
.breadcrumb,
h1.title,
div.tabs,
#content-area .node-type-policy-brief,
.region-content-bottom .block,
#comments {
border: {
color: $regrettable_maroon;
style: solid; }; }
.section {
border: {
top: {
width: 1px; };
bottom: {
width: 1px; }; }; }
.region-highlight,
.breadcrumb,
div.tabs,
h1.title {
border: {
left: {
width: 1px; };
right: {
width: 1px; }; }; }
.region-highlight {
.block {
margin: {
bottom: 0; };
padding: {
bottom: 1.5em; }; } }
#content-area .node-type-policy-brief,
#comments {
border: {
left: {
width: 1px; }; };
padding: {
// TODO: this is not the right way to make the border cross the top
// margin of the enclosed paragraphs.
top: 1px;
bottom: 1.5em; };
h2.title {
@include leading-border(1px, 1, 18px);
margin: {
top: 0; };
border: {
color: $regrettable_maroon;
style: solid; }; } }
.region-content-bottom {
.block {
border: {
left: {
width: 1px; };
right: {
width: 1px; }; }; } } }
#block-views-issue_description-block_1 {
h2.title {
// modernizr
@include regrettable-page-heading;
color: $regrettable_maroon;
font-weight: bold; }
.content {
padding: {
left: 14px;
right: 14px; }; } }
.breadcrumb,
h1.title,
#content-area .node-type-policy-brief,
#comments {
padding: {
left: 14px; }; }
#content {
h1.title {
@include regrettable-page-heading;
background: $regrettable_maroon;
color: white;
border: {
color: $regrettable_maroon;
left: {
style: solid;
width: 1px; };
right: {
style: solid;
width: 1px; }; }; } } }
@bangpound
Copy link
Author

You don't want to see what this compiles to…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment