<commit_before>// *************************************
//
//   Candidate
//   -> 候選人欄
//
// *************************************

.candidate {
	position: relative;
	width: 300px;
	text-align: center;
	overflow: hidden;
	color: $candidate-color;
	font-size: $base-font-size;

	$id-height: 50px;
	$act-height: 64px;
	$name-height: 68px;
	$border-width: 1px;

	padding-right: 1px;
	padding-right: 1px;

	border: $border-width solid $candidate-border-color;
	border-right: 0;
	&:last-child { border-right: $border-width solid $candidate-border-color; }

	&.big {
		width: 500px;
	}

	> *,
	> * > * {
		position: relative;
		z-index: 10;
	}

	// 所有欄位基本佈局

	> * {
		display: block;
		margin-right: auto;
		margin-left: auto;
		width: 90%;
		border: $border-width solid $candidate-border-color;
		border-bottom: 0;
		border-right: 0;
		border-left: 0;
		@include transition-delay(0);
	}

	> *:first-child {
		border-top: 0;
	}

	// 編號欄位

	.id {
		height: $id-height;
		line-height: $id-height;
		font-size: 1.2em;
	}

	// 相片欄位

	.pic {
		height: calc(80vh - #{$id-height} - #{$act-height} - #{$name-height} - 60px);
		min-height: 100px;
		max-height: 400px;

		.img {
			position: absolute;
			top: 4px;
			bottom: 4px;
			right: 4px;
			left: 4px;
			background-repeat: no-repeat;
			background-position: center;
			background-size: contain;
		}

		.img:first-child {
			right: 50%;
			left: 4px;
			border-right: 1px solid rgba($candidate-border-color, .1);
		}

		.img:last-child {
			right: 4px;
			left: 50%;
		}

		.img:only-child {
			right: 4px;
			left: 4px;
			border-right: 0;
		}
	}

	// 姓名欄

	.name {
		height: $name-height;
		font-size: 1.7em;
		font-weight: 800;
		line-height: $name-height;
		@include text-shadow(0 0 10px rgba(255,255,255, .9));

		.many & {
			height: $name-height * .8;
			line-height: $name-height * .8;
		}

		> *:first-child {
			position: absolute;
			right: 50%;
			left: 0;
			border-right: 1px solid rgba(0,0,0, .1);
		}

		> *:last-child {
			position: absolute;
			right: 0;
			left: 50%;
		}
	}

	// 普通圈選欄

	.elect {
		z-index: 8;<commit_msg>增加正副候選人的標示<commit_after>// *************************************
//
//   Candidate
//   -> 候選人欄
//
// *************************************

.candidate {
	position: relative;
	width: 300px;
	text-align: center;
	overflow: hidden;
	color: $candidate-color;
	font-size: $base-font-size;

	$id-height: 50px;
	$act-height: 64px;
	$name-height: 68px;
	$border-width: 1px;

	padding-right: 1px;
	padding-right: 1px;

	border: $border-width solid $candidate-border-color;
	border-right: 0;
	&:last-child { border-right: $border-width solid $candidate-border-color; }

	&.big {
		width: 500px;
	}

	> *,
	> * > * {
		position: relative;
		z-index: 10;
	}

	// 所有欄位基本佈局

	> * {
		display: block;
		margin-right: auto;
		margin-left: auto;
		width: 90%;
		border: $border-width solid $candidate-border-color;
		border-bottom: 0;
		border-right: 0;
		border-left: 0;
		@include transition-delay(0);
	}

	> *:first-child {
		border-top: 0;
	}

	// 編號欄位

	.id {
		height: $id-height;
		line-height: $id-height;
		font-size: 1.2em;
	}

	// 相片欄位

	.pic {
		height: calc(80vh - #{$id-height} - #{$act-height} - #{$name-height} - 60px);
		min-height: 100px;
		max-height: 400px;

		.img {
			position: absolute;
			top: 4px;
			bottom: 4px;
			right: 4px;
			left: 4px;
			background-repeat: no-repeat;
			background-position: center;
			background-size: contain;
		}

		.img:first-child {
			right: 50%;
			left: 4px;
			border-right: 1px solid rgba($candidate-border-color, .1);
		}

		.img:last-child {
			right: 4px;
			left: 50%;
		}

		.img:only-child {
			right: 4px;
			left: 4px;
			border-right: 0;
		}
	}

	// 姓名欄

	.name {
		position: relative;
		height: $name-height;
		font-size: 1.7em;
		font-weight: 800;
		line-height: $name-height;
		overflow: hidden;
		@include text-shadow(0 0 10px rgba(255,255,255, .9));

		.many & {
			height: $name-height * .8;
			line-height: $name-height * .8;
		}

		> *::before {
			position: absolute;
			top: -5px;
			left: -5px;
			width: 40px;
			height: 40px;
			font-size: 28px;
			font-weight: 400;
			line-height: 40px;
			border-radius: 9999px;
			border: 1px solid $candidate-border-color;
			color: $candidate-border-color;
			opacity: .32;
		}

		> *:first-child {
			position: absolute;
			right: 50%;
			left: 0;
			// border-right: 1px solid rgba(0,0,0, .1);

			&::before {
				content: '正';
			}
		}

		> *:last-child {
			position: absolute;
			right: 0;
			left: 50%;

			&::before {
				content: '副';
			}
		}
	}

	// 普通圈選欄

	.elect {
		z-index: 8;
{'fraction_non_alphanumeric': 0.2033195020746888, 'fraction_numerical': 0.04149377593360996, 'mean_word_length': 2.6523125996810206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 20, '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': '4807692', 'n_tokens_mistral': 2370, 'n_tokens_neox': 1937, 'n_words': 386}