<commit_before>/*
 * Special styles for changes introduced in WoltLab Suite 3.1 that
 * are not compatible with styles created for earlier versions.
 */
@include requireApiVersion(31) {
	.main {
		@include screen-lg {
			padding: 30px 0;
		}
	}

	// reduced margin-top
	.paginationTop {
		margin-top: 30px;
	}

	// sheet-like presentation of content containers
	.content > .section,
	.content > form,
	.sectionContainer {
		border: 1px solid $wcfContentContainerBorder;
		background-color: $wcfContentContainerBackground;
		padding: 20px;

		@include screen-sm-down {
			border-left-width: 0;
			border-right-width: 0;
			margin-left: -10px;
			margin-right: -10px;
			padding: 10px;
		}

		> .section:first-child {
			margin-top: 0;
		}

		.section {
			&:not(:first-child) {
				margin-top: 0;
			}

			& + .section {
				margin-top: 40px;
			}
		}
	}

	.content > .section + .sectionContainer,
	.content > form + .sectionContainer {
		margin-top: 40px;
	}

	.content > form {
		margin-top: 40px;
	}

	.contentHeader + .section,
	.contentHeader + form,
	.contentHeader + .sectionContainer {
		margin-top: 30px;
	}

	.content > .section .tabMenuContent > .section:first-child,
	.content > .section .tabMenuContent > form > .section:first-child {
		margin-top: 20px;
	}

	// borders used to visually separate lists from adjacent containers
	.content > .section {
		> .messageList {
			border-top-width: 0;

			@include screen-sm-down {
				&:first-child {
					margin-top: -11px;
				}
			}

			> :first-child {
				padding-top: 0;

				// 30px added to account for `padding-top: 0` above
				&.anchorFixedHeader:target {
					margin-top: -79px;

					&::after {
						height: 80px;
					}

					> .message {
						transform: translateY(79px);
					}<commit_msg>Fix the scroll offset when the first message is being targeted<commit_after>/*
 * Special styles for changes introduced in WoltLab Suite 3.1 that
 * are not compatible with styles created for earlier versions.
 */
@include requireApiVersion(31) {
	.main {
		@include screen-lg {
			padding: 30px 0;
		}
	}

	// reduced margin-top
	.paginationTop {
		margin-top: 30px;
	}

	// sheet-like presentation of content containers
	.content > .section,
	.content > form,
	.sectionContainer {
		border: 1px solid $wcfContentContainerBorder;
		background-color: $wcfContentContainerBackground;
		padding: 20px;

		@include screen-sm-down {
			border-left-width: 0;
			border-right-width: 0;
			margin-left: -10px;
			margin-right: -10px;
			padding: 10px;
		}

		> .section:first-child {
			margin-top: 0;
		}

		.section {
			&:not(:first-child) {
				margin-top: 0;
			}

			& + .section {
				margin-top: 40px;
			}
		}
	}

	.content > .section + .sectionContainer,
	.content > form + .sectionContainer {
		margin-top: 40px;
	}

	.content > form {
		margin-top: 40px;
	}

	.contentHeader + .section,
	.contentHeader + form,
	.contentHeader + .sectionContainer {
		margin-top: 30px;
	}

	.content > .section .tabMenuContent > .section:first-child,
	.content > .section .tabMenuContent > form > .section:first-child {
		margin-top: 20px;
	}

	// borders used to visually separate lists from adjacent containers
	.content > .section {
		> .messageList {
			border-top-width: 0;

			@include screen-sm-down {
				&:first-child {
					margin-top: -11px;
				}
			}

			> :first-child {
				padding-top: 0;

				// 30px added to account for `padding-top: 0` above
				&.anchorFixedHeader:target {
					margin-top: -79px;

					&::after {
						height: 80px;
					}

					> .message {
						transform: translateY(79px);
					}

					@include screen-xs {
						margin-top: -60px;

						&::after {
							height: 50px;
						}

						> .message {
							transform: translateY(49px);
						}
					}
{'fraction_non_alphanumeric': 0.1301095378039006, 'fraction_numerical': 0.02564787603526583, 'mean_word_length': 2.535410764872521, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 34, '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': '7380611', 'n_tokens_mistral': 1643, 'n_tokens_neox': 1275, 'n_words': 306}