<commit_before>.widget {
	padding: ce(13px, 13px) cp(12px, 320px); 

	/* Make sure select elements fit in widgets */
	select {
		max-width: 100%;
	}

	.widget-title {
		font-weight: bold;
	}
}


/**
 * Sidebars
 */

/**
 * Sidebars
 */

.sidebar .widget {
	background-color: #e9e2dd;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
	margin-bottom: 1px;

	.widget-title {
		color: #514530;
		font-size: ce(16px, 13px);
	}
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}


/**
 * Footer Widget Areas
 */

footer[role="contentinfo"] {
	@extend .clear;

	background-color: #FFFFFF;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
	margin-bottom: ce(20px, 13px);

	@include bp(medium) {
		clear: both;

		.footer-widget-area {
			float: left;
			margin-right: cp(10px, 640px);
			width: cp(315px, 640px);

			@include rem(margin-bottom, 10px);

			&:nth-of-type(3) {
				clear: left;
			}

			&:nth-of-type(2), &:nth-of-type(4) {
				margin-right: 0;
			}
		}
	}

	@include bp(large) {
		.footer-widget-area {
			margin-right: cp(10px, 1024px);
			width: cp(248px, 1024px);

			&:nth-of-type(3) {
				clear: none;
			}

			&:last-of-type {
				margin-right: 0;
			}
		}
	}
}<commit_msg>moved sidebar stuff to _widgets, and adjusted the spacing<commit_after>/**
 * FOR DEVELOPMENT ONLY
 * Control display of right/secondary sidebar through CSS.
 * Not to be used for production.
 */

.sidebar-left .sidebar-secondary {
  @include bp(large) {
    display: none;
  }
}

.sidebar-right .sidebar-secondary {
  display: none;

  @include bp(large) {
    display: block;
  }
}


/**
 * Right and Left Sidebar Containers
 */

.sidebar-right {
  display: none;

  @include bp(large) {
    body.home & {
      display: block;
      float: right;
      margin-left: 3px;
      width: cp(242px, $context-large);
    }
  }
}

.sidebar-left {
  @include bp(medium) {
    float: left;
    width: cp(245px, $context-medium);
  }

  @include bp(large) {
    width: cp(390px, $context-large);

    body.home & {
      width: cp(242px, $context-large);
    }
  }
}

.sidebar-primary,
.sidebar-secondary {
  background-color: #E9E2DD;
  margin-bottom: 1px;
}


/**
 * Styling common to all widgets, whether
 * in the sidebars or the footer
 */

.widget {
  padding: ce(13px, 13px) cp(12px, 320px); 

  /* Make sure select elements fit in widgets */
  select {
    max-width: 100%;
  }

  .widget-title {
    font-weight: $os-bold;
  }
}


/**
 * Sidebar Widgets
 */

.sidebar .widget {
  border-bottom: 1px solid darken(#E9E2DD, 60%);

  &:last-of-type {
    border-bottom: none;
  }

  .widget-title {
    color: #514530;
    font-size: ce(16px, 13px);
  }
}

/* Search widget */
.widget_search .search-submit {
  display: none;
}


/**
 * Footer Widget Areas
 */

footer[role="contentinfo"] {
  @extend %clearfix;

  background-color: #FFFFFF;
  clear: both;

  .footer-widget-area {

    @include bp(medium) {

      float: left;
      margin: 0 cp(10px, $context-medium) ce(10px, 13px) 0;
      width: cp(315px, $context-medium);

      /* In the medium view, clear the third widget to the
         next row and unset the right margin for the second
         and fourth widgets */

      &:nth-of-type(3) {
        clear: left;
      }

      &:nth-of-type(2),
      &:nth-of-type(4) {
        margin-right: 0;
      }
    }

    @include bp(large) {

      /* In the large view, reset our right margin to be 10px in the
         large context, and reset the clearing on the third widget so
         that it floats against the second widget. */

      margin-right: cp(10px, $context-large);
      width: cp(248px, $context-large);

      &:nth-of-type(3) {
        clear: none;
      }

      &:last-of-type {
        margin-right: 0;
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.15284075753534276, 'fraction_numerical': 0.03841024273139504, 'mean_word_length': 2.3936651583710407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7042520', 'n_tokens_mistral': 1617, 'n_tokens_neox': 1404, 'n_words': 341}